只要截图的时候文本的水平线和图片的水平线一致即可
def get_cut_image_by_line(): image = cv2.imread("/home/chenyang/PycharmProjects/Lets_OCR/detector/common/OCR_TEST/深度截图_选择区域_20200628205708.png") ret, image1 = cv2.threshold(image, 127, 255,
2024-04-08 21:30:04
只要截图的时候文本的水平线和图片的水平线一致即可
def get_cut_image_by_line(): image = cv2.imread("/home/chenyang/PycharmProjects/Lets_OCR/detector/common/OCR_TEST/深度截图_选择区域_20200628205708.png") ret, image1 = cv2.threshold(image, 127, 255,
下一篇:OCR-CTPN