head to head · open source
rembg vs OSS-DocumentScanner
rembg has 25,848 GitHub stars, 2,535 forks, 3 open issues and last shipped 8 days ago. OSS-DocumentScanner has 2,704 stars, 156 forks, 84 open issues and last shipped 2 days ago. rembg leads on adoption by 856% (25,848 vs 2,704 stars). rembg is written in Python under MIT; OSS-DocumentScanner is written in C++ under MIT. rembg has attracted 10% as many forks as stars, OSS-DocumentScanner 6%. OSS-DocumentScanner was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (image-processing), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| rembg | OSS-DocumentScanner | |
|---|---|---|
| GitHub stars | ★ 26K | ★ 2.7K |
| License | MIT | MIT |
| Written in | Python | C++ |
| Last push | 2026-11-24 | 2026-11-30 |
| Forks | ⑂ 2.5K | ⑂ 156 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick rembg if
- You weight community size — 26K stars and counting
- You want the MIT license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick OSS-DocumentScanner if
- You want the OSS-DocumentScanner feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches C++
- You evaluated both and OSS-DocumentScanner fits your workflow better
About rembg
Rembg is a tool to remove image backgrounds. It can be used as a CLI, Python library, HTTP server, or Docker container. Sponsors PhotoRoom Remove Background API Fast and accurate background remover API If this project has helped you, please consider making a donation. Requirements bash pip install "rembg[gpu]" for library pip install "rembg[gpu,cli]" for library + cli bash pip install "rembg[rocm]" for library pip install "rembg[rocm,cli]" for library + cli shell rembg help shell rembg help shell curl s rembg i output.png shell rembg i path/to/input.png path/to/output.png shell rembg i path/to/input.png →…
read the full rembg overview →
About OSS-DocumentScanner
This repository is now the home of 2 apps Installation
read the full OSS-DocumentScanner overview →
More in Miscellaneous
Related comparisons
More Photo & Video Editors projects
Compare either of these against the rest of the Photo & Video Editors field.
Frequently asked questions
Is rembg or OSS-DocumentScanner more popular?
rembg has 25,848 GitHub stars and OSS-DocumentScanner has 2,704. rembg has the larger community by that measure.
Are rembg and OSS-DocumentScanner free?
Both are open source. rembg is licensed under MIT and OSS-DocumentScanner under MIT. Neither carries a licence fee.
What is the difference between rembg and OSS-DocumentScanner?
rembg is written in Python and OSS-DocumentScanner in C++. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, rembg or OSS-DocumentScanner?
Choose rembg if you want the larger community (25,848 stars) or its MIT licence terms. Choose OSS-DocumentScanner if its feature set, stack or MIT licence fits better. Both are self-hostable.