Skip to content
dilshan edited this page Nov 22, 2026 · 3 revisions

Open LRU Fingerprint Library

openlru-lib is a small, readable, dependency-free C library for LRU series USB fingerprint sensors on Linux. It talks to the sensor directly over USB and gives applications two things:

  • Probe - find the sensors that are plugged in.
  • Read - detect a finger, download the raw fingerprint image, and read the feature template the sensor extracts.

Scope: the library contains no fingerprint matching, searching or verification. Images and templates are only read from the sensor.

Documentation

Page Contents
Installation requirements, build, install, udev rule
Quick Start a complete program in 20 lines
Types and Constants structs, enums, size constants
Probing and Opening olru_probe, olru_open, olru_close, olru_link_check
Reading Fingerprints capture, image and template functions
Image Export BMP helpers
Errors and Diagnostics status codes, sensor codes
Examples the GTK programs and code recipes
Architecture source layout and layering
USB Protocol packet format, commands, transports
Supported Devices USB ids and models
Troubleshooting common problems and fixes

Clone this wiki locally