WebcamVideo
from panda3d.vision import WebcamVideo
- class WebcamVideo
Bases:
MovieVideo
Allows you to open a webcam or other video capture device as a video stream.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getFps()
C++ Interface: get_fps(WebcamVideo self)
- /**
Returns the camera’s framerate. This is a maximum theoretical: the actual
performance will depend on the speed of the hardware.
*/
- getNumOptions()
C++ Interface: get_num_options()
- /**
Returns the number of webcam options. An “option” consists of a device
plus a set of configuration parameters. For example, “Creative Webcam Live
at 640x480, 30 fps” is an option.
*/
- getOptions()
- getPixelFormat()
C++ Interface: get_pixel_format(WebcamVideo self)
- /**
Returns the camera’s pixel format, as a FourCC code, if known.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_fps()
C++ Interface: get_fps(WebcamVideo self)
- /**
Returns the camera’s framerate. This is a maximum theoretical: the actual
performance will depend on the speed of the hardware.
*/
- get_num_options()
C++ Interface: get_num_options()
- /**
Returns the number of webcam options. An “option” consists of a device
plus a set of configuration parameters. For example, “Creative Webcam Live
at 640x480, 30 fps” is an option.
*/
- get_options()
- get_pixel_format()
C++ Interface: get_pixel_format(WebcamVideo self)
- /**
Returns the camera’s pixel format, as a FourCC code, if known.
*/
- options = <WebcamVideo.options[0] of <NULL>>