Main Page
Namespaces
Classes
Files
File List
File Members
src
naoqi_sensors
vision_definitions.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
#
4
# Copyright 2014 Aldebaran Robotics
5
#
6
# Redistribution and use in source and binary forms, with or without
7
# modification, are permitted provided that the following conditions are met:
8
#
9
# # Redistributions of source code must retain the above copyright
10
# notice, this list of conditions and the following disclaimer.
11
# # Redistributions in binary form must reproduce the above copyright
12
# notice, this list of conditions and the following disclaimer in the
13
# documentation and/or other materials provided with the distribution.
14
# # Neither the name of the University of Freiburg nor the names of its
15
# contributors may be used to endorse or promote products derived from
16
# this software without specific prior written permission.
17
#
18
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28
# POSSIBILITY OF SUCH DAMAGE.
29
#
30
31
# Useful constants used by the Vision modules.
32
33
# Camera model
34
kOV7670 = 1
# VGA camera
35
kMT9M114 = 2
# HD wide angle camera
36
37
# Image format
38
k960p = 3
# 1280*960
39
k4VGA = 3
# 1280*960
40
kVGA = 2
# 640*480
41
kQVGA = 1
# 320*240
42
kQQVGA = 0
# 160*120
43
44
# Color Space
45
kYuvColorSpace = 0
46
kyUvColorSpace = 1
47
kyuVColorSpace = 2
48
kRgbColorSpace = 3
49
krGbColorSpace = 4
50
krgBColorSpace = 5
51
kHsvColorSpace = 6
52
khSvColorSpace = 7
53
khsVColorSpace = 8
54
kYUV422InterlacedColorSpace = 9
#deprecated
55
kYUV422ColorSpace = 9
56
kYUVColorSpace = 10
57
kRGBColorSpace = 11
58
kHSVColorSpace = 12
59
kBGRColorSpace = 13
60
kYYCbCrColorSpace = 14
61
kH2RGBColorSpace = 15
62
kHSMixedColorSpace = 16
63
kDepthColorSpace = 17
64
kRawDepthColorSpace = 23
65
66
# Scale methods
67
kSimpleScaleMethod = 0
68
kAverageScaleMethod = 1
69
kQualityScaleMethod = 2
70
kNoScaling = 3
71
72
73
# Standard Id
74
kCameraBrightnessID = 0
75
kCameraContrastID = 1
76
kCameraSaturationID = 2
77
kCameraHueID = 3
78
kCameraRedChromaID = 4
79
kCameraBlueChromaID = 5
80
kCameraGainID = 6
81
kCameraHFlipID = 7
82
kCameraVFlipID = 8
83
kCameraLensXID = 9
84
kCameraLensYID = 10
85
kCameraAutoExpositionID = 11
86
kCameraAutoWhiteBalanceID = 12
87
kCameraAutoGainID = 13
88
kCameraResolutionID = 14
89
kCameraFrameRateID = 15
90
kCameraBufferSizeID = 16
91
kCameraExposureID = 17
92
kCameraSelectID = 18
93
kCameraSetDefaultParamsID = 19
94
kCameraColorSpaceID = 20
95
kCameraExposureCorrectionID = 21
96
kCameraAecAlgorithmID = 22
97
kCameraFastSwitchID = 23
98
kCameraSharpnessID = 24
99
kCameraAwbGreenGainID = 25
100
kCameraAblcID = 26
101
kCameraAblcTargetID = 27
102
kCameraAblcStableRangeID = 28
103
kCameraBlcBlueID = 29
104
kCameraBlcRedID = 30
105
kCameraBlcGbID = 31
106
kCameraBlcGrID = 32
107
kCameraWhiteBalanceID = 33
108
kCameraBacklightCompensationID = 34
naoqi_sensors_py
Author(s): Séverin Lemaignan, Vincent Rabaud, Karsten Knese, Jack O'Quin, Ken Tossell, Patrick Beeson, Nate Koenig, Andrew Howard, Damien Douxchamps, Dan Dennedy, Daniel Maier
autogenerated on Thu Jul 16 2020 03:18:33