Class defining the input type used in the ZED SDK. More...
Functions | |
| None | set_from_camera_id (self, uint, cam_id, BUS_TYPE bus_type=BUS_TYPE.AUTO) |
| Set the input as the camera with specified id. More... | |
| None | set_from_serial_number (self, uint, serial_number) |
| Set the input as the camera with specified serial number. More... | |
| bool | set_virtual_stereo_from_camera_id (self, uint, id_left, uint, id_right, uint, virtual_serial_number) |
| Set the input as a virtual stereo camera from two cameras with specified ids. More... | |
| bool | set_virtual_stereo_from_serial_numbers (self, uint, camera_left_serial_number, uint, camera_right_serial_number, uint, virtual_serial_number) |
| Set the input as a virtual stereo camera from two cameras with specified serial numbers. 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, int, 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, | |||
| cam_id, | |||
| BUS_TYPE | bus_type = BUS_TYPE.AUTO |
||
| ) |
Set the input as the camera with specified id.
| id | : Id of the camera to open. The default, -1, will open the first available camera. A number >= 0 will try to open the camera with the corresponding id. |
| bus_type | : Whether the camera is a USB or a GMSL camera. |
| None set_from_serial_number | ( | self, | |
| uint, | |||
| serial_number | |||
| ) |
Set the input as the camera with specified serial number.
| camera_serial_number | : Serial number of the camera to open |
| bool set_virtual_stereo_from_camera_id | ( | self, | |
| uint, | |||
| id_left, | |||
| uint, | |||
| id_right, | |||
| uint, | |||
| virtual_serial_number | |||
| ) |
Set the input as a virtual stereo camera from two cameras with specified ids.
| id_left | : Id of the left camera. |
| id_right | : Id of the right camera. |
| virtual_serial_number | : Serial number of the virtual stereo camera. |
| bool set_virtual_stereo_from_serial_numbers | ( | self, | |
| uint, | |||
| camera_left_serial_number, | |||
| uint, | |||
| camera_right_serial_number, | |||
| uint, | |||
| virtual_serial_number | |||
| ) |
Set the input as a virtual stereo camera from two cameras with specified serial numbers.
| camera_left_serial_number | : Serial number of the left camera. |
| camera_right_serial_number | : Serial number of the right camera. |
| virtual_serial_number | : Serial number of the virtual stereo 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, | |||
| int, | |||
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 |