This reference covers the core surface shared across all engine bindings. State is kept internal. All calls are thread-safe unless noted.
start(optional_model_path: const char* = nullptr) -> boolInitializes SDK.
Auto-resolves model and camera if no path is provided.
stop() -> boolStops capture and processing threads.
get_last_error() -> intReturns last fatal code from start().
get_version() -> const char*SDK version string.
poll_blink_events()Drains the queue and invokes your event handlers.
Call exactly once per frame.
timestamp_ms : uint64
intensity : float # 0.0–1.0
side : int # 0=both, 1=left, 2=right
Each engine integration maps these functions into native engine constructs:
When camera_index == -1, Ollo SDK processes frames from an external source instead of a webcam.
Given:
Ollo SDK will produce:
All detection and signal updates are handled exclusively on a dedicated internal worker thread.
Event callbacks are invoked directly from the worker thread.
Callbacks must:
Applications requiring main-thread delivery must enqueue events themselves.