From 52d5b54569d1a10e9272c278eb98e2775ce58680 Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Tue, 5 Jul 2022 03:29:43 +0000 Subject: [PATCH] add import cv2 --- ppocr/utils/visual.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ppocr/utils/visual.py b/ppocr/utils/visual.py index b20222bd..e0fbf06a 100644 --- a/ppocr/utils/visual.py +++ b/ppocr/utils/visual.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +import cv2 import os import numpy as np from PIL import Image, ImageDraw, ImageFont -- GitLab