Python Image Processing And Detection Limit