voxl-streamer failing for tflite-overlay
-
I have reflashed the latest system image (3.3) and installed the voxl-suite during the process. I also left my /data folder as is during the process (not deleting). I'm able to get the streamer to work for other cameras (hires, qvio-overlay, stereo etc), but when I try to run the tflite overlay I get the following error.
yocto:~$ voxl-streamer -c tflite-overlay -d Using configuration tflite-overlay Enabling debug messages Using configuration file /etc/modalai/voxl-streamer.conf MPA interface chosen Input pipe name /run/mpa/tflite/ Output stream width 300 Output stream height 300 Output stream bitrate 1000000 Output stream rotation 0 Output frame decimator 2 No image overlay specified Camera server Connected ERROR: Frame size mismatch 921600 307200 ERROR: Timeout on input parameter initializationI had this working before the latest updates, but checking out older versions of both the tflite and streamer services seem to throw the same errors.
-
Hi PawelJ, looks like there was a small bug in the tflite-server which made voxl-streamer expect an RGB output instead of grayscale. A fix will be available in version 0.1.1 which should be live on http://voxl-packages.modalai.com/ shortly.
-
Thanks for the quick reply. I've looked at the development in the tflite dev branch, and the changes in the patch that removes the
*3scaling for RGB images fixes the size mismatch. However, the streamer seems to get the first frame then freeze when looking at the tflite-overlay. Is there any eta when the version of dev will be updated? I do not need the asset packages as I have your pipeline setup for installing the git branches.Cheers
-
I tried the latest push to tflite master and it fixes the
size mismatcherror, but when I run the streamer I only get one frame and it never updates. This only happens when I try to connect to thetflite-overlay, the other streams work as expected. Are there any other packages that need to be updated? -
Hey PawelJ, voxl-streamer is unable to properly display the stream if the incoming framerate is too low. To fix this, edit the config file for voxl-tflite-server (lives here: /etc/modalai/voxl-tflite-server.conf) and change the skip_n_frames parameter to 0. This will increase the load on the CPU/GPU, but will fix the "frozen frame" issue with voxl-streamer.
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
