- class wpilib.CameraServer¶
Provides a way to launch an out of process cscore-based camera service instance, for streaming or for image processing.
This does not correspond directly to the wpilib CameraServer object; that can be found as
cscore.CameraServer. However, you should not use cscore directly from your robot code, see the documentation for details
- classmethod is_alive() bool ¶
True if the CameraServer is still alive
- classmethod launch(vision_py: Optional[str] = None) None ¶
Launches the CameraServer process in autocapture mode or using a user-specified python script
vision_py – If specified, this is the relative path to a filename with a function in it
You must have robotpy-cscore installed, or this function will fail without returning an error (you will see an error in the console).