Fixed histogram_of_detections.py to use grayscale.