- Where did you get the camera module(s)?
Arducam - Model number of the product(s)?
Arducam 64MP Motorized Focus USB 3.0 Camera Module - What hardware/platform were you working on?
Windows - Instructions you have followed. (link/manual/etc.)
Link, softwares, manual - Problems you were having?
I can play with the focus on the software recommended and with the demo given. But I cannot use the autofocus function from openCV. I was wondering if you had an example with autofocus for this camera using python and openCV. As cap.set(cv2.CAP_PROP_AUTOFOCUS, 1) does not work, I guess that we need to make our own autofocus system using CV2. Do you have an example by any chance ? - The dmesg log from your hardware?
- Troubleshooting attempts you’ve made?
modify code and your arducam_demo.py - What help do you need?
A way of making cap.set(cv2.CAP_PROP_AUTOFOCUS, 1) work with this USB camera or a sample of code that make the camera use autofocus in python.
Hi,
The camera you purchased doesn’t support the autofocus function.
Hi. Thank you for the response.
Is there a way to control the focus manually via Python then ? I constantly have to jump in PotPlayer, manually adjust and apply the settings, and then resume work. Can I adjust the focus parameters directly via Python ?
Hi,
FYI.
Another question regarding he 64 MP cameras. I have both the CSI-2 Interface cameras that come with Ribbon Cables (Raspi compatible AutoFocus Cameras) and the USB UVC Manual Focus cameras. If I connect the CSI-2 Ribbon Cable cameras to a 4-camera CamArray Hat that has a USB-C connector pin, can I stream the synchronized camera feeds to my laptop as a webcam ? Mainly, I want to use the Arducam 64 MP Autofocus cameras (ribbon cable based) with my windows PC as a webcam.
The CSI-2 Ribbon Cable cameras cannot work with the 4-camera CamArray Hat due to clock signal management. The single camera modules generate their own clock signals, which conflicts with the CamArray Hat’s clock signal distribution system. The cameras designed for the CamArray Hat are specifically configured to receive clock signals from the Hat rather than generating their own.
Regarding PC connectivity:
- The CamArray Hat cannot directly connect to a PC because Windows lacks the necessary camera drivers to recognize and operate the device
- Single CSI-2 Ribbon Cable cameras and the CamArray Hat have different clock signal mechanisms
The good news is you can implement a streaming solution using a Raspberry Pi as an intermediary device. We have a working demo project that shows how to stream camera feeds to your Windows PC over your local network: GitHub - Dion4cen/flask-video-streaming: Supporting code for my article on video streaming with Flask.
This solution enables you to:
- Connect the compatible cameras to the Raspberry Pi
- Process the video streams
- Access the feeds from your Windows PC through a network connection