Table of Contents

Interface IStreamReader

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Read data stream interface. Implement this to let VideoCapture read from an arbitrary managed data source (e.g. an in-memory buffer, network stream, or any other custom stream).

public interface IStreamReader

Remarks

Mirrors cv::IStreamReader.

Methods

Read(Span<byte>)

Reads bytes from the stream into the given buffer.

Seek(long, SeekOrigin)

Sets the stream position.