Help with pympa
-
Hey,
I'm trying to read the data from the pipe of /run/mpa/tflite_data using python with pympa. Specifically, I need to get the bounding boxes and the classes and connect them to the correct image from /run/mpa/tflite.
I managed to read the images from /run/mpa/tflite with the pympa utilities but I don't know how to read the data (labels + class + some way to connect them to their proper image) from /run/mpa/tflite_data.Please let me know how to do so, and if i must write a .c script, please provide instructions, as I did see the hello-client/server examples but I don't understand how to read the object type of the /run/mpa/tflite_data stream (called ai_detection_t).
Thanks,
Itzik. -
Hey,
I'm trying to read the data from the pipe of /run/mpa/tflite_data using python with pympa. Specifically, I need to get the bounding boxes and the classes and connect them to the correct image from /run/mpa/tflite.
I managed to read the images from /run/mpa/tflite with the pympa utilities but I don't know how to read the data (labels + class + some way to connect them to their proper image) from /run/mpa/tflite_data.Please let me know how to do so, and if i must write a .c script, please provide instructions, as I did see the hello-client/server examples but I don't understand how to read the object type of the /run/mpa/tflite_data stream (called ai_detection_t).
Thanks,
Itzik.Hello @itzikwds,
Sorry for the delay. We can extend pympa to support the ai_detection class.
Here is as example of an application that receives the detection data : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/blob/dev/tools/voxl-inspect-detections.c
However, since you need this in python, pympa would need to be extended to support the detection data.
Can you please confirm that you still need this functionality or did you find another solution?
Alex
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login