No description
  • Rust 55.9%
  • JavaScript 12.7%
  • Python 9.2%
  • Astro 6.8%
  • CSS 6.7%
  • Other 8.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-23 19:19:51 +01:00
.forgejo docs: add an issue form for reporting how the scanner went with your camera, lens and film 2026-11-22 11:28:02 +01:00
brand chore: a bolder logo, as large as RollNote's, and a stronger blue for the app and the site 2026-11-20 09:44:40 +01:00
docs docs(app): new screenshots of the Convert tab 2026-11-22 19:58:03 +01:00
examples feat(app): the app is called Rollscan 2026-11-16 23:49:05 +01:00
firmware/film_scanner feat: scaffold package and film formats 2026-11-13 16:10:59 +01:00
hardware docs: say the 120 kit is printed and tested, with 10x2 O-rings and their leaf springs 2026-11-22 13:21:08 +01:00
icons chore: a bolder logo, as large as RollNote's, and a stronger blue for the app and the site 2026-11-20 09:44:40 +01:00
packaging feat(install): a Windows installer built on a Windows runner, in place of the WSL2 scripts 2026-11-20 18:04:30 +01:00
reference fix(calibrate): measure moves right on thin negatives, and size frames from the film's height 2026-11-20 15:59:00 +01:00
site docs(site): the privacy page says the server logs are deleted after 30 days 2026-11-23 19:19:01 +01:00
src chore(app): format the conversion code as cargo fmt does 2026-11-22 16:11:23 +01:00
tools fix(detect): two bright bands a frame apart are only a frame if edges border them 2026-11-16 20:48:53 +01:00
ui feat(app): the Convert tab shows the picture large, the negatives as thumbnails and the adjustments in one panel 2026-11-22 19:57:53 +01:00
.gitattributes feat(install): packages in place of the install scripts, and docs to match 2026-11-16 19:17:17 +01:00
.gitignore feat(rust): the app's own window, and Linux and macOS bundles 2026-11-16 19:00:51 +01:00
build.rs feat(rust): the app's own window, and Linux and macOS bundles 2026-11-16 19:00:51 +01:00
Cargo.lock chore(release): 0.11.1 2026-11-23 19:13:00 +01:00
Cargo.toml chore(release): 0.11.1 2026-11-23 19:13:00 +01:00
CLAUDE.md docs: every pull request into main bumps the version and is released once merged 2026-11-22 16:35:25 +01:00
CONTRIBUTING.md docs: say the 120 kit is printed and tested, with 10x2 O-rings and their leaf springs 2026-11-22 13:21:08 +01:00
LICENSE docs: open-source release: hardware files, build guide, MIT license 2026-11-13 17:08:43 +01:00
README.md docs: say the 120 kit is printed and tested, with 10x2 O-rings and their leaf springs 2026-11-22 13:21:08 +01:00
tauri.conf.json docs: link the website, and point to the repository where it now lives 2026-11-19 18:44:06 +01:00

Rollscan

An open-source, 3D-printed film scanner that centers every frame by itself. Website and documentation: scan.roll-note.com.

Load a strip of negatives, run one command, and walk away. An Arduino advances the film, your digital camera shoots each frame, and the software checks every shot: if a frame is off-center, it nudges the film and shoots again. It also learns the frame spacing of the camera that shot your roll, so after the first few frames almost every frame is right on the first try.

The scanner set up for 35mm

  • Formats: 35mm (standard and panoramic) and 120 (6x4.5, 6x6, 6x7, 6x9), with swappable film beds and pressure frames.
  • Hands-off: frame detection, automatic centering, end-of-strip detection, and a pause for you to line up a frame by hand if it can't be found.
  • Cheap, common parts: an Arduino Uno, a 28BYJ-48 stepper, an SG90 servo, three push buttons. Everything else is printed.
  • An app with buttons: set up, test, calibrate and scan from one window, no terminal needed. It installs like any other app, on Linux, macOS and Windows.
  • Works on its own too: three buttons jog the film and advance it frame by frame without a computer.
  • Fully parametric: every printed part is generated by one CadQuery script. Change a measurement, re-run it, get new STLs.

Status

This is a working prototype, shared early. Be aware of what has and hasn't been proven:

