init

open fun init(@NonNull newProcessors: Array<Processor>): Vision

Initialises the Vision class with the specified processors. This method should only be called once per OpMode. Additional calls will internally terminate the VisionPortal and reinitialise it with the new processors (this is a highly expensive operation). Processors will be STOPPED by default, you must call start() after initialising.

Return

the vision instance

Parameters

newProcessors

Processor instances