def Cached(self, name, rows, cols, type):
        key = (name, rows, cols)
        if not self.cache in key:
            self.cache[key] = cv.CreateMat(rows, cols, type)
        return self.cache[key]
dataset/ETHPy150Open fatcloud/PyCV-time/opencv-official-samples/earlier/dmtx.py/DmtxFinder.Cached/swapped operands of `in`