VideoCaptureDeviceProvideSnapshots Property |
Namespace: Accord.Video.DirectShow
Some USB cameras/devices may have a shutter button, which may result into snapshot if it is pressed. So the property specifies if the video source will try providing snapshots or not - it will check if the camera supports providing still image snapshots. If camera supports snapshots and the property is set to , then snapshots will be provided through SnapshotFrame event.
Check supported sizes of snapshots using SnapshotCapabilities property and set the desired size using SnapshotResolution property.
Note |
---|
The property must be set before running the video source to take effect. |
Default value of the property is set to .