diff --git a/ppocr/utils/visual.py b/ppocr/utils/visual.py index b20222bdbd76a81ccb0b3c38c9a3412e443f3dd1..e0fbf06abb471c294cb268520fb99bca1a6b1d61 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