Publish a set of PNG images to camera pipe and inject it into voxl-tflite-server
-
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.
-
You can find the source code here: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-logger/-/blob/master/tools/voxl-replay.cpp
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