main.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:SudokuVisionSolver 作者: tusharsircar95 项目源码 文件源码
def getMatchingScore(img,digit):
    score = (cv2.matchTemplate(img,cv2.imread('Templates/' + 'T'+str(digit) + '.jpg',0),cv2.TM_SQDIFF)/2000)
    return score

# Gets the best prediction of the digit in a cell using template matching
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号