Skip to main content

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)

Uploaded Source

Built Distribution

genobjdet-0.1.8-py3-none-any.whl (3.8 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