-
Notifications
You must be signed in to change notification settings - Fork 45
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
Example scripts force autofocus for all RPi camera types #23
Comments
Do what it says... AfMode not supported by this camera, please retry with 'auto-focus-mode=AfModeManual' Change auto-focus-mode=2 to auto-focus-mode=AfModeManual |
Forcing this setting to either |
OK. |
Hi, PI5 GS camera python basic_pipelines/pose_estimation.py --input rpi with: source_element = f"libcamerasrc name=src_0 auto-focus-mode=AfModeManual ! " # auto-focus-mode=2 AfModeManual source_element += f"video/x-raw, format={self.network_format}, width=1456, height=1088 ! " only COLORED STRIPES appear?! But: rpicam-vid -t 0 --post-process-file ~/rpicam-apps/assets/hailo_yolov8_pose.json --lores-width 640 --lores-height 640 --width 1456 --height 1088 is OK. Thanks |
Agreed width=1456, height=1088 ! Fails... width=1280 height=1088 ! also works , gives a slightly different field of view |
Hi, |
Hi,
it works!
Thank you very much
Ed
Gesendet: Dienstag, 16. Juli 2024 um 17:01 Uhr
Von: "Gordon999" ***@***.***>
An: "hailo-ai/hailo-rpi5-examples" ***@***.***>
Cc: "Eduk-Kurz" ***@***.***>, "Comment" ***@***.***>
Betreff: Re: [hailo-ai/hailo-rpi5-examples] Example scripts force autofocus for all RPi camera types (Issue #23)
Agreed width=1456, height=1088 ! Fails...
but width=1280, height=960 ! works. I don't know why !!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Using the example on a Raspberry Pi 5, with an old v1.3 camera , the scripts exits with an error. It's clear from the error message that the script forces auto focus on, while not all camera hardware supports this.
The text was updated successfully, but these errors were encountered: