TensorFlow-Object-Detection-on-the-Raspberry-Pi icon indicating copy to clipboard operation
TensorFlow-Object-Detection-on-the-Raspberry-Pi copied to clipboard

Issue With starting Project import cv2

Open peteronksley opened this issue 5 years ago • 3 comments
trafficstars

Hi Thank you for you tutorial

i am having a issue starting the project at python3 Object_detection_picamera.py --usbcam i get this message bellow which says cv2 is missing i tried looking for the missing files using ld and ls but nothing is missing

any ideas?

Traceback (most recent call last): File "Object_detection_picamera.py", line 23, in import cv2 File "/usr/local/lib/python3.7/dist-packages/cv2/init.py", line 3, in from .cv2 import * ImportError: /usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8

peteronksley avatar Apr 14 '20 12:04 peteronksley

have the same problem. with this command its still working LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3 Object_detection_picamera.py found in another post. Still seems to be just a workaround.

LutBit avatar Apr 28 '20 10:04 LutBit

helo facing issue while starting

this error is coming Traceback (most recent call last): File "Object_detection_picamera.py", line 23, in import cv2 File "/usr/local/lib/python3.7/dist-packages/cv2/init.py", line 3, in from .cv2 import * ImportError: /usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8

vivekjha832002 avatar May 25 '20 00:05 vivekjha832002

How could I solve this problem that I don't need to add at startup: LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3 Object_detection_picamera.py

mali-x avatar Jun 02 '20 16:06 mali-x