Package-level declarations

Types

Link copied to clipboard

Handles resumable HTTP file downloads and archive extraction.

Link copied to clipboard
object DpiUtil

Stateless utility for reading and writing DPI (dots per inch) metadata in image files.

Link copied to clipboard

Stateless image preprocessing pipeline for OCR: grayscale conversion, Otsu binarization, and median denoising.

Link copied to clipboard

Stateless utility for geometric image transformations (rotations, flips) used to correct image orientation before OCR processing.

Link copied to clipboard
class LlamaHttpClient(defaultPort: () -> Int, log: (CodBi.LogLevel, String) -> Unit)

HTTP client for communicating with a local LLAMA-Server instance.

Link copied to clipboard

Manages the lifecycle of a local LLAMA-Server OS process.

Link copied to clipboard

Detects the current server platform, GPU backend, and physical CPU core count.

Link copied to clipboard

Handles incoming Whisper servlet requests: health-check probes, resource gating, audio extraction, and transcription routing (local vs external).

Link copied to clipboard

Manages the full lifecycle of a local whisper-server instance: binary download, FFmpeg provisioning, process launch, health-checking, resource monitoring, and shutdown.

Link copied to clipboard

Stateless HTTP client for forwarding audio to a Whisper-compatible transcription endpoint.