Open varungupta31 opened 2 years ago
I'm getting the following error after performing
python run_your_pic.py --content_path "For_test/001101_2.jpg"
cv2.error: OpenCV(4.2.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
I tried on existing images in the 'For_test' directory and also on personal images (both .JPG and .PNG format). @ZhanzhouFeng Kindly help.
maybe modify line93-107 in run_your_pic.py , then it works. 'Pairs_streetVeiw\part1/000001_1.jpg' --> 'Pairs_streetVeiw/part1/000001_1.jpg' ...
I'm getting the following error after performing
python run_your_pic.py --content_path "For_test/001101_2.jpg"
cv2.error: OpenCV(4.2.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
I tried on existing images in the 'For_test' directory and also on personal images (both .JPG and .PNG format). @ZhanzhouFeng Kindly help.