如果图片有2个或多个块,如何出现多个座标?
https://如果图片有2个或多个块,如何出现多个座标?
程序代码:
import ddddocr det = ddddocr.DdddOcr(det=False, ocr=False) with open('aa.png', 'rb') as f: target_bytes = f.read() with open('bb.png', 'rb') as f: background_bytes = f.read() res = det.slide_match(target_bytes, background_bytes) print(res)
[此贴子已经被作者于2023-10-19 21:21编辑过]