ArduCAM / RaspberryPi

This is Arducam camera demos used on Raspberry Pi paltform
BSD 3-Clause "New" or "Revised" License
163 stars 97 forks source link

64bit Pi incompatibility issues for motorized focus code, please offer a pure opencv version #49

Open Bukkster opened 3 years ago

Bukkster commented 3 years ago

Hi, could you provide a version of your Motorized focus Camera code that solely uses opencv? Raspistill and raspivid don't work with 64bit RPiOS, and pip3 install picamera fails because pip never finds a compatible version. Your python code is already using cv2, so I can't imagine making a slightly different version using opencv commands should be challenging. If anyone is interested, you can use this in python to take in and display the camera snapshots: `cap = cv2.VideoCapture(0) ret, frame = cap.read() cv2.imshow('preview',frame)'

There are also some other tools that you could use to handle converting things into raw RGB images like they do in Autofocus.py.

I don't know about the C/C++ side of things though...

I'm currently running my raspberry pi 4 (8gb) with Debian buster 64bit RPiOS (aarch64 architecture) with Deep learning toolkits from Qengineering

surak commented 2 years ago

This seems to be fixed, I don't have this problem of raspistil at all.