Tuesday 14 April 2015

Game of Life

Game of Life (gol)

gol is a simple python (with pygame) implementation of famous scouser John Horton Conway's cellular automaton known as 'Game of Life' or 'Life'. Well, between you and me, it's not actually a game. But it really is a facinating programming exercise with some surprising results. It is amazing how much variation can emerge from a small rule set.

Saturday 7 March 2015

Catmon

Cat Monitor

Catmon is a simple cat flap monitor application written in python. It takes a picture when a cat enters through the cat flap, uploads the picture to google drive (gdrive) and tweets it on @boosimba.

The original project in 2015 was an opportunity to improve my knowledge of python and physical computing using a raspberry pi. Along the way I also learned to solder (well sort of).

The project was given a major overhaul in 2023 to move it a raspberry pi 3b+, running a 64 bit operating system, to include the catmon image classifier (aka catmonic). Catmonic is a pytorch deep learning module that classifies a catmon image with the cat's name and probability. 

So if you are interested in a 'practical' example of how to a write a python script that runs on a raspberry pi and interacts with a reed switch, camera, gdrive and twitter then read on*...

* The project is described below (as originally published) followed by a description of the main project updates.