Udostępnij za pośrednictwem


VisionSource.FromImageSourceBuffer(ImageSourceBuffer) Method

Definition

Builds a VisionSource from an ImageSourceBuffer, allowing the application to pass in an image from a memory buffer.

public static Azure.AI.Vision.Common.VisionSource FromImageSourceBuffer (Azure.AI.Vision.Common.ImageSourceBuffer imageSourceBuffer);
static member FromImageSourceBuffer : Azure.AI.Vision.Common.ImageSourceBuffer -> Azure.AI.Vision.Common.VisionSource
Public Shared Function FromImageSourceBuffer (imageSourceBuffer As ImageSourceBuffer) As VisionSource

Parameters

imageSourceBuffer
ImageSourceBuffer

The image source buffer containing the image to process

Returns

A VisionSource that uses the specified input source buffer

Applies to