Robot Challenge 003

Today I worked on a few necessary but rather boring parts of the construction. I got the Sparkfun compass module from Proto-Pic and spent a few hours setting it up and calibrating it. I used the HMC5883L Arduino library example to generate the following: 1 2 3 4 5 6 7 8 9 10 11 […]

Take Snapshots using Python

1 2 3 import ImageGrab img = ImageGrab.grab() img.save(’arkadian.png’,’PNG’)import ImageGrab img = ImageGrab.grab() img.save(‘arkadian.png’,’PNG’) A quick and easy way to take a snapshot of your current window. You can always use JPG, but the quality is better in PNG. Works in Windows and requires PIL.

Merging pdf files in Python with pyPDF

Here is a very simple python script that marges two pdf files, using the pyPDF library. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 import os.path import pyPdf   pdfOne = "C:\\a.pdf" pdfTwo = "C:\\b.pdf"   merged = "C:\\c.pdf"   […]

Linux Video security – Part 1

For a while now, I have been thinking about putting together a video surveillance system at home, based on linux, webcams and python. I’m aware that out of the box systems exist, but I wanted to create something more personalised, which, let’s face it, it’s more fun! 🙂 After reading a bit online, I decided […]

Using dropbox at work

With the arrival of the iPads, we’ve been changing many of our processes in order to put information on the fingertips of our senior mgmt team. Our key app right now is Dropbox and we convert most of the files to pdf. Dropbox is a great little tool, as it enables us to update files […]