content: Very standard for police and also companies like google to keep hashes of known illegal images and then hash files on either a drive or in an email, then compare them. In some cases even hashing segments of an image, as in, the top right corner so that changing  a pixel or some trailing data doesn't help evade detection. Software tool suites like FTK do basically automated detection.