I am building a project with PixyCam in a robot that can sort small dinosaur toys into the right containers.
It can sort red, orange, green, blue and purple.
My main problem during this project was that PixyCam one day could recognize the toys’s colours perfectly and other times have no clue.
After a long time of troubleshooting and trial and error I happened to stumble upon a possible solution.
I realized that when I power on the project and PixyCam WITH the lens protector still on, and then take it off, PixyCam work without a wrong.
But when I then unplugg the robot and replugg it WITHOUT the lens protector on, it doesn’t work at all.
So my tip for all of you is to always have the lens protector on while you power on the project, and then take it off.
I think this has to do with the automatical white-balance settings.
Always having the lens protector on make the settings the same every time, as the white-balance sets automatically as soon as the PixyCam gets power.
Another thing that I’ve find helpful is re-setting the signatures occasionally. This helps PixyCam regonize them better.
I also suggest having a neutral background to be sure that PixyCam doesn’t take up colours from the surroundings.
Having a neautral background might also help with keeping the light as steady as possible, regardless of where the project is located.
I use a big white piece of paper glued to a standing wooden board as neutral background.
Good luck with all of your interesting projects out there!