Skip to content
ict-badenPublic

About

QR code and barcode scanner for the PC – reads codes from a webcam, the screen, image files or the clipboard and copies or types them. Windows, Linux, macOS. Open source (MIT) by ICT Baden GmbH.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Lupe – Every code, from anywhere. QR codes and barcodes from your webcam, any part of the screen, image files or the clipboard – copied, typed or opened.

Download: current version Windows 10 and 11, x64 Linux x64 and arm64, X11 and Wayland macOS 12 or later, Apple Silicon and Intel .NET 10 Data stays on this PC User interface in English, German, Spanish, French and Chinese Licence: MIT Status: version 1.0, macOS partly tested Build

Download  ·  Features  ·  Quick start  ·  Formats  ·  Documentation  ·  Limits


Read every QR code and barcode on Windows, Linux and macOS – wherever it is.
Lupe reads codes from a webcam, from any part of the screen, from image files and from the clipboard.
It copies the content, types it into the window you were working in, or, when it matches one of your link rules, opens the resulting link.

Win+Shift+Q from any program  ·  keeps running in the notification area  ·  finds all codes in a picture  ·  nothing is sent to the internet

Note

Deutsch: Lupe liest QR- und Barcodes per Webcam, aus einem Bildschirmausschnitt, aus Bilddateien und aus der Zwischenablage, unter Windows, Linux und macOS. Das Ergebnis wird kopiert, in das Programm vorn eingetippt oder als Link geöffnet. Download: die aktuelle Version unter Releases, der neueste Build von main unter „latest“. Die Oberfläche gibt es auf Deutsch, Englisch, Spanisch, Französisch und Chinesisch (die letzten drei maschinell übersetzt, noch nicht gegengelesen); sie folgt der Sprache des Systems. Diese Doku ist Englisch.

Note

The application speaks English, German, Spanish, French and Chinese (simplified) – the last three are machine translations that native speakers have not reviewed yet. It follows the language of the operating system (English for any other language) and can be switched under Settings › Language. This documentation quotes the English labels, for example Screen, Type or Open link; the German interface shows Bildschirm, Eintippen and Link öffnen in their place.

What Lupe does

The selection overlay over a darkened still image of the desktop: a PDF invoice with a QR code, a blue rectangle drawn around the code, and the hint “Drag a rectangle around the code · Click: whole screen · Esc: cancel”. Result notification “QR code recognized” with the link https://example.org/rechnung/2026-118, the status “Copied · Typed” and the buttons Copy, Open link and Show in Lupe. Camera page: live image of the demo camera with a QR code on a label, marked “QR code”, aim corners in the centre, and below it “Last detected” with the link and the buttons Copy and Open link.
Any part of the screen
Press Win+Shift+Q in any program and drag a rectangle around the code – across all monitors, also with the Lupe window closed.
Typed into the app you came from
With Type switched on, the content goes into the window that was active before the scan – as keyboard input, optionally followed by Enter or Tab.
Webcam
Hold a code in front of the camera. Lupe marks it and beeps; the same code is reported again only after it has been out of sight for 3 seconds.
File page: a delivery note with four codes marked 1 QR code, 2 Code 128, 3 EAN-13 and 4 Data Matrix, and the list “4 codes found” with Copy and Open link per row. Settings page: actions per source (Copy, Type, Open link), the key after typing, the shortcut Win+Shift+Q marked as ready, and the link-rule table with regular expression and prefix. History page: twelve entries with time, source (Camera, Screen, File, Clipboard), format and content, a search box, and the buttons “Export as CSV …” and “Delete all”.
Files and clipboard
Open an image, drag it onto the File page or press Ctrl+V. Every code in the picture is found and numbered.
Link rules
A regular expression and an optional prefix turn a code into a link, e.g. an EAN into the item page of your ERP. Only http and https are ever opened.
History
Everything Lupe has read, searchable and exportable as CSV for Excel. Stored per user – or switched off, which deletes the file.

And also

