This is a simple method using numpy to find if any image is bright or dark. The threshold is set to 80 after experimenting with values araound 127 which is half of 255. To run the file, replace the image path in the code and run "python3 auto_detect.py" in the terminal.
-
Notifications
You must be signed in to change notification settings - Fork 0
tanya-suri/Tanya
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published