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

Source: https://forum.modalai.com/topic/4995/publish-a-set-of-png-images-to-camera-pipe-and-inject-it-into-voxl-tflite-server
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Posted: 2026-01-20 17:39:02 UTC by arcj
Replies: 1 · Views: 1488

## arcj · 2026-01-20 17:39:02 UTC

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.

## Reply by Moderator (ModalAI staff) · 2026-01-20 18:15:16 UTC

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