init

fun init(opMode: OpMode, vararg visionAPIs: VisionAPI)

Initializes the Vision Portal with a list of processors / APIs.

You must create at least one vision API in order to use the portal. This function will not return until the camera finishes turning on.

Example

Vision.init(this, AprilVision, TFlowVision)