microsoft / microsoft/ai-dev-gallery
[SAMPLE] Remove background alternative using open-source model
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
We have some users who may want to use a background remover control in their apps and we only offer a solution for this using WCR APIs. Implementing a sample that uses an open-source model would cover those users.
Describe the solution you'd like
Implement the SAM model using the QNN Execution Provider. This will work on Snapdragon NPUs, DML and CPU
Describe alternatives you've considered
The only alternative is to have our users figure this process out on their own.
Additional context
Qualcomm has examples showing use for all their models in Python. Use this to help translating logic to C#.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing background-removal sample that uses WCR APIs, then compare its flow with Qualcomm's Python SAM demo linked in the issue. Implement a C# SAM sample using the QNN Execution Provider and verify that it works through the stated Snapdragon NPU, DML, and CPU paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, python
- Domain
- ai, computer-vision
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100