vision_definitions.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 #
00004 # Copyright 2014 Aldebaran Robotics
00005 #
00006 # Redistribution and use in source and binary forms, with or without
00007 # modification, are permitted provided that the following conditions are met:
00008 #
00009 #    # Redistributions of source code must retain the above copyright
00010 #       notice, this list of conditions and the following disclaimer.
00011 #    # Redistributions in binary form must reproduce the above copyright
00012 #       notice, this list of conditions and the following disclaimer in the
00013 #       documentation and/or other materials provided with the distribution.
00014 #    # Neither the name of the University of Freiburg nor the names of its
00015 #       contributors may be used to endorse or promote products derived from
00016 #       this software without specific prior written permission.
00017 #
00018 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00019 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00020 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00021 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00022 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00023 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00024 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00025 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00026 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00027 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00028 # POSSIBILITY OF SUCH DAMAGE.
00029 #
00030 
00031 # Useful constants used by the Vision modules.
00032 
00033 # Camera model
00034 kOV7670  = 1            # VGA camera
00035 kMT9M114 = 2            # HD wide angle camera
00036 
00037 # Image format
00038 k960p = 3                # 1280*960
00039 k4VGA = 3                # 1280*960
00040 kVGA = 2                 # 640*480
00041 kQVGA = 1                # 320*240
00042 kQQVGA = 0               # 160*120
00043 
00044 # Color Space
00045 kYuvColorSpace = 0
00046 kyUvColorSpace = 1
00047 kyuVColorSpace = 2
00048 kRgbColorSpace = 3
00049 krGbColorSpace = 4
00050 krgBColorSpace = 5
00051 kHsvColorSpace = 6
00052 khSvColorSpace = 7
00053 khsVColorSpace = 8
00054 kYUV422InterlacedColorSpace = 9  #deprecated
00055 kYUV422ColorSpace = 9
00056 kYUVColorSpace = 10
00057 kRGBColorSpace = 11
00058 kHSVColorSpace = 12
00059 kBGRColorSpace = 13
00060 kYYCbCrColorSpace = 14
00061 kH2RGBColorSpace = 15
00062 kHSMixedColorSpace = 16
00063 kDepthColorSpace = 17
00064 kRawDepthColorSpace = 23
00065 
00066 # Scale methods
00067 kSimpleScaleMethod = 0
00068 kAverageScaleMethod = 1
00069 kQualityScaleMethod = 2
00070 kNoScaling = 3
00071 
00072 
00073 # Standard Id
00074 kCameraBrightnessID       = 0
00075 kCameraContrastID         = 1
00076 kCameraSaturationID       = 2
00077 kCameraHueID              = 3
00078 kCameraRedChromaID        = 4
00079 kCameraBlueChromaID       = 5
00080 kCameraGainID             = 6
00081 kCameraHFlipID            = 7
00082 kCameraVFlipID            = 8
00083 kCameraLensXID            = 9
00084 kCameraLensYID            = 10
00085 kCameraAutoExpositionID   = 11
00086 kCameraAutoWhiteBalanceID = 12
00087 kCameraAutoGainID         = 13
00088 kCameraResolutionID       = 14
00089 kCameraFrameRateID        = 15
00090 kCameraBufferSizeID       = 16
00091 kCameraExposureID         = 17
00092 kCameraSelectID           = 18
00093 kCameraSetDefaultParamsID = 19
00094 kCameraColorSpaceID       = 20
00095 kCameraExposureCorrectionID = 21
00096 kCameraAecAlgorithmID     = 22
00097 kCameraFastSwitchID       = 23
00098 kCameraSharpnessID        = 24
00099 kCameraAwbGreenGainID     = 25
00100 kCameraAblcID             = 26
00101 kCameraAblcTargetID       = 27
00102 kCameraAblcStableRangeID  = 28
00103 kCameraBlcBlueID          = 29
00104 kCameraBlcRedID           = 30
00105 kCameraBlcGbID            = 31
00106 kCameraBlcGrID            = 32
00107 kCameraWhiteBalanceID     = 33
00108 kCameraBacklightCompensationID = 34


naoqi_sensors
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 Fri Jul 3 2015 15:25:16