Open-source licenses

bgremovetools stands on open-source work. These are the projects it uses, with thanks to the people who made them.

ProjectUsed forLicense
BiRefNet by ZhengPengThe AI model that separates subject from backgroundMIT
birefnet-lite-512 by Studio LudensThe browser-ready build of that modelMIT
Transformers.js by Hugging FaceLoads and runs the model in the browserApache 2.0
ONNX Runtime Web by MicrosoftThe engine underneath Transformers.jsMIT
DM Sans by Colophon FoundryThe typeface on this siteSIL Open Font License 1.1

Methods

Edge refinement uses the fast guided filter described by Kaiming He and Jian Sun (2015). Edge color clean-up follows the blur-fusion foreground estimation used in the BiRefNet project. Both are implemented in this site's own code.

BiRefNet and birefnet-lite-512 (MIT License)

Copyright (c) 2024 ZhengPeng
Copyright (c) 2026 Studio Ludens V.O.F.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ONNX Runtime (MIT License)

Copyright (c) Microsoft Corporation. Licensed under the MIT License, with the same permission and warranty text as above.

Transformers.js (Apache License 2.0)

Copyright Hugging Face. Licensed under the Apache License, Version 2.0. You may obtain a copy of the license at apache.org/licenses/LICENSE-2.0. The software is distributed on an "AS IS" basis, without warranties or conditions of any kind.

DM Sans (SIL Open Font License 1.1)

Copyright The DM Sans Project Authors. This font software is licensed under the SIL Open Font License, Version 1.1. The full license text is served with the font at assets/fonts/OFL.txt.