Every code in the picture
Several codes are reported in reading order. After a screen scan you pick one (N codes found – which one?) or copy them all, one per line
Small codes on big screens
4K screenshots are searched as an overview plus overlapping tiles in full resolution; if nothing turns up, a thorough second pass tries rotated versions (smaller pictures also enlarged or halved)
Typing that does not depend on the keyboard layout
Unicode keyboard input: umlauts, € and emoji arrive as they are. Lupe waits until you have let go of the shortcut keys and does not type into a window running as administrator
Links that stay where you sent them
Behind a prefix with a host, the code is percent-encoded and the finished link must keep that host – the code cannot redirect you to another site. Without a prefix, like the default rule, the code itself is the link, to any host, but only http/https
Runs in the notification area
Closing the window keeps Lupe and its shortcut running; optionally it starts with Windows. One Lupe per Windows session
Command line
Lupe.exe read C:\Scans\*.png prints one line per code, FORMAT⇥content, with exit codes 0, 1 and 3 for scripts

Quick start

① Download
MSI for all users, or the single Lupe.exe that runs without installation and without a .NET runtime.
② Scan
Press Win+Shift+Q and drag a rectangle around a code. A click without dragging takes the whole monitor, Esc cancels.
③ Use the result
The content is on the clipboard. To have it typed into the window you came from, tick Type under Settings › Screen region.

① Download – the current version is Lupe 1.0.0, the release marked Latest under Releases on the right of the repository page. Its file names carry the version; only Lupe.exe keeps its name, so releases/latest/download/Lupe.exe always delivers the current version:

File What it is
Lupe-1.0.0-x64.msi Installer for all users, Start menu entry, no autostart; .NET included.
Lupe.exe A single file that runs without installation; .NET included.
Lupe-1.0.0-win-x64-framework.zip Small variant; needs the .NET 10 Runtime.
lupe_1.0.0_amd64.deb Linux package for Debian and Ubuntu (x64): sudo apt install ./lupe_1.0.0_amd64.deb.
Lupe-1.0.0-linux-x64.tar.gz, Lupe-1.0.0-linux-arm64.tar.gz Linux, any distribution with glibc 2.31 or later (Ubuntu 20.04, Debian 11 and newer): unpack and run lupe/install.sh (per user, no root).
Lupe-1.0.0-macos-arm64.zip, Lupe-1.0.0-macos-x64.zip Lupe.app for Apple Silicon or Intel Macs, not yet notarised: the first time, allow it under System Settings › Privacy & Security › Open Anyway (how). macOS is only partly tested, see Limits.

Checksums of all files: SHA256SUMS.txt. What changed: CHANGELOG.

Newest build from main (pre-release latest, for trying out changes, not for distribution)

The pre-release latest is rebuilt from main every night when main has changed. It is tested like a version but may contain changes that are not released yet. Its file names stay the same, so these links always deliver the newest build:

File What it is
Lupe-x64.msi Installer for all users, Start menu entry, no autostart; .NET included.
Lupe.exe A single file that runs without installation; .NET included.
Lupe-win-x64-framework.zip Small variant; needs the .NET 10 Runtime.
lupe_amd64.deb Linux package for Debian and Ubuntu (x64): sudo apt install ./lupe_amd64.deb.
Lupe-linux-x64.tar.gz, Lupe-linux-arm64.tar.gz Linux, any distribution with glibc 2.31 or later (Ubuntu 20.04, Debian 11 and newer): unpack and run lupe/install.sh (per user, no root).
Lupe-macos-arm64.zip, Lupe-macos-x64.zip Lupe.app for Apple Silicon or Intel Macs, not yet notarised: the first time, allow it under System Settings › Privacy & Security › Open Anyway (how).

All variants include .NET except the framework ZIP. On macOS the default shortcut is ⌘+⌥+Q (⌘+⇧+Q logs out there).

Requirements, downloading from the command line, the camera and screen permissions on each system, autostart and uninstalling: Installation →

② Scan – the shortcut works in every program as long as Lupe is running, also when its window is closed. The camera, files and the clipboard are on the pages Camera and File. Walkthrough: Using the app →

③ Use the result – by default Lupe only copies. What happens with a result is set separately for the screen scan and for camera, file and clipboard: Copy, Type (after a screen scan into the window you came from, from the camera like a hand scanner into the program in front) and Open link. Every setting with its default: Settings → – and how links are built: Link rules →

