Share via


ImageObjectExtractor.CreateWithSoftwareBitmapAsync(SoftwareBitmap) Method

Definition

Asynchronously creates an ImageObjectExtractor using an uncompressed bitmap.

public:
 static IAsyncOperation<ImageObjectExtractor ^> ^ CreateWithSoftwareBitmapAsync(SoftwareBitmap ^ softwareBitmap);
 static IAsyncOperation<ImageObjectExtractor> CreateWithSoftwareBitmapAsync(SoftwareBitmap const& softwareBitmap);
public static IAsyncOperation<ImageObjectExtractor> CreateWithSoftwareBitmapAsync(SoftwareBitmap softwareBitmap);
function createWithSoftwareBitmapAsync(softwareBitmap)
Public Shared Function CreateWithSoftwareBitmapAsync (softwareBitmap As SoftwareBitmap) As IAsyncOperation(Of ImageObjectExtractor)

Parameters

softwareBitmap
SoftwareBitmap

The uncompressed bitmap image from which to extract artifacts.

Returns

An asynchronous operation object which, when it completes, contains the ImageObjectExtractor.

Remarks

SoftwareBitmap supports a fixed set of pixel formats (see BitmapPixelFormat) that are not optimized for AI Foundry on Windows. Use CreateWithImageBufferAsync for pixel formats that are optimized for AI Foundry on Windows.

Applies to

See also