Thanks for all that information. From the look of that error message, it looks like your installation of protobuf is behind what ‘Simple-Hand-Tracker.py’ is expecting.
From the log pdf you attached it looks like you have version 3.5.1 currently installed and the program is looking for 3.19 or higher
Try pip install --upgrade protobuf and see if that gets you around this error.
Otherwise pip install protobuf==3.20.0 specifies a version that should work as expected.
Hi Samuel.
Thank you for your advice.
After “pip install protobuf==3.20.0” I got further:
I’ve tried:
… to see if the camera works
It seems that there is some problem with the camera. Camera is enabled.
But when I change another SD card with OS Bookworm, the camera works. So it’s not a technical problem.
Can you think of what the problem could be?
After a bit of research, I’ve found some possible workarounds. You will need to disable the legacy camera option and enable Glamour through raspi-config.
Not sure if the first submission went through. The Hand Recognition and ID is almost what I am looking for. I want to make a robot that would win every or at least 90% of the time at Rock Paper Scissors by predetermining the fingers as to none, two or four are moving and then show the correct win response by the robot. Would need to have the camera to the side to see the fingers.
For what you’re looking to do I would recommend looking at the Grove - Vision AI Module V2, looking at the pretrained models available there is one specifically for Rock, Paper, Scissors that you should be able to use to get yourself started with that project.