From the command line

The same Lupe.exe reads image files without opening a window. One line per code – the format, a tab, the content:

Lupe.exe read delivery-note-4711.png
QR_CODE	https://example.org/lieferung/4711
CODE_128	LS-2026-004711
EAN_13	4012345000009
DATA_MATRIX	SN:LUP-000815;LOT:2610A
Exit code Meaning
0 at least one code found
1 no code found
3 error – an image is missing or unreadable, wrong call, cancelled – even if other images had codes

Wildcards, --format, encoding and why a command prompt needs start /wait: Command line →

Supported formats

Lupe reads 22 formats with zxing-cpp 3.1.1 (NuGet package ZXingCpp 0.5.3). All are active by default; Settings › Formats can limit them. The column Name is what the option --format and the settings file expect – the names of the earlier versions are unchanged.

Format Name Kind Notes
QR Code QR_CODE 2D Model 1 and 2; several codes close together are separated
Data Matrix DATA_MATRIX 2D square and rectangular
Aztec AZTEC 2D Aztec runes are not read
PDF417 PDF_417 2D (stacked) also Compact PDF417
MaxiCode MAXICODE 2D only from clean, upright images – see Limitations
Micro QR Code MICRO_QR_CODE 2D new in this version
rMQR Code RMQR_CODE 2D rectangular Micro QR, new
MicroPDF417 MICRO_PDF_417 2D (stacked) new
Code 128 CODE_128 1D GS1-128 with the group separator (\x1D) after variable-length fields
Code 39 CODE_39 1D read as printed: a check digit is not verified, Full ASCII is not expanded
Code 93 CODE_93 1D
Codabar CODABAR 1D without the start and stop characters
ITF (Interleaved 2 of 5) ITF 1D also ITF-14
EAN-13, EAN-8 EAN_13, EAN_8 1D without the 2- or 5-digit add-on
UPC-A, UPC-E UPC_A, UPC_E 1D 12 and 8 digits, without the add-on
GS1 DataBar RSS_14 1D also the stacked variants; the 14-digit GTIN
GS1 DataBar Expanded RSS_EXPANDED 1D single row and stacked; text in brackets, (01)…(3103)…
GS1 DataBar Limited RSS_LIMITED 1D new; the 14-digit GTIN
Telepen TELEPEN 1D new
DX film edge DX_FILM_EDGE 1D new; the code on the edge of 35 mm film

Light codes on dark backgrounds – dark mode, displays – are read in every format by the screen scan, files, the clipboard and the command line, also next to dark-on-light codes. The camera reads light 2D codes (QR, Data Matrix, Aztec, PDF417, MaxiCode), not light barcodes.

Not supported: Intelligent Mail (IMB) – the earlier library read it, zxing-cpp does not; MSI, Pharmacode and Plessey. Why and how the search works: How it works →

Compared with Barcode-Reader

Lupe is a rewrite of the earlier internal Barcode-Reader (.NET Framework 4.5.2, AForge for the webcam) on a current stack: .NET 10, Avalonia (Windows, Linux, macOS) with the Windows 11 look of the sibling tools Vitrine and Zutritt, Windows.Media.Capture for the camera on Windows.

Barcode-Reader Lupe
Webcam scan with marking, aim help and beep ✔︎ ✔︎ Aim guide, Sound on detection
Freeze time for repeated codes ✔︎ ✔︎ Repeat lock, counted from the last sighting
Open links by regex whitelist with prefix ✔︎ ✔︎ several Link rules, only http/https, code percent-encoded behind a host
Hand the content to another program ✔︎ paste ✔︎ Unicode typing into the window that was active before the screen scan, optional Enter/Tab
Screen region with a global shortcut, all monitors – ✔︎
Image files, drag and drop, clipboard – ✔︎
History with search and CSV export – ✔︎
Settings config.xml in Documents Settings page, %LocalAppData%\Lupe\einstellungen.json
Command line – ✔︎ read
EAN/UPC 2- and 5-digit add-ons ✔︎ – not part of the result
Save camera image to disk, custom logo and colours, debug level ✔︎ – Lupe stores no images and follows the Windows light/dark setting

