Skip to content

Commit b41f385

Browse files
committed
fix(sign2mint): correct cv2 import
1 parent 9a4f414 commit b41f385

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
setup(
1212
name="sign-language-datasets",
1313
packages=packages,
14-
version="0.0.11",
14+
version="0.0.12",
1515
description="TFDS Datasets for sign language",
1616
author="Amit Moryossef",
1717
author_email="amitmoryossef@gmail.com",

sign_language_datasets/datasets/sign2mint/sign2mint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ...datasets import SignDatasetConfig
99
import urllib.request
10-
from cv2 import cv2
10+
import cv2
1111

1212
from ...utils.signwriting.ocr import image_to_fsw
1313

sign_language_datasets/utils/signwriting/ocr/ocr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import numpy as np
99
from numpy.lib.stride_tricks import as_strided
10-
from cv2 import cv2
10+
import cv2
1111
from PIL import Image, ImageDraw, ImageFont
1212
import os
1313

sign_language_datasets/utils/signwriting/ocr/ocr_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""ocr tests"""
22
import os
33
from unittest import TestCase
4-
from cv2 import cv2
4+
import cv2
55

66
from sign_language_datasets.utils.signwriting.ocr import image_to_fsw
77

0 commit comments

Comments
 (0)