Hi, I’ve been trying to find a way to use a Pi H-Q camera (IMX477) with the tiling application, and it works at 1920 by 1080, but I can’t make it (or other pi camera, for that matter) work at higher resolutions, which would seem to be highly desirable for tiling. I don’t have a 4K webcam, nor would I really want to use one. It appears that there are Gstreamer elements like rpicamsrc and libcamerasrc that might help somehow, but they were not installed as part of the Hailo installation, and I am unsure whether I can install them so as to work with the Hailo Gstreamer elements. Am I missing something that is obvious to a knowledgeable person? Thanks.
Hi you definitely can.
- Use --input rpi (Picamera2 → appsrc path) and pass --width 3840 --height 2160 (or up to the IMX477’s 4056×3040).
Those flags set self.video_width/height (gstreamer_app.py:333-336), which Picamera2 uses to configure the sensor. They aren’t capped.
Caveat: at 4K the per-frame cvtColor → tobytes → push-buffer in picamera_thread (gstreamer_app.py:897-902) is CPU-heavy; expect lower fps and my suggestion is to use the framerate flag to limit the FPS to a working work point rather than pushing more than what the pipeline can support. this will lead to drops or get the pipeline stuck.