I printed a robot that has to learn a lot, with my Raspberry it did some nice tricks but with the Jetson Nano I’m stuck with OpenCV.
During my first install the Nano already started complaining about my 64GB SD card. I wanted enough space so I bought the Samsung 500GB and followed Jetson Hacks Tutorial https://www.youtube.com/watch?v=J9EJ52Za7IE
for face-recognition I followed https://www.youtube.com/watch?v=PttoKt6TMDk
The video explains the face-recognizer need’s CUDA with OpenCV and comes with a install-script.
I have the CSI-Camera working with the RaspicamV2 I bought with the Nano (a sharp picture)
also works, thou it cleans up with :
GStreamer-CRITICAL **: 19:27:40.258: gst_mini_object_set_qdata: assertion ‘object != NULL’ failed
The CSI-Camera face_detect.py returns :
Traceback (most recent call last): File "face_detect.py", line 83, in <module> face_detect() File "face_detect.py", line 58, in face_detect faces = face_cascade.detectMultiScale(gray, 1.3, 5) cv2.error: OpenCV(4.1.0) /home/bart/opencv-4.1.0/modules/objdetect/src/cascadedetect.cpp:1658: error: (-215:Assertion failed) !empty() in function 'detectMultiScale' GST_ARGUS: Cleaning up CONSUMER: Done Success GST_ARGUS: Done Success GST_ARGUS: PowerServiceHwVic::cleanupResources bart@bart-desktop:~/CSI-Camera$
This is after a successful install of OpenCV4.1.0 . I tried the python demo’s I found that for al the modules it returns errors like these :
cv2.error: OpenCV(4.1.0) /home/bart/opencv-4.1.0/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
vis = self.frame.copy()
AttributeError: ‘NoneType’ object has no attribute ‘copy’
More info :
I found that the SD card has /usr/share/opencv4
the SSD has not but it has gained most of the GB’s during the installation.
I consider myself new to Linux (1 year raspberry experience) I hope you guys could help me removing the wrong installed files and building this face detector on the nano.
Thanks for your help.
I made a movie about the robot. https://www.youtube.com/watch?v=-0iZlv8M8a4
I’m sure you will enjoy it