Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. VOXL SDK
  4. Help with pympa

Help with pympa

Scheduled Pinned Locked Moved VOXL SDK
2 Posts 2 Posters 432 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    itzikwds
    wrote on last edited by
    #1

    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.

    Alex KushleyevA 1 Reply Last reply
    0
    • I itzikwds

      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.

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0

      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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups