Update crop.py

make exception handling explicit
Update derive.py

make exception handling more explicit
Update ocr.py

make exception handling explicit