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