Page 1 of 1

OpenCv installing Troubleshooting

Posted: Sat Apr 18, 2020 10:49 pm
by dragon
I read your paper https://stereopi.com/blog/opencv-compar ... reo-vision and https://github.com/realizator/stereopi- ... -notice.md. I cannot install OpenCV without trouble. I get https://github.com/EdjeElectronics/Tens ... /issues/67 or other packages problems. I do it as written in your instruction.

Re: OpenCv installing Troubleshooting

Posted: Sun Apr 19, 2020 1:10 pm
by Realizator
"undefined symbol: __atomic_fetch_add8" error is known issue on RPi. You need top install a specific version of OpenCV.
For Open cv 3.x workaround is to use

Code: Select all

sudo pip3 install opencv-python==3.4.6.27
For OpenCV 4.x use this command:

Code: Select all

sudo pip3 install opencv-contrib-python==4.1.0.25
We will update our guide on Github, thank you!