Senior Design Stuff

Fork of pixy by Qisi Wang

Revision:
2:8bbb50d09c95
Parent:
1:910d941e3cc2
--- 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;