createStreamAPI
ARGUMENTSSee signature below
HELPERcreateStreamAPI
RETURN TYPESee signature below
Create file and iterable source factories for one isolated OpenCV instance.
export declare const createStreamAPI: (cv: MainModule) => {
make_capture_src: (path: string, apiPreference?: number) => GraphSource;
make_js_src: (frames: GraphFrames) => GraphSource;
get_streaming_source: (source: GraphSource | GraphFrames) => GraphSource;
};These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.