I've been experimenting with trying to get a usable OpenCV environment up and running on my Raspberry Pi, so that I can experiment with using it for machine vision. The catch is that I don't have a decent monitor and keyboard hooked up to the Pi, and I'm using Arch Linux - so most available tutorials aren't quite applicable to me. This blog post describes what I've done so far to get up and running using remoted X-Windows to get the job done.
Since I have an iMac as my main development machine, I already have a decent X server built in. I've happily used that in the past to remote VirtualBox virtual machine desktops from Debian, and it's a convenient and efficient way of running graphical apps on a headless server. So, that seems the logical way to go here.
The first step was to get a basic X client up and running on the Pi. This was probably the hardest part, and involved a lot of searching around, via both pacman and Google. Below are what should be the minimal set of steps to get this working, to save future readers from the trouble...
Continue reading "Running OpenCV headlessly in Arch Linux"