@openhps/opencv
    Preparing search index...

    Interface VideoSourceOptions

    interface VideoSourceOptions {
        autoPlay?: boolean;
        brightness?: number;
        contrast?: number;
        fourcc?: number;
        fps?: number;
        frameSkip?: number;
        height?: number;
        name?: string;
        persistence?: boolean;
        sharedImageFrame?: boolean;
        source?: DataObject;
        throttlePush?: boolean;
        throttleRead?: boolean;
        uid?: string;
        videoSource?: string | number | Element;
        width?: number;
    }

    Hierarchy

    • SourceNodeOptions
      • VideoSourceOptions
    Index
    autoPlay?: boolean

    Autoplay the video when building the node

    brightness?: number
    contrast?: number
    fourcc?: number
    fps?: number

    Playback frames per second

    frameSkip?: number

    Frames to skip

    1
    
    height?: number
    name?: string

    User friendly name of the node Used for querying a node by its name.

    persistence?: boolean

    Merge objects from persisted source

    true
    
    sharedImageFrame?: boolean

    Shared image frame

    true
    
    source?: DataObject

    Source data object

    throttlePush?: boolean

    Frame skipping

    throttleRead?: boolean
    uid?: string

    Manually set the unique identifier of the node

    videoSource?: string | number | Element
    width?: number