只要截图的时候文本的水平线和图片的水平线一致即可
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,image,cv2,截图,水平线,ocr
来源: https://blog.51cto.com/u_15177056/2726042