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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file remove_bg_python-1.0.0.tar.gz.

File metadata

  • Download URL: remove_bg_python-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for remove_bg_python-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ff555c44eed2ea6f067c0e0b25a92f3a0f1fef271bfd67ce60a56186b2fca5b3
MD5 02af62ce61018b863adee76724320ce2
BLAKE2b-256 bedb9b58807365dff70dc3ef37b953c3e05d0c5b9bd49df2bd605b6a69038d5a

See more details on using hashes here.

File details

Details for the file remove_bg_python-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for remove_bg_python-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 926b412c3eed293e19ba5156324d734ad686114c3a72777c95673c068831871b
MD5 9d3063be2d4cef4f7332718a8a7cf6cd
BLAKE2b-256 2df28fb06d6eb6bfb26fcbe116222e2019f468fddf8007384c21d99b2b47f799

See more details on using hashes here.

Supported by

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