Spaces:
Runtime error
Runtime error
Update create_print_layover.py
Browse files- create_print_layover.py +1 -1
create_print_layover.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import numpy as np
|
| 2 |
-
|
| 3 |
|
| 4 |
def assert_image_format(image, fcn_name: str, arg_name: str, force_alpha: bool = True):
|
| 5 |
if not isinstance(image, np.ndarray):
|
|
|
|
| 1 |
import numpy as np
|
| 2 |
+
import cv2
|
| 3 |
|
| 4 |
def assert_image_format(image, fcn_name: str, arg_name: str, force_alpha: bool = True):
|
| 5 |
if not isinstance(image, np.ndarray):
|