Ghost Frame: Display Images of People (and Cats) that Don’t Exist @cogliano
Dan Cogliano blogs his picture frame project which displays people and cats that have never existed. But how?
For my first PyPortal project (and my first CircuitPython project), I wanted to display images from the site ThisPersonDoesNotExist.com, which displays random AI generated images of people who actually do not exist in real life, hence the name, “Ghost Frame”.
The “Ghost Frame” is not just limited to people. The site, ThisCatDoesNotExist.com displays AI generated images of cats. You can select in the code if you want people ghosts or cat ghosts to appear in the frame.
For this project, I used a PyPortal device from Adafruit. I have been waiting for a CircuitPython device that could connect to the internet and the PyPortal not only does that with the use of the ESP32 as a WiFi coprocessor, but it also has a touch display, an ATMEL/Microchip SAMD51 M4 processor for tons of speed and memory, 8MB of Flash, plugin ports and so much more. I have so many ideas for using this device.
The code for the “Ghost Frame” is open source and is available on GitHub. For future development, it would be nice to take advantage of the touch screen and be able to select on the screen to show people or cats.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.