How can I extract the output scores for objects , object class ,object id detected in images , generated by the Tensorflow Model for Object Detection ?
I want to store
It gives you the class with the highest score because output tensors are sorted from highest score to lowest and you are asking for the highest score by indexing to the first element [0].
Look at object_detection/inference/detection_inference for inspiration.
As for class names, you can use the label map to create a category index dictionary to translate class ids to names.