VisualSFM on MacOS with Docker

Reading Time: 3 minutes

It is hard to get VisualSFM running on a current MacOS. But this short article shows how to use VisualSFM on MacOS by running a Docker container. I am running it on a MacBook Pro 2018, without Nvidia chipset. That is the reason why the following instructions show how to use VisualSFM with CPU (SIFT) support. Don’t worry it will run with an acceptable speed for photogrammetry.

Weiterlesen…

Proof of concept 3D Scanner with Kinect and Raspberry Pi2

Reading Time: 3 minutesI am working on a proof of concept standalone mobile 3D Scanner. Hopefully it will be possible to use a Raspberry Pi2 for this project. I have already posted a video on youtube. And some people asked for short instructions on how to run the Kinect on the Raspberry Pi2. And here it comes….


First i printed and modified a Kinect handle i found at Thingiverse. I remixed this handle and added a Raspberry Pi2 and a display mount to it.  You can find the files at: https://www.thingiverse.com/thing:698577
More …

Python GPIO module problem on Raspberry Pi 2

Reading Time: < 1 minuteLast monday the Raspberry Pi 2 was released. I’ve got one of them on Tuesday. After the installation of the new Raspbian Image (2015-01-31) i realized that the default GPIO Python module of Raspian does not work with the Raspberry Pi 2 anymore. I tried to import the module and got a „This module can only be run on a Raspberry Pi!“ message.

There is already a ticket for this issue at Sourceforge.  The sources are fixed but there is no raspbian upgrade until now. You can easily upgrade the module by compiling from source.

First install the needed packages.

$ sudo apt-get install python-dev python3-dev
$ sudo apt-get install mercurial
$ sudo apt-get install python-pip python3-pip

Remove the old packages.

$ sudo apt-get remove python-rpi.gpio python3-rpi.gpio

Install the new Versions

$ sudo pip install hg+https://hg.code.sf.net/p/raspberry-gpio-python/code#egg=RPi.GPIO
$ sudo pip-3.2 install hg+https://hg.code.sf.net/p/raspberry-gpio-python/code#egg=RPi.GPIO

After the installation is complete, you can try the module by starting python.

python

In Python test the installation by importing the module.

import RPi.GPIO

If you get no errors, the module will work.

Have fun!

For more detailed instructions visit:
https://sourceforge.net/p/raspberry-gpio-python/wiki/install/

Edit: Thanks to Ben Croston for the hint in the comments. I changed the instructions above. They match Ben’s suggested way of installation for the development version now.

 

Arduino : Twig/Grove I2C Motor Driver Library

Reading Time: < 1 minute

Da es ein wenig umständlich ist jedes mal die ganze I2C Kommunikation erneut in Code zu gießen, habe ich kurzerhand auf Basis der original Arduino Stepper Library eine kleine Library zur Nutzung des Twig I2C Motor Driver von Seeed geschieben. Mehr…