HuskyLens is an easy-to-use AI machine vision sensor. It is equipped with multiple functions, such as face recognition, object tracking, object recognition, line tracking, color recognition, and tag(QR code) recognition.
By polel129
#44321
Hi,

I just read the article about using Huskylens and Raspberry Pico (https://community.dfrobot.com/makelog-310469.html) for object classification, and I tried it but with no success.

I noticed that there's a new firmware included in the project files so I updated the firmware too.

When I run the main.py file I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'huskylensPythonLibrary'
The library file (huskylensPythonLibrary.py) is in the same folder with the rest of the project file.

I also tried to copy the library into the main.py file, so it doesn't have to be imported, and I got the following error:
Traceback (most recent call last):
File "<stdin>", line 374, in <module>
File "<stdin>", line 132, in command_request
File "<stdin>", line 43, in writeToHuskyLens
OSError: 5
Can you please help?

Thanks

Eleni