Spf650
1
Hi
I’m experimenting with the vilib examples from here:
on my pidog. Specifically, object_detection.py
However, it will not run (the other examples run fine) I get the following error
ERROR: type object ‘Vilib’ has no attribute ‘object_detection_list_parameter’
Has the API changed between the above github release, and the pidog one?
Thanks
To help us analyze and resolve the issue you’re experiencing, could you please provide a complete screenshot of the error message?
In the meantime, please try the following commands to update your code:
cd ~/vilib
git pull
sudo python3 install.py
Once the installation is successful, restart your Raspberry Pi and run the example again to see if it works.
Spf650
3
Thanks. There appears to have been a patch in the picamera2 branch, 2 weeks ago which addresses this, I quote
'Fix bug of ‘Vilib’ has no attribute"
I was using an old master branch., which was probably my problem
Yes. The appropriate method is to use the Vilib library from the picamera2 branch.