In the README example, an image file is opened using opencv, which will open the file in BGR. However, the color_names.npz dataset that comes with the repo is stored as RGB. Therefore if you use the example verbatim, you will get incorrect color identifications. Since from_file.py uses skimage.io instead of opencv, the only corrections needed are on the README, which are:
replacing opencv calls with skimage.io calls
removing any mention of needing color name files stored as BGR.
In the README example, an image file is opened using opencv, which will open the file in BGR. However, the
color_names.npz
dataset that comes with the repo is stored as RGB. Therefore if you use the example verbatim, you will get incorrect color identifications. Sincefrom_file.py
uses skimage.io instead of opencv, the only corrections needed are on the README, which are: