I'd like to have a quicker review process of my photos when I dump them from the camera to the computer. Surely there are some parameters that I can extract programmatically from the photos and this value might be enough to automatically put some photos in the 'discard' pile.
I'm thinking in algorithms to detect edges, get average sharpness/blurriness of the image or something like that.
I know that this script won't really discard all bad photos and keep the good ones, but I'm hoping to discard the totally crap ones.
I'm pretty sure I can program a shell script using ImageMagick (but I'm open to any command line software) to get what I would need. The problem is that I don't know which values should I look for to get better results.
TLDR; what things should I look to be able to discard an image programmatically (edge detection, sharpness)?
I'm using Fedora Linux.
edit: I don't think this question is a duplicate of Is there photo analysis software which will pre-sort images by identifying potential technical problems? because that question asks for software recommendation and is suggested to make a workflow change in the answers (and using software that isn't available on linux), while I'm asking for what will give better results in detecting bad photos.