Working image_detection.py