Is there any example of how to use Picamera2 to capture images and run object detection or object tracking?
It seems very poorly customizable with the Raspberry Pi example using GStreamer, and it is also problematic to set or control camera settings more precisely.
I’m currently exploring the capabilities of Picamera2 with Raspberry Pi to enhance real-time control over camera settings and integrate both object detection and tracking more effectively. I’ve found the existing examples using GStreamer on the Raspberry Pi to be complex, especially when trying to manage precise camera controls and extract object tracking IDs during streaming. There aren’t many direct examples or documentation available for this setup.
Could anyone share if there are updates planned for Picamera2 that might address these issues? What’s the expected timeline for such features—are we looking at weeks, months, or more? I’m particularly interested in easier customization options for real-time adjustments and efficient integration of object detection and tracking, specifically tailored for Raspberry Pi cameras. Any advice or pointers to examples would be greatly appreciated!
Hi picamera2 examples will be released soon (few weeks).
I don’t like the Gstreamer element for libcamera as well and would like to switch to picamera source as well. It’s output will be pushed to the Gstreamer pipeline using appsrc. It’s easy to add tracking to our detection example. We have a dedicated tracker.