Remove un-used util

pull/48/head
Guillermo Rodriguez 2025-02-07 22:15:01 -03:00
parent 77c1e4580d
commit 98e43f6515
No known key found for this signature in database
GPG Key ID: 002CC5F1E6BDA53E
1 changed files with 0 additions and 4 deletions

View File

@ -41,10 +41,6 @@ from realesrgan import RealESRGANer
def time_ms():
return int(time.time() * 1000)
def convert_from_cv2_to_image(img: np.ndarray) -> Image:
# return Image.fromarray(cv2.cvtColor(img, cv2.COLOR_BGR2RGB))
return Image.fromarray(img)