Simple day-night classifier
Requirement: python3 opencv2 numpy matplotlib
Note:
- Use --debug True to display image and computed hsv average
- Defualt hsv threshold is randomly set to 100. Use --threshold to modify it.
Usage:
- Simple command : python simple_day_night_classifier.py -i <path_to_input_image>
output : Day image / Night image
- Advance command : python simple_day_night_classifier.py -i <path_to_input_image> [ --threshold <threshold_value_for_hsv_avg_brightness> ] [ --debug ]
output : Image, hsv_average, Day image / Night image
Extra:
skip unlucky floor count
command : python last_unlucky_floor.py ---> Enter floor len : output : last floor number