The famous jingle "Who's that Pokémon" where one has to guess the Pokémon with its shape has made some people go crazy in their youth. Nowadays, with more than 900 Pokémon in the newest games, one might not recognize them even with their full image.
This IA is based on ml5.js which is a JavaScript library. This library is perfect for beginners and aims at teaching Artifical Intelligence. It is based on the function called imageClassifier() cf. the official ml5 website. It allows AI to recognize the content of an image, to match it to a Pokémon. It is linked to a database of Pokémon sprites.
The library has to be linked in the index.html file.
Inside the .js file, the ml5 code will consist of two components, the Pokémon image and the Pokémon sprite and name given as a result.