algolia / color-extractor

Extract the dominant color(s) of your fashion articles!
https://algolia.com
Other
279 stars 69 forks source link

opencv error #2

Closed vvo closed 8 years ago

vvo commented 8 years ago
> time ./color-extractor color_names.npz cq5dam.web.415.311.png 
OpenCV Error: One of arguments' values is out of range (Seed point is outside of image) in floodFill, file /build/opencv/src/opencv-3.1.0/modules/imgproc/src/floodfill.cpp, line 508
Unable to find colors for cq5dam.web.415.311.png: `/build/opencv/src/opencv-3.1.0/modules/imgproc/src/floodfill.cpp:508: error: (-211) Seed point is outside of image in function floodFill
`
./color-extractor color_names.npz cq5dam.web.415.311.png  5.72s user 0.35s system 105% cpu 5.770 total

Image: cq5dam web 415 311

LeoErcolanelli commented 8 years ago

The image processing library has been switch to scikit-image, and no issue is encountered with this image. Closing.