def __init__(self, boardsize): self.boardsize = boardsize self.mask = dict() self.config = dict() self.boardRecognizer = BoardRecognizer() self.pieceRecognizer = PieceRecognizer(self.boardsize)
def __init__(self, n): print "Initializing board recognizer" self.initCapture(n) self.piecerecognizer = PieceRecognizer()