Creating Your Own Cognitive Portrait
We are about to explore Science Art, where Science - namely Artificial Intelligence, part of Computer Science - will help us create pieces of Art! Namely, we will learn the technique called Cognitive Portrait
In this technique, we use Microsoft Face API to extract Facial Landmarks from a series of pictures, and then we scale and align pictures in such a way that eyes on all pictures coincide. Merging those photographs, we create an interesting visual effect, like on the photo above.
How to Start
All the code and instructions are contained in the MakeArt.ipynb Jupyter Notebook. You can run it using one of the following methods:
- Clone / download the repository to the local computer, and open it with Visual Studio Code with Python Extension installed. You would also need to install local Python environment, instructions are available in the Docs.
- Use Github Codespaces to run the code directly on GitHub.
- Open the repository using Binder