ref: https://github.com/WreckItTim/Grape-Leaf-Diseases-Image-Detection see in: https://nbviewer.jupyter.org/github/Lincest/grape-leaf-detection/blob/master/demo_utils.ipynb