cff-version: 1.2.0 abstract: "

This repository provides MATLAB code for a live demonstration system that captures video from a camera and feeds it to the OpenAI GPT-4o API for real-time scene analysis. The system overlays GPT-4o's textual descriptions (including an analysis of emotion, atmosphere, and key elements) directly onto the video stream and integrates YOLOv8 for object detection. Designed for engaging public demonstrations at events, the code includes various operator controls and serves as an easily deployable tool to illustrate the practical applications of generative AI.

" authors: - family-names: de Winter given-names: Joost orcid: "https://orcid.org/0000-0002-1281-8200" title: "Supplementary data for the paper 'Code and explanation for the use of GPT-4o for demonstration purposes'" keywords: version: 4 identifiers: - type: doi value: 10.4121/bf2cf37f-29f3-486f-bbb4-e8812f64d1d6.v4 license: CC BY 4.0 date-released: 2025-07-25