ImageObjectExtractor 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 an object that can extract artifacts from an image.
public ref class ImageObjectExtractor sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AI.Imaging.ImageObjectExtractorContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ImageObjectExtractor final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AI.Imaging.ImageObjectExtractorContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ImageObjectExtractor : System.IDisposable
Public NotInheritable Class ImageObjectExtractor
Implements IDisposable
- Inheritance
- Attributes
- Implements
Methods
| Name | Description |
|---|---|
| Close() |
Disposes of the object and associated resources. |
| CreateWithImageBufferAsync(ImageBuffer) |
Asynchronously creates an |
| CreateWithSoftwareBitmapAsync(SoftwareBitmap) |
Asynchronously creates an |
| Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| EnsureReadyAsync() |
Ensures that the ImageObjectExtractor is ready for use by downloading and installing any required components. |
| GetImageBufferObjectMask(ImageObjectExtractorHint) |
Retrieves an uncompressed bitmap, optimized for AI Foundry on Windows, as a |
| GetReadyState() |
Retrieves the state of the underlying language model. |
| GetSoftwareBitmapObjectMask(ImageObjectExtractorHint) |
Retrieves an uncompressed bitmap as a |