Hello everyone.
I’m trying to make a counter application, using color codes Pixy.
Pixy will have to recognize different color codes placed on objects that pass through his field of vision from left to right.
The problem I have is that sometimes rebounds and double counts occur. Below I include the code I am using in my Arduino if anyone has any idea about it.
There is only one object on the screen every time, as we approach the passage of a conveyor laterally. I design an algorithm that increases the counter once every rising edge of an object.
Would greatly appreciate any comment.
Best regards. Manuel Rodriguez.