Remove bytes from one end of a file

Sometimes – rarely – you need to remove a few bytes from one end of a file. ere’s a quick way of doing it with the UNIX tool dd, so you don’t have to write your own program for it.

Posted in Uncategorized

Running a Tor relay on a Raspberry Pi

The Onion Relay (Tor) is an essentially important piece of infrastructure that helps keep the Internet free. It’s a system of relays that allow users to access the Internet by hopping through several different connections, thus bypassing firewalls and concealing

Tagged with: , ,
Posted in Uncategorized

Autodocumentation with sphinx and git hooks

When you start programming, you never putting thought into how the program should run. Most people do neglect putting enough thought into the documentation, though. If you’re like me, you’ve experienced the difficulty of trying to understand and maintain software

Tagged with: , ,
Posted in Uncategorized

Optimizing point cloud production from stereo photos by tuning the block matcher

In this last post in my series on using a homemade stereo camera to produce 3d point clouds, I’ll show you how to improve your 3d point clouds in order to get optimal results. I’ll also show you where your

Tagged with: , ,
Posted in Uncategorized

Producing 3D point clouds with a stereo camera in OpenCV

In my last posts, I showed you how to build a stereo camera, calibrate it and tune a block matching algorithm to produce disparity maps. The code is written in Python in order to make it easy to understand and

Tagged with: , , ,
Posted in Uncategorized

Extracting files from git into their own repository

Sometimes you’ve been working on a repository and you realize that you want to extract some of its files into a separate repository, e.g. in order to separate the development of one submodule from the main library’s. Of course you

Tagged with: , ,
Posted in Uncategorized

Building an interactive GUI with OpenCV

OpenCV is great for all kinds of computer vision tasks. Many of these can run in a fully automated fashion, where parameters for the CV algorithms are provided by the user before the program begins or can be determined algorithmically

Tagged with: , ,
Posted in Uncategorized

Calibrating a stereo camera with Python

In my last post I showed how to build a stereo camera and work with it comfortably Python as a cohesive object. Today I’ll show you how to calibrate the stereo pair so that you can rectify pictures taken with

Tagged with: , , , , ,
Posted in Uncategorized

Building and calibrating a stereo camera with OpenCV (<50€)

I’ve decided to try my hand at 3D reconstruction using a stereo camera. There are a few good sets of instructions on how to get started with this. I decided to take some heavy inspiration from them and will be

Tagged with: , ,
Posted in Uncategorized

Watching Netflix natively in Linux (OpenSUSE)

So you love Linux but you want to watch Netflix? That used to be a big problem, but it’s not any more. I’ve found two main solutions on different blogs which required a few compromises. Those were: Watch Netflix in

Tagged with: , ,
Posted in Uncategorized
From the archive