def readImage():
# read image from cap, remapping it if we have mapx, mapy
# assumes camera is already open
retval, img = cap.read()
if mapx is not None and mapy is not None:
return cv2.remap(img, mapx, mapy, cv2.INTER_LINEAR)
else:
return img
# finding and watching a go board
# open the cascade classifiers:
评论列表
文章目录