This is the source code for a Lego+Raspberry Pi-powered analog film roll scanner. Watch it in action:
First build the Angular frontend:
cd scanner-frontend
npm install
ng build --prod
cd ..
Then deploy the docker-compose:
cd docker
# Adjsut the hostname to your Raspberry Pi
export DOCKER_HOST=tcp://piscanner:2376 DOCKER_TLS_VERIFY=
docker-compose up -d --build
cd ..
The camera must be connected to the Raspberry Pi via USB. It must be compatible with libgphoto2.