So my team has been trying to take advantage of our camera for autonomous. We've been using some code from 3313, as seen
here, to do the processing. Afterwards the for loop is supposed to print out the area of each particle. The number of particles is inconsistent-I may get many, or I may get none. Any extra green in the scene is sure to throw off the number of particles returned. I also had to set up the code to catch an ArrayIndexOutOfBounds exception, which the for loop seems to be causing. I've tried changing the thresholds for RGB- it doesn't seem to help. I can't get the code posted right now, but does anyone have any tips on improving the consistency of our detection?