The authors may want to consider how much of this work could be done easily and effectively with deep learning. For content-based search and image similarity, even simple, pre-trained convnets will likely crush the histogram-based approaches you have here.
Just run your images through Google Cloud vision to do the face detection and text detection. With 2M images, it will be cheaper than the amount of dev time you spent here, and you'll get excellent quality.