BBC cartoon on Raspberry Pi


Awesome!

Ross D Milligan

Monita, my Hispanic maid, is an old romantic. Keen to impress, I decided to create a passionate and tender cartoon for her reading pleasure, one which would arouse sensual feelings. Problem is, I’m no good with words. Not to worry though, I will simply let BBC News create the captions for the cartoon pictures I have drawn.

Using Python Tools for Visual Studio, I wrote the following Python code on my PC, which I then ported to my Raspberry Pi:

So first we define some constants, which reference the cartoon webpage and pictures, as well as keywords associated with the cartoon.

Next we loop until all our pictures are matched with captions. To do this we use Google’s Speech To Text service to sample BBC News on our TV set, pressing a microphone up against the TV speaker and converting the anchorman’s words into text. Once we have a…

View original post 169 more words

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s