I have an application that uses Framebuffer in order to display video data onto the entire screen from the command line, without having to log into a desktop environment. I am trying to create a handheld “AI Camera”. My camera application works, I am just having a hard time figuring out how to integrate the detection application features. Can gstreamer and framebuffer work together? Is gstreamer a desktop only type of app? I working in the Raspberry Pi 5 /Hailo-8 setup.
Hi @amp2913,
Welcome to the Hailo Community!
To start off, I’d like to mention that we have Hailo RPi examples running with GStreamer and the Python API on Raspberry Pi. For your question, yes, GStreamer can work alongside a frame buffer. You can explore the examples here:
Hailo RPi Examples Repository.
The repository includes a detection example that serves as a great starting point. From there, you can customize it to integrate the camera features you need and implement frame buffer output.
For GStreamer integration, here’s the pipeline you can use to run detection:
gst-launch-1.0 \
filesrc location=/path/to/video.mp4 ! decodebin ! videoconvert ! hailonet hef-path=/path/to/model.hef ! \
hailofilter so-path=/path/to/postprocess.so ! fbdevsink device=/dev/fb0
This setup should help you get started with your detection pipeline. Let me know if you need further assistance!