Rembg – background segmentation tool using machine learning

Last Updated on March 6, 2023


Rembg is a great tool for removing backgrounds from images.

For ideal results, you need to be careful with the choice of image as the software struggles with fuzzy images. You’ll want to use images with a clear foreground object set on a well-defined background.

The tool runs reasonably fast although it doesn’t make particularly good use of our multi-core processors. And using the GPU version does improve the speed but not as much as we hoped.

Developer: Daniel Gatis
License: MIT License

Rembg is written in Python. Learn Python with our recommended free books and free tutorials.

Artificial intelligence icon For other useful open source apps that use machine learning/deep learning, we’ve compiled this roundup.

Pages in this article:
Page 1 – Introduction / Getting Started
Page 2 – In Operation
Page 3 – Human segmentation model
Page 4 – Summary

Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments