Because the current version of the project has no light source, colour correction may be useful in deeper deployments. A simple method for colour corrections was applied that yielded good results.
Scripts obtained from http://www.fmwconcepts.com/imagemagick/uwcorrect/index.php was tested, and the following command gave the best results for this case:
./uwcorrect -m 2 -b 5 -s 10 target.jpg corrected.jp
Then this command was used to write a small batch processing script in BASH:
for f in ./photo/*.jpg
do f2=${f%.*}_processed.jpg;
echo "Processing $f as $f2...";
./uwcorrect -m 2 -b -10 -s 10 $f $f2
done
The results:

Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.