소스 검색

fix(module): Delete process "enlarge_canvas" in single ocr

ryland 2 년 전
부모
커밋
83101b567b
1개의 변경된 파일과 0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      module/ocr/base_ocr.py

+ 0 - 1
module/ocr/base_ocr.py

@@ -147,7 +147,6 @@ class BaseCor:
         start_time = time.time()
         image = self.crop(image, self.roi)
         image = self.pre_process(image)
-        image = enlarge_canvas(image)
         # ocr
         result, score = self.model.ocr_single_line(image)
         if score < self.score: