Thank you for the interest in OpenCV! All images are done using TensorBoard.Ĭonversion working but wrong cca lower accurency 20% down output from C++ opencv :-( Inp = np.random.standard_normal().astype(np.float32) Net = cv.dnn.readNetFromTensorflow('final_graph.pb') transforms="remove_nodes(op=PlaceholderWithDefault) strip_unused_nodes(type=float, shape=\"1,299,299,3\") sort_by_execution_order" Then remove PlaceholderWithDefault node and preprocessing subgraph by ~/tensorflow/bazel-bin/tensorflow/tools/graph_transforms/transform_graph \ Call optimize_for_inference.py tool to remove an Identity nodes, some training-only nodes, make some fusion (conv+bn): python ~/tensorflow/tensorflow/python/tools/optimize_for_inference.py \ Let's retrained graph is called graph.pb. "tensorflow\tf_importer.cpp:447: error: (-2) Input layer not found: conv/batchnorm in function cv::dnn::experimental_dnn_v1::`anonymous-namespace'::TFImporter::connect" ".tensorflow\tf_importer.cpp:465: error: (-2) More than one input is Const op in function cv::dnn::experimental_dnn_v1::`anonymous-namespace'::TFImporter::getConstBlob" When i try to load those graphs in OpenCV it throws the following errors: The script does not create any Checkpoints so i can't freeze the graph (is it Frozen and can ich check this?)īut i used the optimize_for_intereference to remove jpeg decoding. The resulting graph can be used in Tensorflow, but it fails to load in Opencv (Python, OpencCv 3.3, Win 7 64 ). I trained two models with it (one mobile the other just a normal one) įor testing purposes i used the retrain script delivered with Tensorflow and expanded it (Inception V3) with the Flowers. You should be able to find the threads via a search.Īt a minimum, I would get a reflector and start trying to shape light to help bring your images to life.My plan is to train a CNN in Tensorflow and use it in a app that uses OpenCV3.3. There are some other similarly priced lighting kits that have been discussed on the board. You can use external flashes or you can get a couple of Alien Bee 400's. Keep up the practice! Also, I would look into getting some studio lights if you're planning on going further down the model shooting road. The focus is soft and the white balance is off, but I like the composition the best. This is probably my favorite from the set. I would try a slightly different approach, but it shows you're thinking about composition.ħ. The foot shadow should be removed and it appears she's really mashing her breasts. The shot has potential, but it's a bit off. It looks like you were trying to find something to use the technique as it doesn't really fit.Ħ. I think a reflector and getting some light on her would have helped with the exposure and giving some depth to the image.ĥ. Kind of bland, not a very interesting shot I'm sorry to say. Again, she's a beautiful girl, so you have lots to work with here!Ĥ. The shadows in the background aren't flattering IMHO. It's still missing something, and the composition isn't quite on target (like her chopped off left hand), but I like the concept. I'm a sucker for odd angles and different perspectives. This one is more interesting then the first two. You can make one yourself on the cheap, just use some white foam board available at any crafts store (like Michael's or Hobby Lobby).ģ. It would have helped to make her skin tones pop a little more and give some depth to the images. On all of these shots you could have benefited from a white reflector quite a bit. I don't like the blown highlight to the right as it doesn't transition well from the texture to the left to the solid white to the right. Great smile, but again a bit simple and not real exciting. You also are a little close to the wall as I get the feeling she's right up against it based on the subtle shadows to the left.Ģ. It's simple and casual, but nothing really exciting. Select an active focus point closer to the models eyes (or the focus point you're going after) and minimize your camera movement after locking focus.ġ. If you're using your center point, locking focus, then recomposing, with a wide aperture you're likely to cause a focus shift when you recompose. Also, if you're shooting at wide apertures, be very careful about which focus point you use. Watch your shutter speeds closely to make sure you're not getting motion blur. My whole outlook on my photography changed once I started getting into shooting models.Īs noted, the focus seems a little soft at times. I'm sure you'll find it just as rewarding and challenging as I do. Nice work, congrats on taking the plunge and getting into model photography.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |