mediapipe
mediapipe copied to clipboard
Error in detection.location_data
Hi
I am trying to get bounding box of the pose estimate using draw_detection function given in drawing_utils.py but I am getting error in location_data.
Error is - "AttributeError: 'google.protobuf.pyext._message.FieldProperty' object has no attribute 'format'"
detection = detection_pb2.Detection giving me this error. I am not sure what input draw_detection needs for detection parameter. Please hep me understand
Hi @omkarmohanjoshi , Please see this for drawing the bounding box https://github.com/google/mediapipe/blob/master/mediapipe/python/solutions/drawing_utils.py#:~:text=def%20draw_detection(,color%2C%20bbox_drawing_spec.thickness)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
Closing as stale. Please reopen if you'd like to work on this further.