I wanted to examine the underlying patterns in paintings through a computer-vision approach and use machine learning. As I wanted to study as many paintings as possible, I searched for available database. I ended-up making my own dataset from the paintings aggregated by wikiart.org. This dataset regroups 35028 paintings from 1503 artists with genre, style and date informations for each. I started to perform image classification with Python, I will soon add the first results.
Je voulais examiner numériquement des peintures et faire de l'apprentissage automatique. Comme je voulais étudier le plus de tableaux possible, j'ai cherché une base de données. J'ai fini par créer mon propre jeu de données avec des tableaux rassemblés par wikiart.org, ce fichier regroupe 35028 tableaux de 1503 artistes différents avec le genre, le style et la date pour chacun. J'ai commencé à faire de la classification d'images avec Python, j'ajouterai bientôt les premiers résultats.
I wanted to answer this simple question: what is the color of paintings? I started by doing some color quantization experiments on the paintings from the database. The figure below shows a painting from the dataset and its corresponding 3D histogram in RGB space.
Je voulais répondre à cette question simple: quelle est la couleur des tableaux? J'ai commencé à faire des expérimentations de quantification de couleurs sur les tableaux de la base de données. La figure ci-dessous montre un tableau de la base et l’histogramme 3D en RGB correspondant.
Infos : A random painting from the dataset (left) with classification informations and corresponding 3D histogram in RGB color space (right). Each point in the histogram represents a color present in the painting image pixels. The grid is a 256x256x256 cube and the size of the points is normalized between 1/256 and 50/256 for colors that count 2 and more pixels respectively. I discarded single pixels to reduce the size of data and produce a more appealing representation. You can interact (rotate and zoom) with the histogram and go the wikiart page by clicking on the painting image. Click the refresh button to display another painting.
Infos : Une peinture aléatoire de la base de données (gauche) avec les informations utiles à la classification et l’histogramme 3D RGB correspondant (droite). Chaque point de histogramme représente une couleur présente dans les pixels de l'image. Le volume est un cube 256x256x256 et la taille des points est normalisée entre 1/256 et 50/256 pour les couleurs qui comptent 2 pixels minimum. Je n'ai pas considéré les couleurs présentent dans un seul pixel pour réduire la taille des données et produire une représentation plus parlante. Vous pouvez interagir (rotation et zoom) avec l'histogramme et visiter la page wikiart en cliquant sur l'image. Cliquez sur le bouton rafraîchir pour afficher un autre tableau.
In order to visualize the color of all the paintings in the dataset I computed the mean histogram. To perform this task and all the other features extraction, I choose Python because it is easier to handle local files and the computer vision and machine learning algorithms are already implemented in the PyOpenCV and scikit-learn librairies. You can consult the details to know more about my objectives for this project.
Pour visualiser la couleur de tous les tableaux de la base de données j'ai calculé l'histogramme moyen. Pour réaliser cette tâche et les extractions de caractéristiques des peintures j'ai utilisé Python. Cela rendait plus facile la gestion des fichiers locaux et les algorithmes de vision par ordinateur et d'apprentissage automatique sont déjà implémenté dans les librairies PyOpenCV et scikit-learn. Vous pouvez consulter les détails pour en savoir plus sur mes objectifs pour ce projet.
I wanted to do image classification on paintings. I started to write a paper to present my method and the database, I plan to publish it on arxiv. I tought of this page as a simplified and interactive version of this paper. I also want to implement an applet that allows to search paintings by color(s).
Je voulais faire de la classification d'image sur des tableaux. J'ai commencé à écrire un papier pour présenter ma méthode et la base de données. Je prévois de le publier sur arxiv. J'ai pensé cette page comme une version simplifiée et interactive de ce papier. J'aimerai également implémenter une application qui permette de rechercher des tableaux par couleur(s).