From edc1bc28a2c33fff4fd380db1f7131128be82630 Mon Sep 17 00:00:00 2001 From: Pradana AUMARS Date: Mon, 12 Jul 2021 23:52:26 +0200 Subject: [PATCH] Fix indentation on last commit --- videocr/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videocr/video.py b/videocr/video.py index 22cb63c..38cd009 100644 --- a/videocr/video.py +++ b/videocr/video.py @@ -56,7 +56,7 @@ class Video: if not self.use_fullframe: # only use bottom half of the frame by default img = img[self.height // 2:, :] - img = cv2.bitwise_not(cv2.bitwise_and(img, img, mask=cv2.inRange(img, (190, 190, 190), (255, 255, 255)))) + img = cv2.bitwise_not(cv2.bitwise_and(img, img, mask=cv2.inRange(img, (190, 190, 190), (255, 255, 255)))) config = '--tessdata-dir "{}"'.format(constants.TESSDATA_DIR) try: return pytesseract.image_to_data(img, lang=self.lang, config=config)