|
IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
config general parameters of Kinect v1 camera More...


Public Member Functions | |
| def | __init__ (self, str yamlFilePath=None) |
| the constructor. More... | |
| def | getConfig (self) |
| returns config dictionary More... | |
| def | setConfig (self, str filePath) |
| allows setting all configs at once More... | |
| def | setConfigParameter (self, cam, param, value) |
| allows the setting of a specific parameter of a camera to a certain value More... | |
Public Member Functions inherited from CfgCamera | |
| def | __init__ (self, init_dict=None, key_list=None, new_allowed=True) |
Public Member Functions inherited from AlgConfig | |
| def | __setattr__ (self, name, value) |
| def | dump (self, **kwargs) |
config general parameters of Kinect v1 camera
config general parameters of Kinect v1 camera
| def __init__ | ( | self, | |
| str | yamlFilePath = None |
||
| ) |
the constructor.
If yamlFilePath is not given, default initialization is done
| [in] | yamlFilePath | the file path of the yaml to read camera initialization parameters from |
config general parameters of Kinect v1 camera
Args:
yamlFilePath (str):
path of yaml configuration file
| def getConfig | ( | self | ) |
returns config dictionary
returns config dictionary
Returns:
config:
the config dictionary
| def setConfig | ( | self, | |
| str | filePath | ||
| ) |
allows setting all configs at once
| [in] | filePath | path of yaml configuration file |
allows setting all configs at once
Args:
filePath (str):
path of yaml configuration file
| def setConfigParameter | ( | self, | |
| cam, | |||
| param, | |||
| value | |||
| ) |
allows the setting of a specific parameter of a camera to a certain value
| [in] | cam | name of the camera/config section to change the value of |
| [in] | param | the name of the camera parameter |
| [in] | value | value to set parameter to |
allows the setting of a specific parameter of a camera to a certain value
Args:
cam:
name of camera/config section
param:
name of camera parameter
value:
value to set parameter to