Skip to content

anandcpanchal/day-night-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

day-night-classifier

Simple day-night classifier

Requirement: python3 opencv2 numpy matplotlib

Note:

  1. Use --debug True to display image and computed hsv average
  2. Defualt hsv threshold is randomly set to 100. Use --threshold to modify it.

Usage:

  1. Simple command : python simple_day_night_classifier.py -i <path_to_input_image>

output : Day image / Night image

  1. 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

About

Simple day-night classifier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages