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
AndroidDeviceTorch = 8001Properties of cameras available through NDK Camera API backend
Aperture = 17008Aperture. Can be readonly, depends on camera program.
AravisAutoTrigger = 600Automatically trigger frame capture if camera is configured with software trigger
AudioBaseIndex = 63(read-only) Index of the first audio channel for .retrieve() calls. That audio channel number continues enumeration after video channels.
AudioDataDepth = 61(open, read) Alternative definition to bits-per-sample, but with clear handling of 32F / 32S
AudioPos = 59(read-only) Audio position is measured in samples. Accurate audio sample timestamp of previous grabbed fragment. See AudioSamplesPerSecond and AudioShiftNsec.
AudioSamplesPerSecond = 62(open, read) determined from file/codec input. If not specified, then selected audio sample rate is 44100
AudioShiftNsec = 60(read only) Contains the time difference between the start of the audio stream and the video stream in nanoseconds. Positive value means that audio is started after the first video frame. Negative value means that audio is started before the first video frame.
AudioStream = 58(open-only) Specify stream in multi-language media files, -1 - disable audio processing or microphone. Default value is -1.
AudioSynchronize = 66(open, read) Enables audio synchronization.
AudioTotalChannels = 64(read-only) Number of audio channels in the selected audio stream (mono, stereo, etc)
AudioTotalStreams = 65(read-only) Number of audio streams.
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)
CodecExtradataIndex = 68Positive index indicates that returning extra data is supported by the video back end. This can be retrieved as cap.Retrieve(data, <returned index>). E.g. When reading from a h264 encoded RTSP stream, the FFmpeg backend could return the SPS and/or PPS if available (if sent in reply to a DESCRIBE request), from calls to cap.Retrieve(data, <returned index>).
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
DtsDelay = 72(read-only) FFmpeg back-end only - maximum difference between presentation (pts) and decompression timestamps (dts) using FPS time base. e.g. delay is maximum when frame_num = 0, if true, VideoCapture.Get(Pts) = 0 and VideoCapture.Get(DtsDelay) = 2, dts = -2. Non zero values usually imply the stream is encoded using B-frames which are not decoded in presentation order.
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)
FrameType = 69(read-only) FFmpeg back-end only - Frame type ascii code (73 = 'I', 80 = 'P', 66 = 'B' or 63 = '?' if unknown) of the most recently read frame.
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.
HwAccelerationUseOpenCL = 52(open-only) If non-zero, create new OpenCL context and bind it to current thread. The OpenCL context created with Video Acceleration context attached it (if not attached yet) for optimized GPU data copy between HW accelerated decoder and cv::UMat.
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_DepthGenerator = 536870912INTELPERC_DepthLowConfidenceValue = 11003INTELPERC_DepthSaturationValue = 11004INTELPERC_GeneratorsMask = 939524096INTELPERC_ImageGenerator = 268435456INTELPERC_IrGenerator = 134217728INTELPERC_ProfileCount = 11001INTELPERC_ProfileIdx = 11002IOS_DeviceExposure = 9002IOS_DeviceFlash = 9003IOS_DeviceFocus = 9001IOS_DeviceTorch = 9005IOS_DeviceWhiteBalance = 9004ImageSeqStart = 73(open-only) Start number for image sequences opened with a printf-style pattern (e.g.
frame_%05d.dpx). Sets the initial frame number and disables automatic first-frame detection. Applicable to VideoCaptureAPIs.FFMPEG (passed as the image2 demuxerstart_number) and VideoCaptureAPIs.IMAGES backends. Default: not set (automatic detection).ImagesBase = 18000Base value for image sequence backend properties (CAP_IMAGES).
ImagesLast = 19000Last value (excluding) for image sequence backend properties (CAP_IMAGES).
Iris = 36IsoSpeed = 30LrfHasKeyFrame = 67FFmpeg back-end only - Indicates whether the Last Raw Frame (LRF), output from VideoCapture.Read() when VideoCapture is initialized with VideoCapture.Open(VideoCaptureAPIs.FFMPEG, [Format, -1]) or Set(Format, -1) is called before the first call to VideoCapture.Read(), contains encoded data for a key frame.
Mode = 9A backend-specific value indicating the current capture mode
Monocrome = 19NThreads = 70(open-only) Set the maximum number of threads to use. Use 0 to use as many threads as CPU cores (applicable for FFmpeg back-end only).
OPENNI2_Mirror = 111OPENNI2_Sync = 110OPENNI_ApproxFrameSync = 105OPENNI_CircleBuffer = 107OPENNI_GeneratorPresent = 109OPENNI_MaxBufferSize = 106OPENNI_MaxTimeDuration = 108OpenNI_Baseline = 102in mm
OpenNI_DepthGenerator = -2147483648OpenNI_DepthGeneratorBaseline = -2147483546OpenNI_DepthGeneratorFocalLength = -2147483545OpenNI_DepthGeneratorPresent = -2147483539OpenNI_DepthGeneratorRegistrationON = -2147483544OpenNI_FocalLength = 103in pixels
OpenNI_FrameMaxDepth = 101in mm
OpenNI_GeneratorsMask = -536870912OpenNI_ImageGenerator = 1073741824OpenNI_ImageGeneratorOutputMode = 1073741924OpenNI_ImageGeneratorPresent = 1073741933OpenNI_IrGenerator = 536870912OpenNI_IrGeneratorPresent = 536871021OpenNI_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").
OpenTimeoutMsec = 53(open-only) timeout in milliseconds for opening a video capture (applicable for FFmpeg and GStreamer back-ends only)
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
Pts = 71(read-only) FFmpeg back-end only - presentation timestamp of the most recently read frame using the FPS time base. e.g. fps = 25, VideoCapture.Get(Pts) = 3, presentation time = 3/25 seconds.
PvAPIMulticastIP = 300ip for anable multicast master mode. 0 for disable multicast
ReadTimeoutMsec = 54(open-only) timeout in milliseconds for reading from a video capture (applicable for FFmpeg and GStreamer back-ends only)
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.
StreamOpenTimeUsec = 55(read-only) time in microseconds since Jan 1 1970 when stream was opened. Applicable for FFmpeg backend only. Useful for RTSP and other live streams
Temperature = 23Tilt = 34Trigger = 24TriggerDelay = 25VideoStream = 57(open-only) Specify video stream, 0-based index. Use -1 to disable video stream from file or IP cameras. Default value is 0.
VideoTotalChannels = 56(read-only) Number of video channels
ViewFinder = 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_AEAGRoiHeight = 442Automatic exposure/gain ROI Height.
XI_AEAGRoiOffsetX = 439Automatic exposure/gain ROI offset X.
XI_AEAGRoiOffsetY = 440Automatic exposure/gain ROI offset Y.
XI_AEAGRoiWidth = 441Automatic exposure/gain ROI Width.
XI_AEMaxLimit = 417Maximum limit of exposure in AEAG procedure
XI_AGMaxLimit = 418Maximum limit of gain in AEAG procedure
XI_AcqBufferSize = 548Acquisition buffer size in buffer_size_unit. Default bytes.
XI_AcqBufferSizeUnit = 549Acquisition buffer size unit in bytes. Default 1. E.g. Value 1024 means that buffer_size is in KiBytes.
XI_AcqFrameBurstCount = 499Sets number of frames acquired by burst. This burst is used only if trigger is set to FrameBurstStart.
XI_AcqTimingMode = 538Type of sensor frames timing.
XI_AcqTransportBufferCommit = 552Number of buffers to commit to low level.
XI_AcqTransportBufferSize = 550Acquisition transport buffer size in bytes.
XI_ApplyCMS = 471Enable applying of CMS profiles to xiGetImage (see XI_PRM_INPUT_CMS_PROFILE, XI_PRM_OUTPUT_CMS_PROFILE).
XI_AutoBandwidthCalculation = 573Automatic bandwidth calculation.
XI_AutoWB = 414Automatic white balance
XI_AvailableBandwidth = 539Calculate and returns available interface bandwidth(int Megabits).
XI_BPC = 445Correction of bad pixels.
XI_BinningHorizontal = 429Horizontal Binning - number of horizontal photo-sensitive cells to combine together.
XI_BinningPattern = 430Binning pattern type.
XI_BinningSelector = 427Binning engine selector.
XI_BinningVertical = 428Vertical Binning - number of vertical photo-sensitive cells to combine together.
XI_BufferPolicy = 540Data move policy.
XI_BuffersQueueSize = 551Queue of field/frame buffers.
XI_CCMatrix00 = 479Color Correction Matrix element [0][0].
XI_CCMatrix01 = 480Color Correction Matrix element [0][1].
XI_CCMatrix02 = 481Color Correction Matrix element [0][2].
XI_CCMatrix03 = 482Color Correction Matrix element [0][3].
XI_CCMatrix10 = 483Color Correction Matrix element [1][0].
XI_CCMatrix11 = 484Color Correction Matrix element [1][1].
XI_CCMatrix12 = 485Color Correction Matrix element [1][2].
XI_CCMatrix13 = 486Color Correction Matrix element [1][3].
XI_CCMatrix20 = 487Color Correction Matrix element [2][0].
XI_CCMatrix21 = 488Color Correction Matrix element [2][1].
XI_CCMatrix22 = 489Color Correction Matrix element [2][2].
XI_CCMatrix23 = 490Color Correction Matrix element [2][3].
XI_CCMatrix30 = 491Color Correction Matrix element [3][0].
XI_CCMatrix31 = 492Color Correction Matrix element [3][1].
XI_CCMatrix32 = 493Color Correction Matrix element [3][2].
XI_CCMatrix33 = 494Color Correction Matrix element [3][3].
XI_CMS = 470Mode of color management system.
XI_ChipTemp = 468Camera sensor temperature.
XI_ColorFilterArray = 475Returns color filter array type of RAW data.
XI_ColumnFPNCorrection = 555Correction of column FPN.
XI_Cooling = 466Start camera cooling.
XI_CounterSelector = 536Select counter.
XI_CounterValue = 537Counter status.
XI_DataFormat = 401Output data format.
XI_DebounceEn = 507Enable/Disable debounce to selected GPI.
XI_DebouncePol = 510Debounce polarity (pol = 1 t0 - falling edge, t1 - rising edge).
XI_DebounceT0 = 508Debounce time (x * 10us).
XI_DebounceT1 = 509Debounce time (x * 10us).
XI_DebugLevel = 572Set debug level.
XI_DecimationHorizontal = 433Horizontal Decimation - horizontal sub-sampling of the image - reduces the horizontal resolution of the image by the specified vertical decimation factor.
XI_DecimationPattern = 434Decimation pattern type.
XI_DecimationSelector = 431Decimation engine selector.
XI_DecimationVertical = 432Vertical Decimation - vertical sub-sampling of the image - reduces the vertical resolution of the image by the specified vertical decimation factor.
XI_DefaultCCMatrix = 495Set default Color Correction Matrix.
XI_DeviceModelId = 521Returns device model id.
XI_DeviceReset = 554Resets the camera to default state.
XI_DeviceSN = 522Returns device serial number.
XI_Downsampling = 400Change image resolution by binning or skipping.
XI_DownsamplingType = 426Change image downsampling type.
XI_ExpPriority = 416Exposure priority (0.5 - exposure 50%, gain 50%).
XI_Exposure = 421Exposure time in microseconds.
XI_ExposureBurstCount = 422Sets the number of times of exposure in one frame.
XI_FFSAccessKey = 583Setting of key enables file operations on some cameras.
XI_FFSFileId = 594File number.
XI_FFSFileSize = 580Size of file.
XI_Framerate = 535Define framerate in Hz.
XI_FreeFFSSize = 581Size of free camera FFS.
XI_Gain = 424Gain in dB.
XI_GainSelector = 423Gain selector for parameter Gain allows to select different type of gains.
XI_GammaC = 477Chromaticity gamma.
XI_GammaY = 476Luminosity gamma.
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_HDR = 559Enable High Dynamic Range feature.
XI_HDRKneepointCount = 560The number of kneepoints in the PWLR.
XI_HDRT1 = 561Position of first kneepoint(in % of XI_PRM_EXPOSURE).
XI_HDRT2 = 562Position of second kneepoint (in % of XI_PRM_EXPOSURE).
XI_Height = 452Height of the Image provided by the device (in pixels).
XI_HousBackSideTemp = 590Camera housing back side temperature.
XI_HousTemp = 469Camera housing temperature.
XI_HwRevision = 571Returns hardware revision number.
XI_ImageBlackLevel = 565Last image black level counts. Can be used for Offline processing to recall it.
XI_ImageDataBitDepth = 462bitdepth of data returned by function xiGetImage.
XI_ImageDataFormat = 435Output data format.
XI_ImageDataFormatRGB32Alpha = 529The alpha channel of RGB32 output image format.
XI_ImageIsColor = 474Returns 1 for color cameras.
XI_ImagePayloadSize = 530Buffer size in bytes sufficient for output image returned by xiGetImage.
XI_IsCooled = 465Returns 1 for cameras that support cooling.
XI_IsDeviceExist = 547Returns 1 if camera connected and works properly.
XI_Kneepoint1 = 563Value of first kneepoint (% of sensor saturation).
XI_Kneepoint2 = 564Value of second kneepoint (% of sensor saturation).
XI_LedMode = 412Define camera signalling LED functionality
XI_LedSelector = 411Selects camera signalling LED
XI_LensApertureValue = 512Current lens aperture value in stops. Examples: 2.8, 4, 5.6, 8, 11.
XI_LensFeature = 518Allows access to lens feature value currently selected by XI_PRM_LENS_FEATURE_SELECTOR.
XI_LensFeatureSelector = 517Selects the current feature which is accessible by XI_PRM_LENS_FEATURE.
XI_LensFocalLength = 516Lens focal distance in mm.
XI_LensFocusDistance = 515Lens focus distance in cm.
XI_LensFocusMove = 514Moves lens focus motor by steps set in XI_PRM_LENS_FOCUS_MOVEMENT_VALUE.
XI_LensFocusMovementValue = 513Lens current focus movement value to be used by XI_PRM_LENS_FOCUS_MOVE in motor steps.
XI_LensMode = 511Status of lens control interface. This shall be set to XI_ON before any Lens operations.
XI_LimitBandwidth = 459Set/get bandwidth(datarate)(in Megabits).
XI_LutEn = 541Activates LUT.
XI_LutIndex = 542Control the index (offset) of the coefficient to access in the LUT.
XI_LutValue = 543Value at entry LUTIndex of the LUT.
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_OutputDataBitDepth = 461Device output data bit depth.
XI_OutputDataPacking = 463Device output data packing (or grouping) enabled. Packing could be enabled if output_data_bit_depth > 8 and packing capability is available.
XI_OutputDataPackingType = 464Data packing type. Some cameras supports only specific packing type.
XI_RecentFrame = 553GetImage returns most recent frame.
XI_RegionMode = 595Activates/deactivates Region selected by Region Selector.
XI_RegionSelector = 589Selects Region in Multiple ROI which parameters are set by width, height, ... ,region mode.
XI_RowFPNCorrection = 591Correction of row FPN.
XI_SensorBoardTemp = 596Camera sensor board temperature.
XI_SensorClockFreqHz = 532Sensor clock frequency in Hz.
XI_SensorClockFreqIndex = 533Sensor clock frequency index. Sensor with selected frequencies have possibility to set the frequency only by this index.
XI_SensorDataBitDepth = 460Sensor output data bit depth.
XI_SensorFeatureSelector = 585Selects the current feature which is accessible by XI_PRM_SENSOR_FEATURE_VALUE.
XI_SensorFeatureValue = 586Allows access to sensor feature value currently selected by XI_PRM_SENSOR_FEATURE_SELECTOR.
XI_SensorMode = 558Current sensor mode. Allows to select sensor mode by one integer. Setting of this parameter affects: image dimensions and downsampling.
XI_SensorOutputChannelCount = 534Number of output channels from sensor used for data transfer.
XI_SensorTaps = 437Number of taps.
XI_Sharpness = 478Sharpness Strength.
XI_ShutterType = 436Change sensor shutter type(CMOS sensor).
XI_TargetTemp = 467Set sensor target temperature for cooling.
XI_TestPattern = 588Selects which test pattern type is generated by the selected generator.
XI_TestPatternGeneratorSelector = 587Selects which test pattern generator is controlled by the TestPattern feature.
XI_Timeout = 420Image capture timeout in milliseconds
XI_TransportPixelFormat = 531Current format of pixels on transport layer.
XI_TrgDelay = 544Specifies the delay in microseconds (us) to apply after the trigger reception before activating it.
XI_TrgSelector = 498Selects the type of trigger.
XI_TrgSoftware = 405Generates an internal trigger. PRM_TRG_SOURCE must be set to TRG_SOFTWARE.
XI_TrgSource = 404Defines source of trigger.
XI_TsRstMode = 545Defines how time stamp reset engine will be armed.
XI_TsRstSource = 546Defines which source will be used for timestamp reset. Writing this parameter will trigger settings of engine (arming).
XI_UsedFFSSize = 582Size of used camera FFS.
XI_WBKb = 450White balance blue coefficient.
XI_WBKg = 449White balance green coefficient.
XI_WBKr = 448White balance red coefficient.
XI_Width = 451Width of the Image provided by the device (in pixels).
Zoom = 27