A package for isolating objects in images
Project description
This is the Generalized Object Detection Package
This package is used to isolate the coordinates of objects in an image.
Instructions
1.) Install using
pip install genobjdet
2.) Run in Python
from genobjdet import *
Function Description
def request(image="", api_key="", prompt="", write_to_file=False):
api_key: The necessary RapidAPI key to access the server.
image: directory of the image to be processed
prompt: prompt for which object the server should analyze the image for
write_to_file: Write bounding box coordinates directly to the image.
return: The bounding box coordinates of the object in the image.
(If write_to_file is True, the coordinates are written to the image instead of being returned.)
Call Function
request(image="[image dir]", api_key="[RapidAPI-Key]", prompt="[what to isolate]", write_to_file=[False/True])
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
genobjdet-0.1.8.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for genobjdet-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9958435e68b63e014034c07bee2cdb97b202f7cfd4d61329e322ad438eb4839 |
|
MD5 | d0e3e4305fa0c5fa3d876fe0b1b367f4 |
|
BLAKE2b-256 | 143c858d88c8d75f063c0f215b1d0b0bfd6c611f01955917fbdeb58b00f27ef8 |