We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fg_bytes = set_img_resize('fg.png', 68, 68)#滑块图片的实际尺寸 bg_bytes = set_img_resize('bg.png', 340, 212)
det = ddddocr.DdddOcr() res = det.slide_match(fg_bytes, bg_bytes)['target'][0]#缺口x坐标 print(res)
The text was updated successfully, but these errors were encountered:
AttributeError: 'DdddOcr' object has no attribute 'slide_match'
Sorry, something went wrong.
你的代码文件的名字是不是ddddocr.py?这个问题建议截图一下反馈,图中需要附带完整的开发界面(比如文件名什么的)
No branches or pull requests
fg_bytes = set_img_resize('fg.png', 68, 68)#滑块图片的实际尺寸
bg_bytes = set_img_resize('bg.png', 340, 212)
det = ddddocr.DdddOcr()
res = det.slide_match(fg_bytes, bg_bytes)['target'][0]#缺口x坐标
print(res)
The text was updated successfully, but these errors were encountered: