config general parameters of OAK camera
More...
|
| def | __init__ (self, str yamlFilePath=None) |
| | the constructor. More...
|
| |
| def | getConfig (self) |
| | returns config dictionary More...
|
| |
| def | setConfig (self, config) |
| | 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...
|
| |
| def | __init__ (self, init_dict=None, key_list=None, new_allowed=True) |
| |
| def | __setattr__ (self, name, value) |
| |
| def | dump (self, **kwargs) |
| |
config general parameters of OAK camera
config general parameters of OAK camera
◆ __init__()
| def __init__ |
( |
|
self, |
|
|
str |
yamlFilePath = None |
|
) |
| |
the constructor.
If yamlFilePath is not give, default initialization is done
- Parameters
-
| [in] | yamlFilePath | the file path of the yaml to read camera initailization parameters from |
config general parameters of OAK camera
Args:
filePath (str):
path of yaml configuration file
◆ getConfig()
returns config dictionary
- Returns
- config the config dictionary
returns config dictionary
Returns:
congif: the config dictionary
◆ setConfig()
| def setConfig |
( |
|
self, |
|
|
|
config |
|
) |
| |
allows setting all configs at once
- Parameters
-
| [in] | config | a configuration dictionary |
allows setting all configs at once
Args:
config: the configuration dictionary
◆ setConfigParameter()
| def setConfigParameter |
( |
|
self, |
|
|
|
cam, |
|
|
|
param, |
|
|
|
value |
|
) |
| |
allows the setting of a specific parameter of a camera to a certain value
- Parameters
-
| [in] | cam | name of the camera to change the value of |
| [in] | param | the name of the camera parameters @value[in] value to set parameter to |
- Note
- if parameters are unclear, print out config
allows the setting of a specific parameter of a camera to a certain value
Args:
cam (any): name of camera
param (any): name of camera parameter
value (any): value to set parameter to
◆ config
The documentation for this class was generated from the following file:
- /home/mary/python/camera/camera/OAK.py