Open MattTucker22689 opened 4 years ago
You should enable the i2c1 firstly.
run sudo raspi-config
I did. I finally got the error message to go away. But was still running into problems with it freezing.
I'm reimaging the SD and going to try again from scratch.
So... I have it sort of running. "init_camera.sh" works now. And it is depositing two images into the folder.
But when I try to run "4cam_cv2.py" or "4cam_cv3.py" I only get four "empty" squares.
I just bumped the GPU up to 256, and rebooted.
Running "4cam_cv2.py" I now get this error:
Running "4cam_cv3.py" I get this:
And just to check if maybe I was missing a package or anything I tried reinstalling openCV:
I tried running "4cam_1.py" and "4cam_2.py" using Python 3 but it gave me a formatting error.
So, after some digging... It appears the problem is with the version of OpenCV that installs now.
The current default appears to be OpenCV 3.2.0.
Which, apparently replaced cv2.cv with just cv2. (https://stackoverflow.com/questions/33177376/what-is-the-cv2-cv-replacement-in-opencv3/33199152)
But... when I made the replacement I instantly ran into a new problem...
Thoughts?
After a LOT of hunting around.... this is what I've found: https://github.com/skvark/opencv-python/issues/355
Thoughts????
@ArduCAM
So, I'm not 100% sure what's going on. "init_camera.sh" appears to "freeze." The readout that I'm getting is:
This is the point that it consistently stops at.
I'm using an RPi 4(4gig ram), a 7" touch screen, and two 8mp V2 cameras with your V2 MultiCam Adapter.
And when I run "4cam_cv3.py" it just gives me 4 "blank" squares.
Here are the two images that it's taken. As you can see, they appear identical which they shouldn't be
![capture_2](https://user-images.githubusercontent.com/8548202/81770208-3e106d00-94a5-11ea-9aa3-72c94a6672f1.jpg)