package utils
- Alphabetic
- Public
- Protected
Type Members
- final case class OptimizationError(message: String) extends AnyVal with Product with Serializable
Value Members
- object ImageTransforms
Functional utilities for image processing with safe IO using Either.
Functional utilities for image processing with safe IO using Either.
All operations that involve reading or writing files return TransformationResult, where Left(errorMessage) indicates failure and Right(file) indicates success.
Byte-array and InputStream variants are provided alongside the File-based ones for use in API contexts, where images arrive as raw bytes/streams and results are returned in-memory rather than written to disk.
- object OCR
Utility object for performing image preprocessing tasks for OCR.
Utility object for performing image preprocessing tasks for OCR.
This includes rotation correction, grayscale conversion, contrast adjustment, and optional binarization. All functions that manipulate pixels are pure and do not perform IO.
- object PaletteMaker
Palette maker