ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Publish a set of PNG images to camera pipe and inject it into voxl-tflite-server

    Software Development
    2
    2
    9
    Loading More Posts
    • 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.
    • A
      arcj
      last edited by

      My main goal is to test the voxl-tflite-server running on my custom trained object detection model. I want to replicate the exact real world scenario where the tflite server will be taking inputs from the voxl-camera-server's MPA pipe. Once way I found is via voxl-replay where I just replay a previously recorded log file and it publishes the PNG images to /run/mpa/cam0/ and my voxl-tflite-server will ingest it.

      Now, I want to publish a set of images to the camera's mpa pipe similar to how the voxl-replay does. But these set of images were not captured using the voxl-logger so I am basically copying these files into a log directory to make it appear as if it was captured using the voxl-logger. However, the voxl-replay keeps giving error "failed to read png at /dummy_log/run/mpa/cam0/00001.png". It gives such error for all the PNGs except the 00000.png. I am sure that the files are present and I also did $ chown $USER:$USER -R . to ensure there is no permissions issue.

      I was thinking about looking through the voxl-replay's source code to see what exactly I need to modify in order to make this dummy_log work seamlessly. Please share the voxl-replay's source code or give some alternate way to make this work.

      1 Reply Last reply Reply Quote 0
      • ModeratorM
        Moderator ModalAI Team
        last edited by

        You can find the source code here: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-logger/-/blob/master/tools/voxl-replay.cpp

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors