共用方式為


VisionSource.FromCaptureDevice(String) Method

Definition

Builds a VisionSource from a capture device specified by its attributes

public static Azure.AI.Vision.Core.Input.VisionSource FromCaptureDevice (string deviceAttributes);
static member FromCaptureDevice : string -> Azure.AI.Vision.Core.Input.VisionSource
Public Shared Function FromCaptureDevice (deviceAttributes As String) As VisionSource

Parameters

deviceAttributes
String

Capture device attributes (e.g. "front=true;"), or an empty string for default capture device

Returns

A VisionSource that uses this capture device

Remarks

Not yet supported for use with ImageAnalyzer.

Applies to