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

Consider testing with the Arducam 12MP IMX477 with autofocus #13

Open
geerlingguy opened this issue Nov 29, 2020 · 1 comment
Open

Consider testing with the Arducam 12MP IMX477 with autofocus #13

geerlingguy opened this issue Nov 29, 2020 · 1 comment
Labels

Comments

@geerlingguy
Copy link
Owner

Not quite sure how I would be able to get the pipeline to work just glancing at the example Python code (https://github.com/ArduCAM/RaspberryPi/blob/master/Motorized_Focus_Camera/Autofocus.py), but Riding Nerdy on YouTube mentioned that camera has a built-in AF motor that is software-controlled.

Would need to use something like OpenCV + a contrast-detect algorithm to lock focus. It's not going to compete with a mirrorless camera, but it would be interesting to see if it could be used as a webcam with autofocus—total price of the unit is a slight bit more than the HQ camera + 6mm lens, but not by much.

@dryphi
Copy link

dryphi commented Dec 4, 2020

It looks like many of the ArduCam products have autofocus:
https://www.arducam.com/product-category/cameras-for-raspberrypi/raspberry-pi-camera-raspistill-raspvivid/?filter_focus-type=auto

There's also an explanation of the types of focus as well as an overview about enabling the motor and autofocus with some Python code and OpenCV, respectively.
https://www.arducam.com/raspberry-pi-camera/autofocus/

You could use this one for instance which is cheaper although no lens (which some might prefer):
https://www.arducam.com/product/raspberry-pi-camera-5mp-autofocus-motorized-focus-camera-b0176/
Personally I'd rather use a $15 CCM versus an ~$90 module with a lens. Coding will probably be easier too.

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

No branches or pull requests

2 participants