diff --git a/test.py b/test.py index 1853f28..d367625 100644 --- a/test.py +++ b/test.py @@ -1,6 +1,8 @@ +import cv2 + from photo_review.photo_review import open_image_from_url from ucloud import ucloud if __name__ == '__main__': - image = open_image_from_url("./PH20240529000194_1_075936_1.png") - image.save("test.png") + image = cv2.imread("./PH20240529000194_1_075936_1.png") + cv2.imwrite("test.png", image)