Skip to content

Conversation

@palash-khare
Copy link
Collaborator

@palash-khare palash-khare commented Nov 4, 2025

Description

Note: This feature will be available through experimental2 release.

Implementation of Image Foreground Extractor Feature
This PR adds a new Image Foreground Extractor feature to the Windows AI Sample application, demonstrating the use of the Windows API for automatic foreground object segmentation.

New Files Added:

[ImageForegroundExtractorModel.cs] - Model manager for handling ImageForegroundExtractor API operations
[ImageForegroundExtractorViewModel.cs]- ViewModel implementing the MVVM pattern for foreground extraction
[ImageForegroundExtractorPage.xaml & .xaml.cs ] - UI page for the foreground extraction demo
[ImageForegroundExtractor.md] - Code example demonstrating API usage
[ImageForegroundExtractorInit.md] - Initialization code example

Modified Files:

[MainWindow.xaml & .xaml.cs] - Added navigation item for the new feature
[CopilotRootViewModel.cs] - Integrated the new ViewModel into the app's navigation structure

Testing

Tested out with 2.0.0-experimental2 custom Nuget. All of the APIs required for E2E flow working as expected.

Screenshot 2025-11-04 154430

Target Release

experimental2 release

Checklist

Note that /azp run currently isn't working for this repo.

@palash-khare palash-khare changed the title [WASDK-SampleApp-AI Feature] Adding ImageForegroundExtractor in AI features section [Experimental release] Adding ImageForegroundExtractor in AI features section Nov 4, 2025
@palash-khare
Copy link
Collaborator Author

@palash-khare please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree [company="Microsoft"]

@palash-khare
Copy link
Collaborator Author

@palash-khare the command you issued was incorrect. Please try again.

Examples are:

@microsoft-github-policy-service agree

and

@microsoft-github-policy-service agree company="your company"

@microsoft-github-policy-service agree company="Microsoft"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants