Lines Matching defs:isDark
58 def isDark(self, row, col):
142 if (self.isDark(r, c) ):
571 dark = qrCode.isDark(row, col);
585 if (dark == qrCode.isDark(row + r, col + c) ):
595 if (qrCode.isDark(row, col ) ): count+=1
596 if (qrCode.isDark(row + 1, col ) ): count+=1
597 if (qrCode.isDark(row, col + 1) ): count+=1
598 if (qrCode.isDark(row + 1, col + 1) ): count+=1
606 if (qrCode.isDark(row, col)
607 and not qrCode.isDark(row, col + 1)
608 and qrCode.isDark(row, col + 2)
609 and qrCode.isDark(row, col + 3)
610 and qrCode.isDark(row, col + 4)
611 and not qrCode.isDark(row, col + 5)
612 and qrCode.isDark(row, col + 6) ):
617 if (qrCode.isDark(row, col)
618 and not qrCode.isDark(row + 1, col)
619 and qrCode.isDark(row + 2, col)
620 and qrCode.isDark(row + 3, col)
621 and qrCode.isDark(row + 4, col)
622 and not qrCode.isDark(row + 5, col)
623 and qrCode.isDark(row + 6, col) ):
632 if (qrCode.isDark(row, col) ):