Three new additions to the elixir-image family hit Hex this week.
image_ocr
image_ocr is an idiomatic Elixir interface to Tesseract 5 via a NIF over the C++ API. Plain text or per-word results with confidence and bounding boxes, auto-normalisation of pixel format before recognition, flexible locale handling, +-joined combinations), and a NimblePool-backed pool for parallel recognition across schedulers.
Tesseract is quite a large install so it’s not available pre-compiled but there are install instructions for most common platforms.
image_qrcode
A QR encoding (via Nayuki’s QR-Code-generator) and decoding (via quirc). Both run on dirty CPU schedulers and ship as precompiled NIFs for Linux (gnu/musl × x86_64/aarch64/armv7), macOS (x86_64/arm64) and Windows (x86_64) — typically no compiler toolchain required at install time.
image_lens_correction
.Corrections for the four most common camera-lens defects: radial (barrel/pincushion) distortion, vignetting, lateral chromatic aberration, and geometric projection.
Driven by the fabulous Lensfun community calibration database (1,013 camera bodies, 1,459 lens calibration sets) bundled as a compact ~5 MB Erlang term file.
The EXIF-driven pipeline (Image.LensFun.Correct.correct/2) reads the camera/lens identification, focal length, aperture and focus distance from image metadata, looks up and interpolates the calibration, and applies all enabled corrections in one pass.
This one has been lingering half-finished for a couple of years so its feels good to get it ready for release.






















