/day_or_night

NodeJS gm command line script to check picture input if day, night or evening/morning

Primary LanguageJavaScript

Command line image day/night scanner

Install

npm install gm

ubuntu:

apt-get install graphicsmagick 

mac:

brew install graphicsmagick

Usage

node app.js [IMAGE_LOCATION] [IMAGE_LOCATION] [...]

example:

node app.js picture/test_night.jpg pictures/test_day.jpg pictures/test_morning.jpg