Skip to content

create a package#1

Open
not-lain wants to merge 1 commit intoPramaLLC:mainfrom
not-lain:package
Open

create a package#1
not-lain wants to merge 1 commit intoPramaLLC:mainfrom
not-lain:package

Conversation

@not-lain
Copy link

@not-lain not-lain commented Jul 10, 2025

usage as described in the readme page

pip install git+https://github.com/PramaLLC/ben-api-python-integration.git

for testing purposes and if you want to test this package before merging you can run the following command instead :

pip install git+https://github.com/PramaLLC/ben-api-python-integration.git@refs/pull/1/head
from prama import predict_image
from PIL import Image

image = Image.open("image.jpg")

mask, foreground = predict_image(image,"your_ben_api_token")

mask.save("mask.png")
foreground.save("foreground.png")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant