-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependences of cv2 #27286
Remove dependences of cv2 #27286
Conversation
Thanks for your contribution! |
"""Rotates the image by angle. | ||
|
||
Args: | ||
img (numpy.ndarray): Image to be rotated. | ||
angle (float|int): In degrees clockwise order. | ||
interpolation (int, optional): | ||
interpolation: Interpolation method. | ||
interpolation: Interpolation method. Default: 1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
227和228行重复。 详细的说明下不同int值的插值方式是什么
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, thanks
@@ -1,4 +1,3 @@ | |||
opencv-python<=4.2.0.32 | |||
requests>=2.20.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requirements中去掉后,CI的脚本里应该需要加下 https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/scripts/paddle_build.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感谢,这个田硕老师帮忙解决了:#27378
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Others
PR changes
Others
Describe
Remove dependences of cv2.