it’s not about what I rely on - my question is the order of appearance by Pixy Lib design.
the single-color blobs all come one after the other, smallest signature number first, and then all by the same color by descending area size (== biggest area size first).
So again, which is the ultimate answer about how multiple-color-signature blobs will appear by design, for the following arbitrary setup specifically?
all signature 1 blobs by descending size
all signature 2 blobs by descending size
and so on.
@ sprintf(buf, “Detected %d:\n”, blocks);
Serial.print(buf);
for (j=0; j<blocks; j++) {
sprintf(buf, " block %d: ", j);
Serial.print(buf);
signature = pixy.blocks[j].signature; //get object’s signature
int x = pixy.blocks[j].x; //get x position
int y = pixy.blocks[j].y; //get y position
int width = pixy.blocks[j].width; //get width
int height = pixy.blocks[j].height; //get height
int angle = pixy.blocks[j].angle; //get height
pixy.blocks[j].print();
}
@
now given I have defined triple-color codes
1-3-4 (e.g., 3 blobs detected )
1-3-5 (e.g., 3 blobs detected )
1-3-6 (e.g., 3 blobs detected )
plus double-color codes
2-3 (e.g., 3 blobs detected )
2-4 (e.g., 3 blobs detected )
2-5 (e.g., 3 blobs detected )
in which order will they be reported in the program snippet above BY LIB DESIGN, both with respect to their color codes and to their sizes?