Constructors
constructor
- new VideoCapture(filePathOrdevicePort): VideoCapture
Parameters
filePathOrdevicePort: string | number
Methods
get
- get(property): number
Returns number
read
- read(): Mat
Returns Mat
readAsync
- readAsync(): Promise<Mat>
Returns Promise<Mat>
release
- release(): void
Returns void
reset
- reset(): void
Returns void
set
- set(property, value): boolean
Parameters
property: number
value: number
Returns boolean
setAsync
- setAsync(property, value): Promise<boolean>
Parameters
property: number
value: number
Returns Promise<boolean>