Skip to content

Conversation

@qingqing01
Copy link
Contributor

Some colleague mentioned that the opencv-python could not be installed in his platform, so remove it. The users could install it when needed.

@qingqing01 qingqing01 requested review from gangliao and pkuyym May 18, 2017 03:59
from cv2 import resize
except:
print(
"import cv2 error, please install opencv-python: pip install opencv-python"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我这边测试使用jumbo或者brew安装opencv,都可以使import cv2成功,所以提示信息仅限于pip install opencv-python是否合适?

@qingqing01 qingqing01 merged commit fd124c2 into PaddlePaddle:develop May 18, 2017
@qingqing01 qingqing01 deleted the image_v2 branch July 7, 2017 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants