https://github.com/issung/imagecolordetector
Small script I made to detect the average color of all images in a directory and then check that against a threshold and then move the files within the threshold
https://github.com/issung/imagecolordetector
Last synced: 2 months ago
JSON representation
Small script I made to detect the average color of all images in a directory and then check that against a threshold and then move the files within the threshold
- Host: GitHub
- URL: https://github.com/issung/imagecolordetector
- Owner: Issung
- Created: 2021-08-22T08:24:17.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-22T08:29:12.000Z (almost 5 years ago)
- Last Synced: 2025-01-16T21:17:04.415Z (over 1 year ago)
- Language: C#
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ImageColorDetector
Quick and dirty (filthy) script I made to detect the average color of all images in a directory and then check that against a threshold and then move the files within the threshold
Made in ~15mins for my 67,000 images that needed filtering. Detects all images that are almost completely black or almost completely white, and moves them into a folder called "Detected".
Multi threaded for speed, did about 67,000 in under 15ish seconds.
Nasty code.
Doesn't take any cli args unfortunately (takes your desired dir as readline).
Could easily be changed to do something else in future.