“–” = not available; for Barcode-Reader: not among its documented features. Lupe does not read the old config.xml – link rules have to be entered again.

Documentation

Installation
Windows (MSI, single exe, ZIP), Linux (.deb, tar.gz), macOS (Lupe.app), requirements, permissions, autostart, updates and uninstalling
Using the app
Every page with screenshots, the screen scan step by step, workflows such as “scan from the screen, type into the ERP”
Settings
Every setting with its default, where it applies, the settings file and what happens when it is broken or locked
Link rules
Pattern and prefix, the three ways a link is built, examples, and the safety checks
Command line
Reading images with read, choosing formats, output and exit codes, encoding, waiting with start /wait, Linux and macOS, --version and --info, start switches
How it works
Decoding stages, live vs. thorough search, phantom-code protection, screen capture and DPI, typing, camera
Data & privacy
What is stored where, the history file, clipboard, autostart entry, network connections
Limitations
What was tested where (macOS only partly), elevated windows, control characters, encodings and other honest limits
Error codes
Messages with a code such as LUP-0001: what they mean and what to do
Development
Building with .NET 10, about 1,300 tests and which ones skip themselves, architecture, CI and releases, the self-built zxing-cpp library, MSI, regenerating the screenshots

Limits, honestly

  • Tested on Windows and Linux, on macOS only partly. On a real Mac, Lupe 1.0.0 has been started with its window, the demo camera and the command line; the screen scan, typing, the shortcut and a real camera are untested there. Details: Limitations › Status.
  • Automated tests without webcam and desktop. On CI the camera path runs against a simulated frame source; screen capture, the global shortcut and typing have tests that need a visible desktop and skip themselves there.
  • Windows protects elevated windows. Lupe cannot type into a program that runs as administrator unless Lupe runs as administrator too. It detects this, types nothing and says so in the result notification.
  • Control characters are not typed. The group separator in GS1 codes, for example, is dropped when typing; the command line shows it as \x1D.
  • MaxiCode is only found in clean, upright images.
  • Command line into a pipe uses the console's code page; characters outside it are replaced. Redirect into a file for lossless UTF-8.
  • Wayland goes through the desktop portals. The screen scan, typing and the shortcut ask for permission there, and not every desktop offers every portal; Lupe cannot see which window is in front. Details: Limitations › Linux and macOS.
  • Not code-signed yet. SmartScreen may warn; macOS Gatekeeper asks once.
  • Licence: MIT. Lupe is under the MIT licence, like all software of ICT Baden GmbH. The licences of the bundled third-party components (zxing-cpp with libzint and libzueci, Avalonia, SkiaSharp and HarfBuzzSharp with the libraries compiled into them, ANGLE, MicroCom, C#/WinRT, the Windows SDK projection, .NET and more) are in THIRD-PARTY-NOTICES.txt, which ships in every package and opens from About › Recognition and user interface › License texts.

Everything else: Limitations →

Build it yourself

dotnet build Lupe.sln
dotnet test Lupe.sln     # camera, desktop and timing tests skip themselves where they cannot run
dotnet run --project src/Lupe -- --demo      # window with demo camera and sample history, saves nothing

Needs the .NET 10 SDK (global.json: 10.0.100, roll forward to the latest feature band). MSI, CI, architecture and screenshots: Development →

Publisher

Lupe is published by ICT Baden GmbH – free and open source software under the MIT licence.

Product page ict-baden.de/produkte/lupe
Legal notice (Impressum) ict-baden.de/impressum
Privacy notice for Lupe (Datenschutz) ict-baden.de/datenschutz/lupe – what the app stores locally: Data & privacy
Support free via GitHub, guaranteed with a support contract
Security SECURITY.md
Changes CHANGELOG.md
Third-party licences THIRD-PARTY-NOTICES.txt


Lupe · Every code, from anywhere · published by ICT Baden GmbH

About

QR code and barcode scanner for the PC – reads codes from a webcam, the screen, image files or the clipboard and copies or types them. Windows, Linux, macOS. Open source (MIT) by ICT Baden GmbH.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages