Quote:
Originally Posted by foemill
It does tha same thing when I select realistic values grabbed from VisionAssist.
|
We spent the last 3 days trying to figure out why our realistic values didn't work, just like you. The bugs we found are why.
FindColor goes like this:
1) Selects all pixels in the latest camera image that match your color [this part is fine]
2) Treats groups of selected pixels as particles [this part is fine]
3) Takes the very first particles, regardless of size, and analyzes it [this is a bug because of bugs in GetLargestParticle and InArea]
4) Returns the analysis of this first group, rather than an analysis of the biggest set found.
That is why FindColor is broken, even for realistic colors.