Hello,
I am just getting started with OpenMV, sorry if some of these questions are basic.
I was previously using a Pixy communicating over I2C to a teensy 3.1.
I would like to do a similar thing with OpenMV – track color codes and output x,y and width,height of the tracked color codes over I2C or another interface.
So far:
I’ve successfully run the marker tracking script, and modified the color ranges so that I am getting excellent color code identification!
- Can someone explain how the color code identifiers get built? I have tried a 4 color combination (red,green,blue,orange) and when the OpenMV cam identifies it, it gets labeled “15” – is this some octal result?
- Could someone help with some sample code of how I could set up multiple different color codes? For example when red/green is identified that would be one code, and when blue/orange gets identified that would be another?
3.Finally, I would really appreciate if someone could give some example of how to output the x,y and width,height of the color codes over i2c or another interface.
Thanks so much!