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

IMX519 autofocus in streamer mode #243

Closed
vigoral opened this issue Feb 22, 2024 · 3 comments
Closed

IMX519 autofocus in streamer mode #243

vigoral opened this issue Feb 22, 2024 · 3 comments

Comments

@vigoral
Copy link

vigoral commented Feb 22, 2024

Is your feature request related to a problem? Please describe

I have ras pi 4 and klipper with moonraker and fluid
Also I have camera module connected via CSI to ras pi (https://www.waveshare.com/wiki/IMX519-78_16MP_AF_Camera)
I did not find how to configure autofocus for this camera
My conf file:
`[crowsnest]
log_path: /home/ihvor/printer_data/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
no_proxy: false

[cam 1]
mode: camera-streamer
enable_rtsp: false
rtsp_port: 8554
port: 8080
device: /base/soc/i2c0mux/i2c@1/imx519@1a
resolution: 1920x1080
max_fps: 60`

I saw that it is possible to use autofocus by libcamera but I did not find solution how to do it myself

Describe the solution you'd like

add new param in 'cam' section and if it is using libcamera then use solution from link https://www.waveshare.com/wiki/IMX519-78_16MP_AF_Camera

Describe alternatives you've considered

No response

Additional information

No response

@vigoral vigoral added the feature request feature request label Feb 22, 2024
@mryel00 mryel00 added not an Issue and removed feature request feature request labels Feb 22, 2024
Copy link

Ahoi!

It looks like this ticket is a request for help (or similar).
Many helpful people will not see your message here and you are
unlikely to get a useful response.

We use the Github Issue-Tracker only for development related
topics, like feature requests, bug reports etc. To get help,
please join our Discord-Server or ask in Github Discussions:

This ticket will be automatically closed.

Fair wind and a following sea!
~ Your friendly MainsailGithubBot

PS: I'm just an automated script, not a real sailor.

@mryel00
Copy link
Member

mryel00 commented Feb 22, 2024

@mryel00
Copy link
Member

mryel00 commented Feb 22, 2024

I should also mention #240 and here is a small example:

v4l2ctl: afmode=0, lensposition=4.5

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

No branches or pull requests

2 participants