Enum cv::videoio::CapProp[][src]

#[repr(C)]pub enum CapProp {
    PosMsec,
    PosFrames,
    PosAviRatio,
    FrameWidth,
    FrameHeight,
    Fps,
    Fourcc,
    FrameCount,
    Format,
    Mode,
    Brightness,
    Contrast,
    Saturation,
    Hue,
    Gain,
    Exposure,
    ConvertRgb,
    WhiteBalanceBlueU,
    Rectification,
    Monochrome,
    Sharpness,
    AutoExposure,
    Gamma,
    Temperature,
    Trigger,
    TriggerDelay,
    WhiteBalanceRedV,
    Zoom,
    Focus,
    Guid,
    IsoSpeed,
    Backlight,
    Pan,
    Tilt,
    Roll,
    Iris,
    Settings,
    Buffersize,
    Autofocus,
}

Video capture’s property identifier.

Variants

PosMsec

Current position of the video file in milliseconds or video capture timestamp.

PosFrames

0-based index of the frame to be decoded/captured next.

PosAviRatio

Relative position of the video file: 0 - start of the film, 1 - end of the film.

FrameWidth

Width of the frames in the video stream.

FrameHeight

Height of the frames in the video stream.

Fps

Frame rate.

Fourcc

4-character code of codec.

FrameCount

Number of frames in the video file.

Format

Format of the Mat objects returned by retrieve() .

Mode

Backend-specific value indicating the current capture mode.

Brightness

Brightness of the image (only for cameras).

Contrast

Contrast of the image (only for cameras).

Saturation

Saturation of the image (only for cameras).

Hue

Hue of the image (only for cameras).

Gain

Gain of the image (only for cameras).

Exposure

Exposure (only for cameras).

ConvertRgb

Boolean flags indicating whether images should be converted to RGB.

WhiteBalanceBlueU

Currently not supported

Rectification

Rectification flag for stereo cameras (note: only supported by DC1394 v 2.x backend currently)

Monochrome
Sharpness
AutoExposure
Gamma
Temperature
Trigger
TriggerDelay
WhiteBalanceRedV
Zoom
Focus
Guid
IsoSpeed
Backlight
Pan
Tilt
Roll
Iris
Settings
Buffersize
Autofocus

Trait Implementations

impl Clone for CapProp[src]

impl Copy for CapProp[src]

impl Debug for CapProp[src]

impl Eq for CapProp[src]

impl Hash for CapProp[src]

impl PartialEq<CapProp> for CapProp[src]

impl StructuralEq for CapProp[src]

impl StructuralPartialEq for CapProp[src]

Auto Trait Implementations

impl RefUnwindSafe for CapProp

impl Send for CapProp

impl Sync for CapProp

impl Unpin for CapProp

impl UnwindSafe for CapProp

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.