1 | initial version |
your image was not loaded. (so your code fails in the next lines)
please make it a habit to check the output of imread() or similar io
2 | No.2 Revision |
your image was not loaded. (so your code fails in the next lines)
please make it a habit to check the output of imread() or similar ioio before trying to use the result
also, be careful with relative file path, if using weird ide's like jupyter or pycharm, it's usually not what you expect. when in doubt, try with an absolute path to your media