Art is often made to appeal to a specific set of viewers.  This is the 7th blog in a series exploring the idea of using AI to recognize a viewer and adapt art to their age or interest.  The intent is to encourage early art appreciation while being attractive to all household members.


This week I have involved my grandchildren in making art on the Pi, or at least Pi related art.  These three short visuals with musical accompaniment will be played when the child who created the art is recognized.  We also fooled around with the image recognition which while improving is unlikely to ever get high accuracy, especially at higher frame rates.


Introduction to String Theory


This drawing was made by my 3 year old granddaughter, who appears to have the makings of a physicist.  It was done in colored pencil on ruled paper.

String Theory

The drawing was rotated and manipulated in Photoshop and then brought into Windows Movie Maker.


The Butterfly


The Butterfly was drawn by my 5 year old granddaughter with marker on paper.

The Butterfly

I photographed it, isolated the butterfly, and brought it into Scratch on the Raspberry Pi for animation.  The music was added afterwards and is an excerpt of Bach's Gigue from the 3rd Cello Suite performed by my son on the Double Bass.


Pi Monster


Pi Monster consists of two drawings done by my 7 year old grandson with a bit of work done by me on the 3D printer.  The first drawing is a crime fighting robot done in pencil on ruled paper.  This robot is scarier than anything I have seen in movies or on TV.  It searches out criminals and sucks them up into cages.  When I asked my grandson how it knows they are guilty, he replied "it knows".

Crime Fighting Robot

You might notice it is labelled "mane robot" (main robot).  There is also a back-up robot in case this one fails.  He has abbreviated the rooms - e.g. ctrr at top is the control room, gr is the game room, etc.  No way am I helping him build this thing.  But I did extrude a simplified version with the 3D printer and made a box for him.  Different color filament was manually changed when the correct level was reached as my printer is not multi-spool.

Robot Box

My grandson also made a skyscraper chart in school on March 14th, Pi day.  If you look closely you will see that the building are at the height of the digits in Pi.

Pi Day Skyscraper Chart

This was brought into Photoshop and the robot overlaid for successive frames in Windows Movie Maker.


I also did a fair amount of work over the weekend gathering training photos and experimenting with image recognition.  Hope to report on that soon.


Upcoming Work


  • Improve image recognition
  • Write Python script to drive the monitor and control the art output
  • Continue developing art


Thanks for reading - comments and suggestions are always welcome.


Other Posts in this Series

PiCasso Adapting Art to Viewers: Introduction  Blog #1

PiCasso Adapting Art to Viewers: OpenCV Face Detection, Blog #2

PiCasso Adapting Art to Viewers: Cabinet Design, Blog #3

PiCasso Adapting Art to Viewers: Pi talks to Pi, Blog #4

PiCasso Adapting Art to Viewers: Grandpa Shark, Blog #5

PiCass0 Adapting Art to Viewers: More on Cabinet Design, Blog #7