lewisdale.dev

Posts Tagged "python"

Motion Sensitive Image Capturing In Python

28/07/2014

This is quite a nice little script that uses the PyGame library to access the computers webcam, and then takes a succession of photos, comparing percentage differences between the photos taken to determine whether or not any motion has occurred. If it...

Read more

Clever Image Resizing In Python

23/07/2014

In the not-too-distant past, I had a bit of trouble with a client who wanted to have images resized on the fly that were of a completely different aspect ratio - i.e. they wanted images that were orignally landscape to be square, with no skewing of the...

Read more