centroidY = (float)(polygonVerticesY[0] + polygonVerticesY[2])/2;
int area = Math.abs(polygonVerticesX[2] - polygonVerticesX[0]) * (polygonVerticesY[2] - polygonVerticesY[0]);
newIcons = new RecognizedShape[1];
newIcons[0] = new RecognizedShape(centroidX,centroidY,bx,by,area,new Color(r,g,b),polygonVerticesX,polygonVerticesY,4);
} else {
imageUtils.recognizeShapes( r, g, b, 1000, 999999, ImageUtils.HIGH_ACCURACY );
newIcons = imageUtils.getRecognizedShapes();
}