Paint me like one of your french girl

Artificial intelligence is now taking a major place and is at the heart of new technologies. This is even affecting the culture and art industry because computers can now paint and become artists in their own right, as shown in this painting made by an artificial intelligence that sold for nearly $400,000:

Concretely, if it was already difficult to recognize a painting and to remove its specificities such as its author, its date and its name, today it is a real challenge.
Few people can claim to be an encyclopaedia of travelling art, so it is possible to use artificial intelligence in our favour instead of confusing us even more.

How to deal with this ?

First, we are using ml5.js. This is a javascript library. But more precisely there is a function called imageClassifier() (more detailed here) that provides a learning model so as to recognize the painting and to give all the information about it.

Just wait to awaken the art expert hiding inside you!

Concerning coding, you have the following code to help you begin:

The ml5 code will be based on two aspects: one that will hold the image and another that will give the result with the highest probability. Let's see the code:

For a more interactive application, the user can drop the image directly but to do so, you will need the following code:

Finally, to see the result you will need to complete the code with this:

You are now ready to become an art expert and recognize a Monet!