OpenCv installing Troubleshooting

OpenCV, Python and other image processing questions
Post Reply
dragon
Posts: 7
Joined: Mon Feb 17, 2020 1:32 pm

OpenCv installing Troubleshooting

Post 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.

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: OpenCv installing Troubleshooting

Post 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!
Eugene a.k.a. Realizator

Post Reply