terminate
Terminate all VisionPortal resources (Level 4).
Use this method when you are completely done with the VisionPortal and want to free up all available resources. This method will automatically disable all processors and close the VisionPortal, and cannot be undone without calling init() again.
It is strongly discouraged to reinitialise the VisionPortal in the same OpMode, as this takes significant time and may cause the OpMode to hang or become unresponsive. Instead, use the start()
and stop()
methods to enable/disable the VisionPortal. Repeated calls to init()
will also cause a termination of the VisionPortal.
Return
the vision instance