Help Needed: OpenCV Error While Implementing Object Detection on BeagleBone AI
@Middleware & OS @MCU, MPU & Firmware @Helper
Hey guys, am working on an object detection project using the BeagleBone AI with Debian as the operating system and Ethernet as the protocol. I have encountered an error while implementing the code. Here are the steps I have installed Debian OS on the BeagleBone AI, set up the Ethernet connection for communication, installed the necessary libraries and dependencies for object detection. And I got the error
Then I tried verifying that the
yolov3.cfg
file is present in the correct directory, checked the file permissions and made sure it is readable, double-checked the file name and extension for any typos. But error still persists, and I am unable to load the pre-trained model for object detection.
here's my code
5 Replies
It is either a problem in the path or in the version of openCv , try using the absolute path just to make sure of directory
I have specified the exact path in code, but I would try updating my openCv version as u suggested
make sure it suited your version of python too
Thanks @wafa_ath the problem was my openCv version, I was using openCv 2.4 instead of openCv 3.4 and above
Solution
My code works perfectly now 👍