Part Status
Deck, legs, 35mm film bed, 35mm pressure frame, 35mm sprocket Printed and assembled
Electronics and firmware (stepper, servo, buttons) Built and tested
Camera control on a Fujifilm X-T5 (tethered over USB, from Arch Linux) Tested
Live view in the app on the X-T5 (about 20 frames a second, back after every shot) Tested, during scans too
Centering and calibrating through the live view, with every photo checked Run on the real scanner (X-T5, 35mm negatives)
The film's base measured at the calibration (blank frame, or a gap drawn on the live view) Run on the real scanner (X-T5, 35mm negatives)
Frame detection and centering Run on the real scanner (X-T5, 35mm negatives, thin ones included, and 120 negatives); slides tested in a simulated scanner
A full roll scanned end to end Run end to end on a full roll (X-T5, 35mm negatives)
120 parts (film bed, frames, O-ring roller and its leaf springs) Printed and tested: with 10×2 mm O-rings and their leaf springs the film advances and scans correctly. The first version did not work: the film ran into the locking pins, the roller slipped on it, and the windows hid the gaps between frames. The leaf springs for 2.5 mm O-rings are not printed
The app Run with the real camera and Arduino on Arch Linux and Windows 11: calibration, Check framing, scans, and on Windows the live view and negative conversion too
Linux packages (.deb, AppImage) Run with the scanner: the .deb on Debian 13 and Ubuntu, the AppImage on other Linux
macOS app Written, never run
Windows installer (gphoto2 included, the camera set up from the app) Run on Windows 11 with the scanner (X-T5, Arduino Uno, 35mm negatives): installed, camera set up, calibration, live view, Check framing, scans and negative conversion

Expect to tune the detection on your own negatives. Reports and pull requests are welcome; see CONTRIBUTING.md.

How a scan works

for each frame:
    shoot ──► find the frame in the photo ──► centered? ──yes──► keep it, advance one frame
                                                   │
                                                   no ──► nudge the film, shoot again

Between two frames, a negative is bare film base: the brightest part of the strip, and evenly bright from top to bottom. The software finds those gaps in each photo, works out how far the frame is from the center, and converts that to motor steps using a one-time calibration. More detail in docs/how-it-works.md.

The app

The scanner app

The app running against the simulated scanner used by the tests, calibrated and ready to scan: the live view shows the red boxes around the gaps it found between frames, the green line at the frame's center and the white line at the middle of the picture.

Choose your film and frame size, press Test motor & servo to check the hardware (no camera needed), Calibrate for the film you loaded, then Start scan. If a frame can't be found, the scan pauses and asks you to line it up with the arrows. The window shows what the camera sees, live, with the gaps and the frame's center drawn on it. Your settings are remembered. The app runs on your computer only, in its own window.

Using the app goes through the window and a first roll, step by step.

Build one

The build guide walks through everything: parts list, printing, assembly, wiring, flashing the Arduino, setting up the camera, calibrating, and your first scan.

In short:

  1. Print the parts in hardware/stl/ (which ones).

  2. Wire the stepper, servo and buttons to an Arduino Uno and flash firmware/film_scanner.

  3. Install the app for your system, from the releases page:

    System What to install Status
    Debian, Ubuntu the .deb package Run on Debian 13 and Ubuntu with the scanner
    Other Linux the AppImage Run with the scanner
    macOS the .dmg Untested
    Windows the -setup.exe installer Run on Windows 11 with the scanner

    Then open Rollscan from your applications. Details and manual steps: installation.

Prefer the command line? Calibrating and scanning are commands too (measuring the film's base is in the app only):

rollscan calibrate --format 35mm
rollscan scan 35mm 36 --name roll42 --out ~/scans/roll42
rollscan --no-window           # the app's page, for a browser instead of a window

Something not working? See troubleshooting.

Requirements

  • A digital camera that gphoto2 can trigger over USB, with a macro lens, on a copy stand or tripod pointing down. Developed with a Fujifilm X-T5 and a Laowa 65 mm f/2.8 2× Ultra Macro APO; other gphoto2 cameras should work but are untested.
  • A flat LED light panel for backlighting (the legs are sized for a 20 mm thick panel; change one parameter for yours).
  • A computer running Linux, Windows 11 (Windows 10 untested) or macOS (untested): see installing the software.

Repository layout

Folder Contents
hardware/ STL (print), STEP (edit), the CadQuery source, renders
firmware/ Arduino sketch
src/ The app (Rust), with its tests, run against a simulated scanner
ui/ The app's page
packaging/, icons/ What goes into the installable packages
brand/ The logo: the mark, the wordmark and the lockup, for light and dark backgrounds
reference/, tools/ The Python the app was ported from, and the check that both find the same frames
docs/ Build guide, installation, using the app, how it works, negative conversion, troubleshooting
site/ The website, built from the docs and the hardware files

License

MIT for everything: code, firmware and 3D models. Copyright © 2026 Eliott BIDAULT-HERVOUET.