models icon indicating copy to clipboard operation
models copied to clipboard

Is is possible to find the position of detected object?

Open ManojPabani opened this issue 9 years ago • 6 comments

Is is possible to find the position of detected object?For example if my given image has 2 object it it which have been detected the how can i get the position of those object in my image?

ManojPabani avatar Jul 11 '17 05:07 ManojPabani

Hi @ManojPabani - The jupyter notebook contains a good example of this: https://github.com/tensorflow/models/blob/master/object_detection/object_detection_tutorial.ipynb Does this help?

jch1 avatar Jul 11 '17 06:07 jch1

Are you pointing the boxes variable?

ManojPabani avatar Jul 11 '17 07:07 ManojPabani

@ManojPabani I just print boxes[0] and it gives me [ymin,xmin,ymax,xmax].( I suppose that the first index correspond the highest score)

chenyuZha avatar Jul 11 '17 09:07 chenyuZha

I'll try it.

ManojPabani avatar Jul 11 '17 11:07 ManojPabani

For android , can i get x y position of detected objects ? i am using ".so" libraries in android !!!

Androdi's sample code for Object Detection is very complex to understand !!

jlahare avatar Jul 12 '18 10:07 jlahare

Please try this updated set of instructions: https://medium.com/tensorflow/training-and-serving-a-realtime-mobile-object-detector-in-30-minutes-with-cloud-tpus-b78971cf1193

achowdhery avatar Jul 17 '18 00:07 achowdhery