Enum VideoCaptureProperties
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Property identifiers for CvCapture
[SuppressMessage("Microsoft.Design", "CA1717: Only FlagsAttribute enums should have plural names")]
public enum VideoCaptureProperties
Fields
Aperture = 17008Aperture. Can be readonly, depends on camera program.
AutoExposure = 21exposure control done by camera, user can adjust refernce level using this feature
AutoFocus = 39AutoWB = 44enable/ disable auto white-balance
BackLight = 32Backend = 42Current backend (enum VideoCaptureAPIs). Read-only property
BitRate = 47(read-only) Video bitrate in kbits/s
Brightness = 10Brightness of image (only for cameras)
BufferSize = 38Channel = 43Video input or Channel Number (only for those cameras that support)
CodecPixelFormat = 46(read-only) codec's pixel format. 4-character code - see VideoWriter::fourcc . Subset of AV_PIX_FMT_* or -1 if unknown
Contrast = 11contrast of image (only for cameras)
ConvertRgb = 16Boolean flags indicating whether images should be converted to RGB
Exposure = 15Exposure (only for cameras)
ExposureProgram = 17009Camera exposure program.
Focus = 28Format = 8The format of the Mat objects returned by retrieve()
FourCC = 64-character code of codec (only for cameras).
Fps = 5Frame rate (only for cameras)
FrameCount = 7Number of frames in the video stream
FrameHeight = 4Height of frames in the video stream (only for cameras)
FrameWidth = 3Width of frames in the video stream (only for cameras)
GIGA_FrameHeightMax = 10004GIGA_FrameOffsetX = 10001GIGA_FrameOffsetY = 10002GIGA_FrameSensHeight = 10006GIGA_FrameSensWidth = 10005GIGA_FrameWidthMax = 10003GPhoto2_CollectMsgs = 17005Collect messages with details.
GPhoto2_FlushMsgs = 17006Readonly, returns (const char *).
GPhoto2_Preview = 17001Capture only preview from liveview mode.
GPhoto2_ReloadConfig = 17003Trigger, only by set. Reload camera settings.
GPhoto2_ReloadOnChange = 17004Reload all settings on set.
GPhoto2_WidgetEnumerate = 17002Readonly, returns (const char *).
GStreamerQueueLength = 200default is 1
Gain = 14Gain of the image (only for cameras)
Gamma = 22Guid = 29Hue = 13hue of image (only for cameras)
HwAcceleration = 50(open-only) Hardware acceleration type (see VideoAccelerationType). Setting supported only via params parameter in cv::VideoCapture constructor / .open() method. Default value is backend-specific.
HwDevice = 51(open-only) Hardware device index (select GPU if multiple available). Device enumeration is acceleration type specific.
INTELPERC_DepthConfidenceThreshold = 11005INTELPERC_DepthFocalLengthHorz = 11006INTELPERC_DepthFocalLengthVert = 11007INTELPERC_DepthLowConfidenceValue = 11003INTELPERC_DepthSaturationValue = 11004INTELPERC_ProfileCount = 11001INTELPERC_ProfileIdx = 11002IOS_DeviceExposure = 9002IOS_DeviceFlash = 9003IOS_DeviceFocus = 9001IOS_DeviceTorch = 9005IOS_DeviceWhiteBalance = 9004Iris = 36IsoSpeed = 30Mode = 9A backend-specific value indicating the current capture mode
Monocrome = 19OPENNI2_Mirror = 111OPENNI2_Sync = 110OPENNI_ApproxFrameSync = 105OPENNI_CircleBuffer = 107OPENNI_GeneratorPresent = 109OPENNI_MaxBufferSize = 106OPENNI_MaxTimeDuration = 108OpenNI_Baseline = 102in mm
OpenNI_DepthGenerator = -2147483648OpenNI_DepthGeneratorBaseline = 1073741926OpenNI_DepthGeneratorFocalLength = 1073741927OpenNI_DepthGeneratorRegistrationON = 1073741928OpenNI_FocalLength = 103in pixels
OpenNI_FrameMaxDepth = 101in mm
OpenNI_ImageGenerator = 1073741824OpenNI_ImageGeneratorOutputMode = 1073741924OpenNI_ImageGeneratorPresent = 1073741933OpenNI_OutputMode = 100OpenNI_Registration = 104flag that synchronizes the remapping depth map to image map by changing depth generator's view point (if the flag is "on") or sets this view point to its normal one (if the flag is "off").
OrientationAuto = 49if true - rotates output frames of CvCapture considering video file's metadata (applicable for FFmpeg back-end only) (https://github.com/opencv/opencv/issues/15499)
OrientationMeta = 48(read-only) Frame rotation defined by stream meta (applicable for FFmpeg back-end only)
PVAPI_BinningX = 304Horizontal binning factor
PVAPI_BinningY = 305Vertical binning factor
PVAPI_DecimationHorizontal = 302Horizontal sub-sampling of the image
PVAPI_DecimationVertical = 303Vertical sub-sampling of the image
PVAPI_FrameStartTriggerMode = 301Determines how a frame is initiated
PVAPI_PixelFormat = 306Pixel format
Pan = 33PosAviRatio = 2Position in relative units (0 - start of the file, 1 - end of the file)
PosFrames = 1Position in frames (only for video files)
PosMsec = 0Position in milliseconds from the file beginning
PvAPIMulticastIP = 300ip for anable multicast master mode. 0 for disable multicast
Rectification = 18TOWRITE (note: only supported by DC1394 v 2.x backend currently)
Roll = 35SARDen = 41Sample aspect ratio: num/den (den)
SARNum = 40Sample aspect ratio: num/den (num)
Saturation = 12Saturation of image (only for cameras)
Settings = 37Pop up video/camera filter dialog (note: only supported by DSHOW backend currently. Property value is ignored)
Sharpness = 20Speed = 17007Exposure speed. Can be readonly, depends on camera program.
Temperature = 23Tilt = 34Trigger = 24TriggerDelay = 25ViewFinder = 17010Enter liveview mode.
WBTemperature = 45white-balance color temperature
WhiteBalanceBlueU = 17WhiteBalanceRedV = 26XI_AEAG = 415Automatic exposure/gain
XI_AEAGLevel = 419Average intensity of output signal AEAG should achieve(in %)
XI_AEMaxLimit = 417Maximum limit of exposure in AEAG procedure
XI_AGMaxLimit = 418Maximum limit of gain in AEAG procedure
XI_AutoWB = 414Automatic white balance
XI_DataFormat = 401Output data format.
XI_Downsampling = 400Change image resolution by binning or skipping.
XI_ExpPriority = 416Exposure priority (0.5 - exposure 50%, gain 50%).
XI_GpiLevel = 408Get general purpose level
XI_GpiMode = 407Set general purpose input mode
XI_GpiSelector = 406Selects general purpose input
XI_GpoMode = 410Set general purpose output mode
XI_GpoSelector = 409Selects general purpose output
XI_LedMode = 412Define camera signalling LED functionality
XI_LedSelector = 411Selects camera signalling LED
XI_ManualWB = 413Calculates White Balance(must be called during acquisition)
XI_OffsetX = 402Horizontal offset from the origin to the area of interest (in pixels).
XI_OffsetY = 403Vertical offset from the origin to the area of interest (in pixels).
XI_Timeout = 420Image capture timeout in milliseconds
XI_TrgSoftware = 405Generates an internal trigger. PRM_TRG_SOURCE must be set to TRG_SOFTWARE.
XI_TrgSource = 404Defines source of trigger.
Zoom = 27