Hi! My English is not good ; s Still learning. On studies i got a exercise to solve.
It must be simple program which:
Someone using a machine learning for user identification.
But usually users makes id proces in dark room.
Application have to go into the folder /in
read all of the files .png .jpg and after analize app have to save the files into folder /out.
During the analyze app have to tag every file “Dark” or “Light”, but every dark photo have to be dropped according to algorithm.
Image must be in range 0-100 where 0 is light 100 is dark.
If image is white screen it have to be 0 if black 100.
When we run the script given an input folder “in”, output folder “out” and configured “cut off“ point of 55, then the final result should be this directory structure:
It must be just a simple code in Scala, and it must work with all images which i put into folder /in.
Could someone help me ?