RaspberryPi icon indicating copy to clipboard operation
RaspberryPi copied to clipboard

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

Open Bukkster opened this issue 4 years ago • 1 comments

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

Bukkster avatar Apr 12 '21 15:04 Bukkster

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

surak avatar Aug 07 '22 15:08 surak