Skip to main content

Remove Background with Python

Project description

How to use the remove function

Load the Image

from remove_bg import remove_byte,remove_direct,remove_cv2,remove_path

input_path = "path/to/input"
output_path = "path/to/output"

Removing the background

With Byte Architecture

success = remove_byte(input_path:str,output_path:str)
print(success)

With direct

success = remove_direct(input_path:str,output_path:str)
print(success)

With cv2

success = remove_cv2(input_path:str,output_path:str)
print(success)

With path

success = remove_path(input_path:str,output_path:str)
print(success)

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

remove_bg_python-1.0.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

remove_bg_python-1.0.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page