Review session is Python module dedicated for reviewing pictures and moving them to directories with only one keyboard click.
Currently PIL
and tkinter
are used on my project, you can get it with pip:
$ sudo pip3 install pillow python-tk
for Debian based distributions (Debian, Ubuntu):
$ sudo apt-get install python3-tk python3-pil python3-pil.imagetk
-
root_directory
: String that should contain path to your pictures folder. -
directories
: Dictionary which keys are cases of picture "quality", and values are directory names. For example good or average categories could contain:'good': 'goodPictures', 'average': 'averagePictures'
. -
good
: By default module filters only good picture, it copies pictures to specified. -
all
: By default all pictures are skipped and stays at original location, unless you pressn
org
. -
settings
: Dictionary, which contains following keys and values: -
extentions
: List, which should contain extentions that you would want to preview. -
size
: List, which contains width and height limits (Maximum size that picture would take). -
level
: Integer, which contains value, how deep it would search for pictures (0 if search only atroot_directory
).
-
g
: G stands for good picture, make a copy inroot_directory/good_directory
, also move it toroot_directory/reviewed_pictures
directory. -
n
orReturn
: N stands for normal or next picture, for instance if you reviewed picture, but you do not want to move it to specific folder. -
s
orRight cursor
: S stands for skip picture, when picture is skipped, nothing happens to it, it stays at original directory. -
p
orLeft cursor
: P stands for previous picture, this button opens previously reviewed picture. -
q
orEsc
: Q stands fir quit, by pressingq
orEscape
, you will stop script. -
shift + R
: Rotate to right. -
shift + L
: Rotate to left (currently rotating images produces weird result).