OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
computer_vision.vision_controller.VisionController Class Reference

Coordinate capture, preprocessing, inference, tracking, and UI state. More...

Inheritance diagram for computer_vision.vision_controller.VisionController:
ui.vision.vision_request_handler_if.VisionRequestHandlerIf

Public Member Functions

None request_activate (self)
 Start a new camera session when one is not already active.
 
None request_deactivate (self)
 Stop the current session and invalidate all queued frame deliveries.
 
None request_camera_mode (self, VisionCameraMode mode)
 Apply a semantic processing mode to the current or next session.
 
None request_ai_enabled (self, bool enabled)
 Set the desired inference state.
 
None close (self)
 Release transient resources and permanently disconnect the UI.
 

Detailed Description

Coordinate capture, preprocessing, inference, tracking, and UI state.

Member Function Documentation

◆ request_ai_enabled()

None computer_vision.vision_controller.VisionController.request_ai_enabled (   self,
bool  enabled 
)

Set the desired inference state.

Parameters
enabledTrue to submit frames for inference.

Reimplemented from ui.vision.vision_request_handler_if.VisionRequestHandlerIf.

◆ request_camera_mode()

None computer_vision.vision_controller.VisionController.request_camera_mode (   self,
VisionCameraMode  mode 
)

Apply a semantic processing mode to the current or next session.

Parameters
modeDesired processing mode.

Reimplemented from ui.vision.vision_request_handler_if.VisionRequestHandlerIf.


The documentation for this class was generated from the following file: