ImageObjectExtractor.CreateWithSoftwareBitmapAsync(SoftwareBitmap) Method
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.
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.