VisionSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a source of vision data, used as input to a Computer Vision operation
public class VisionSource : IDisposable
type VisionSource = class
interface IDisposable
Public Class VisionSource
Implements IDisposable
- Inheritance
-
VisionSource
- Implements
Properties
Id |
The VisionSource's unique ID |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Dispose(Boolean) |
Releases resources |
FromCamera(VisionCamera) |
Builds a VisionSource from the specified VisionCamera object |
FromCaptureDevice(String) |
Builds a VisionSource from a capture device specified by its attributes |
FromDefaultCaptureDevice() |
Builds a VisionSource from the default capture device, such as a camera |
FromFile(String) |
Builds a VisionSource from a local input image or video file |
FromFiles(Func<String>) |
Builds a VisionSource from a callback that returns file names |
FromFiles(IEnumerable<String>) |
Builds a VisionSource from a collection of local input image or video files |
FromFiles(String[]) |
Builds a VisionSource from an array of local input image or video files |
FromFrameSourceBuffer(FrameSourceBuffer) |
Builds a VisionSource from a stream input source |
FromImageSourceBuffer(ImageSourceBuffer) |
Builds a VisionSource from an ImageSourceBuffer, allowing the application to pass in an image from a memory buffer. |
FromRTSPCamera(Uri) |
Builds a VisionSource from an RTSP camera stream |
FromUrl(String) |
Builds a VisionSource from an internet accessible URL |
FromUrl(Uri) |
Builds a VisionSource from an internet accessible URL |
FromVisionSources(VisionSource[]) |
Create a VisionSource from an array of other input VisionSource objects |
Extension Methods
SetProperty(VisionSource, String, String) |
Sets the value of an advanced property by name. |
TryGetProperty(VisionSource, String, String) |
Gets the value of an advanced property by name. |
Applies to
Azure SDK for .NET