DefaultCvProcess¶
- class DefaultCvProcess(reader: CvReader, sleep_seconds: float = 3, changes_checker: ChangesChecker = None)[source]
Bases:
CvProcessRun a reader, detect changes, and dispatch matching handlers.
- start(ui: BaseUi)[source]
Start reading frames and dispatching detected changes.
- Parameters:
ui (BaseUi) – UI instance used as the screenshot source.
- stop()[source]
Request the processing loop to stop.
- include_handlers(handler: CvHandlers)[source]
Attach a handler registry to the process.
- Parameters:
handler (CvHandlers) – Handler registry to append.