Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't work with HQ camera #68

Open
folkertvanheusden opened this issue Dec 6, 2024 · 1 comment
Open

doesn't work with HQ camera #68

folkertvanheusden opened this issue Dec 6, 2024 · 1 comment

Comments

@folkertvanheusden
Copy link

folkertvanheusden commented Dec 6, 2024

When running the version of:

Date:   Wed Nov 27 14:31:47 2024 +0200

I get:

Auto-detected Hailo architecture: hailo8l
libcamerasrc name=source ! video/x-raw, format=RGB, width=1536, height=864 !  queue name=source_scale_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! videoscale name=source_videoscale n-threads=2 ! queue name=source_convert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! videoconvert n-threads=3 name=source_convert qos=false ! video/x-raw, format=RGB, pixel-aspect-ratio=1/1 !  queue name=inference_scale_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! videoscale name=inference_videoscale n-threads=2 qos=false ! queue name=inference_convert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! video/x-raw, pixel-aspect-ratio=1/1 ! videoconvert name=inference_videoconvert n-threads=2 ! queue name=inference_hailonet_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! hailonet name=inference_hailonet hef-path=/home/folkert/hailo-rpi5-examples/basic_pipelines/../resources/yolov8s_h8l.hef batch-size=2 nms-score-threshold=0.3 nms-iou-threshold=0.45 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 force-writable=true ! queue name=inference_hailofilter_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! hailofilter name=inference_hailofilter so-path=/home/folkert/hailo-rpi5-examples/basic_pipelines/../resources/libyolo_hailortpp_postprocess.so   qos=false  ! queue name=identity_callback_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! identity name=identity_callback  ! queue name=hailo_display_hailooverlay_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! hailooverlay name=hailo_display_hailooverlay ! queue name=hailo_display_videoconvert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! videoconvert name=hailo_display_videoconvert n-threads=2 qos=false ! queue name=hailo_display_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0  ! fpsdisplaysink name=hailo_display video-sink=xvimagesink sync=false text-overlay=false signal-fps-measurements=true 
Showing FPS
[0:34:08.542798733] [2955]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2+99-1230f78d
[0:34:08.550083573] [2973]  INFO RPI pisp.cpp:695 libpisp version v1.0.7 28196ed6edcf 29-08-2024 (16:33:32)
[0:34:08.559353159] [2973]  INFO RPI pisp.cpp:1154 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx296@1a to CFE device /dev/media0 and ISP device /dev/media1 using PiSP variant BCM2712_C0
Error: gst-stream-error-quark: Internal data stream error. (1), ../src/gstreamer/gstlibcamerasrc.cpp(651): gst_libcamera_src_task_enter (): /GstPipeline:pipeline0/GstLibcameraSrc:source:
streaming stopped, reason not-negotiated (-4)
Shutting down... Hit Ctrl-C again to force quit.

This is on a RPI5 with 8 GB ram, up-to-date bookworm and q HQ camera.

I verified (using https://github.com/folkertvanheusden/constatus) that the camera works.

@giladnah
Copy link
Contributor

giladnah commented Dec 8, 2024

We will release soon a better integration with picamera2. Meanwhile it looks like the camera cannot support the requested resolution / format. try removing "video/x-raw, format=RGB, width=1536, height=864 !" or changing the resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants