First Impressions: Vancouver

First Impressions: Vancouver

Having arrived here on Thursday, I thought I’d post a few topics that I have found to be notable from the past few days. These aren’t necessarily highlights, nor is it an exhaustive account, but instead some general first impressions of the place from someone who has never been here before. Here goes: Stanley Park …

Generating SVG with PHP

Generating SVG with PHP

In one of my previous jobs, I had to develop a system that could automatically produce sheets of images that could be printed onto Avery type business card paper. The purpose was to create a ticketing system which could be used to distribute unique codes out to people so that they could log in with …

SL4A: Speech Recognition and Transcription

SL4A: Speech Recognition and Transcription

SL4A gives you access to a simplified Android API, but it’s still got plenty of functionality to make some functional apps using small amounts of code. The following Python script starts a speech recognition dialogue, then outputs that as text in the terminal. transcribe-speech.py Alternatively, you can use a barcode scanner to scan in the …

Streaming a web cam in Ubuntu

Streaming a web cam in Ubuntu

It’s pretty easy to get a webcam to stream in Ubuntu, or indeed any Debian distribution. In this example I’m using Ubuntu 10.04 (Karmic) and a Microsoft Lifecam VX-1000 web cam. First get root access with the usual command. Next open up a terminal window and install webcam-server as follows: Now go to the /dev …