Willyfrog / RoboScan

Raspberry Pi-powered analog film automatic scanner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RoboScan

This is the source code for a Lego+Raspberry Pi-powered analog film roll scanner. Watch it in action: RoboScan

Parts

You'll need these items to build RoboScan:

Installation

First build the Angular frontend:

cd scanner-frontend
npm install
ng build --prod
cd ..

Then deploy the docker-compose:

cd docker
# Adjust the hostname to your Raspberry Pi
export DOCKER_HOST=tcp://piscanner:2376 DOCKER_TLS_VERIFY=
docker-compose up -d --build
cd ..

Starting it

The camera must be connected to the Raspberry Pi via USB. It must be compatible with libgphoto2.

Connect to the web interface

Simply navigate to http://piscanner/ (adjust the hostname to your Raspberry Pi)

Optional: Google Coral TPU

You can improve the machine learning inference performance by using a Google Coral Edge TPU USB Accelerator plugged on a USB port of the Raspberry Pi. To do so, you have to change the file src/Dockerfile. Replace:

CMD ["python", "webapp.py", "--destination", "/storage/share", "--archive", "/storage/archive", "--temp", "/storage/tmp"]

by:

CMD ["python", "webapp.py", "-tpu", "--destination", "/storage/share", "--archive", "/storage/archive", "--temp", "/storage/tmp"]

About

Raspberry Pi-powered analog film automatic scanner

License:GNU General Public License v3.0


Languages

Language:TypeScript 51.5%Language:Python 37.4%Language:HTML 7.6%Language:Shell 1.3%Language:JavaScript 0.9%Language:Dockerfile 0.8%Language:CSS 0.4%Language:AppleScript 0.3%