Senior Design Stuff
Fork of pixy by
Diff: Pixy.cpp
- Revision:
- 2:8bbb50d09c95
- Parent:
- 1:910d941e3cc2
diff -r 910d941e3cc2 -r 8bbb50d09c95 Pixy.cpp --- a/Pixy.cpp Thu Mar 12 08:15:07 2015 +0000 +++ b/Pixy.cpp Sun Apr 19 09:54:17 2015 +0000 @@ -63,7 +63,8 @@ sum = signature + x +y + width + height; - if (checksum == sum) + // getting the largest block of the corresponding sig + if (checksum == sum && blocks[signature-1].width == 0) { blocks[signature-1].x = x; blocks[signature-1].y = y;