Class defining the input type used in the ZED SDK. More...
Functions | |
None | set_from_camera_id (self, uint id, BUS_TYPE bus_type=BUS_TYPE.AUTO) |
Set the input as the camera with specified id (for USB or GMSL cameras only). More... | |
None | set_from_serial_number (self, uint serial_number, BUS_TYPE bus_type=BUS_TYPE.AUTO) |
Set the input as the camera with specified serial number (for USB or GMSL cameras). More... | |
None | set_from_svo_file (self, str svo_input_filename) |
Set the input as the svo specified with the filename. More... | |
None | set_from_stream (self, str sender_ip, port=30000) |
Set the input to stream with the specified ip and port. More... | |
INPUT_TYPE | get_type (self) |
Returns the current input type. | |
str | get_configuration (self) |
Returns the current input configuration as a string e.g: SVO name, serial number, streaming ip, etc. | |
bool | is_init (self) |
Check whether the input is set. | |
Class defining the input type used in the ZED SDK.
It can be used to select a specific camera with an id or serial number, or from a SVO file.
None set_from_camera_id | ( | self, | |
uint | id, | ||
BUS_TYPE | bus_type = BUS_TYPE.AUTO |
||
) |
Set the input as the camera with specified id (for USB or GMSL cameras only).
id | : Id of the camera to open. |
bus_type | : Whether the camera is a USB or a GMSL camera. |
None set_from_serial_number | ( | self, | |
uint | serial_number, | ||
BUS_TYPE | bus_type = BUS_TYPE.AUTO |
||
) |
Set the input as the camera with specified serial number (for USB or GMSL cameras).
camera_serial_number | : Serial number of the camera to open. |
bus_type | : Whether the camera is a USB or a GMSL camera. |
None set_from_svo_file | ( | self, | |
str | svo_input_filename | ||
) |
Set the input as the svo specified with the filename.
svo_input_filename | : The path to the desired SVO file |
None set_from_stream | ( | self, | |
str | sender_ip, | ||
port = 30000 |
|||
) |
Set the input to stream with the specified ip and port.
sender_ip | : The IP address of the streaming sender |
port | : The port on which to listen. Default: 30000 |