Fortunately this is an easy thing for Imgur to solve in 2017 if they really want to with machine learning. Enough is available online that almost anyone could do it at this point.
Just have people opt in for NSFW content on their accounts. Leave them opted out by default (or public).
There is no reason it shouldn't be a human controlled flag.