Python code for Classification of photographic images based on perceived aesthetic quality



In this project, we explore automated aesthetic evaluation of photographs using machine learning and image processing techniques.
We theorize that the spatial distribution of certain visual elements within a given image correlates with its aesthetic quality. To this end, we present a novel approach wherein we model each photograph as a set of tiles, extract visual features from each tile, and train a classifier on the resulting features along with the images’ aesthetics ratings.

Our model achieves a 10-fold cross-validation classification success rate of 83:60%, corroborating the efficacy of our methodology and therefore showing promise for future development.

Table 1. 10-fold classification accuracy

Table 1 shows our 10-fold cross-validation accuracy for each of the learning algorithms. For both datasets, we got the highest performance with GBRTs, with accuracies of 80:88% and 83:60%. That we see similar quality of results for both datasets signifies that our methodology is sound.



Figure 3. Confusion matrix for 10-fold cross validation with GBRT on dataset

Figure 3 shows the confusion matrix for 10-fold cross validation using GBRTs on the datasetThe true positive and false negative rates are approximately symmetric with the true negative and false positive rates, respectively, which signifies that our classifier is not biased towards predicting a certain class. This also holds true for the DPChallenge dataset.

Python code for merging two separate photos to create a single, multi-person photo

Python code take a a binary image which fed to the Tesseract OCR


There are no reviews yet.

Be the first to review “Python code for Classification of photographic images based on perceived aesthetic quality”

Your email address will not be published. Required fields are marked *

SKU: P2018F199 Category: Tags: ,