Skip to main content

Configuration

Sunbeam has very little exposed configuration. application.properties sets only the Spring application name, omr-api.

The following implementation choices are hard-coded rather than configurable:

ConcernImplemented value
OCR data pathRelative tessdata directory
OCR languagevie
Tesseract page segmentation mode6
Aligned image size800 x 1200 pixels
Questions and options40 questions; A-D
OCR regionsName: (150, 100, 300, 50); class: (500, 100, 150, 50)
Debug output./data/debug/debug_grid_<original-name>_<timestamp>.jpeg

There is no supported setting for an upload size limit, accepted MIME type, answer count, layout calibration, OCR accuracy threshold, concurrency control, debug output directory, retention period, or access control. Changing these requires application code, not configuration.