Pedagogic Demonstrator on Facial Expressions and Generative AI
An interactive pedagogic system that captures facial expressions and transforms them into artistic outputs
Description
This interactive Artificial Intelligence demonstrator is a prototype designed for educational, outreach and demonstrative purposes. It allows users to explore how AI can interpret human facial expressions and transform them into artistic representations using generative AI.
The system detects facial expressions in real time (such as happiness, sadness, surprise, disgust, etc.) based on the visual features of the human face. Once an expression is identified, it is translated into a structured set of keywords, scenes, and artistic styles. These predefined descriptions serve as input prompts for the image generation model, ensuring that the final output faithfully reflects the detected expression. All prompts have been developed by a multidisciplinary team at the Computer Vision Center (CVC), combining expertise in computer vision, artificial intelligence, art and humanities. The result is a unique artistic image that clearly conveys the detected expression, offering an immersive experience that blends technology and creativity.
The demonstrator is further supported by an ethical and regulatory assessment carried out as a collaborative effort between the CVC and the Observatory of Ethics in Artificial Intelligence of Catalonia (OEIAC), and complemented by a set of visual resources and interactive materials that provide a detailed explanation of the image detection and generation processes, as well as a comprehensive breakdown of the algorithms used and the data on which they were trained. All these materials are accessible through a website, which offers further information on the methodology, ethical and legal considerations, and the scientific foundations of the project.
In this way, the demonstrator not only showcases the technical capabilities of AI, but also serves as an educational and reflective resource on the ethical and societal implications of this technology in everyday life.
Project Objective
This demonstrator addresses several interconnected challenges in the development and use of AI technologies. First, it tackles the issue of AI explainability and transparency, providing an intuitive overview of how AI systems analyse and interpret human facial expressions, generate images, and utilise the data used to train all the algorithms that compose the demo. By visualising the assessment from detected emotions to structured prompts and finally to generated images, users can clearly understand how the system works.
Second, it confronts the challenge of bridging emotion and creativity, transforming subtle, real-time expressions into compelling artistic images. This requires the integration of computer vision techniques for facial feature detection, generative AI models for image synthesis, and prompt engineering developed by a multidisciplinary team with expertise in AI, computer vision, communication and humanities.
Finally, the demonstrator serves a strong educational and pedagogical purpose, providing a tangible, hands-on experience that highlights the ethical, legal and social dimensions of AI deployment. By interacting with the system, users gain insight into how AI interprets human behaviour, while also reflecting on the broader implications of these technologies in everyday life. In this way, the demonstrator promotes responsible AI use, encourages critical thinking and fosters public awareness about the intersection of technology and creativity.
The primary outcome of this demonstrator is to increase understanding and awareness of AI technologies among diverse audiences by providing an interactive, hands-on experience. Users can see how AI interprets human facial expressions and generates artistic outputs, making complex processes more transparent, relatable and understandable.
Impact
Technologies behind this demo are already behind real-world applications in:
-
- Healthcare (analysis of patient facial expressions to support diagnosis and monitoring)
- Entertainment, creativity and immersive experiences (interactive games, generative art, adaptive content)
- More natural human–machine interfaces (systems that respond to us in more intuitive ways)
However, they also raise important questions about privacy, authorship, bias and the ethical use of AI.
This demonstrator has undergone an ethical and regulatory assessment to enhance the transparency and explainability of its algorithms and training data. This framework can be applied to other technologies and supports:
-
- Transparency
- Accountability
- Fairness and bias awareness
- Responsible use of AI
Events & Presentations
CVC Open Day 2026
UAB Innovation Week 2025
Wold Expo Osaka 2025
CommuniCity EU project

Presentation of the demo at the project's final event in Porto, Portugal, as one of the project's demonstration frameworks.










