tesseract弄乱了带有盒子的图像上的数据

时间:2019-11-02 13:57:23

标签: python tesseract

我有一幅图像,其中enter image description here框内有一些数字

我尝试了很多变化

(thresh, im_bw) = cv2.threshold(im_gray, 128, 255, cv2.THRESH_BINARY | cv2.THRESH_OTSU)
im_bw = cv2.threshold(im_gray, thresh, 255, cv2.THRESH_BINARY)[1]
pytesseract.image_to_data(im, output_type=Output.DICT,lang='eng+eng_1+eng_2+por+fra+spa',config='--psm 11')

仍然无法正确检测到“ 29010”。 需要帮助我们该怎么做。

0 个答案:

没有答案