-
Notifications
You must be signed in to change notification settings - Fork 169
Change to Experimental 2/ Add ForegroundRemover sample #495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…microsoft/AI-Dev-Gallery into bsonnino/add-foreground-remover
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new Foreground Extractor feature to the AI Dev Gallery, which extracts foreground objects from images using the Windows AI ImageForegroundExtractor API. It also updates the Microsoft.WindowsAppSDK package version and fixes a minor formatting issue in scenarios.json.
- Adds new ForegroundExtractor sample with UI and code-behind implementation
- Integrates ForegroundExtractor into API definitions, helpers, and code snippets
- Updates WindowsAppSDK package to version 2.0.0-experimental2
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| Directory.Packages.props | Updates Microsoft.WindowsAppSDK version to 2.0.0-experimental2 |
| AIDevGallery/Samples/scenarios.json | Fixes indentation and adds ForegroundExtractor scenario definition |
| AIDevGallery/Samples/WCRAPIs/ForegroundExtractor.xaml.cs | Implements new ForegroundExtractor sample with image loading, processing, and save/copy functionality |
| AIDevGallery/Samples/WCRAPIs/ForegroundExtractor.xaml | Defines UI layout for the ForegroundExtractor sample |
| AIDevGallery/Samples/Definitions/WcrApis/apis.json | Adds ForegroundExtractor API definition |
| AIDevGallery/Samples/Definitions/WcrApis/WcrApiHelpers.cs | Registers ForegroundExtractor in compatibility checkers and ensure ready functions |
| AIDevGallery/Samples/Definitions/WcrApis/WcrApiCodeSnippet.cs | Adds code snippet example for ForegroundExtractor usage |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.