reset Function

external fun reset(pause: Boolean)

Discards the smoothed history and starts a fresh detection session.

Call when the scene changes — after a capture, or when the user moves to a new page.

Parameters

  • pause — true to leave detection paused until the next frame arrives
Top