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

Uploaded Source

Built Distribution

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

genobjdet-0.1.8-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file genobjdet-0.1.8.tar.gz.

File metadata

  • Download URL: genobjdet-0.1.8.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.9

File hashes

Hashes for genobjdet-0.1.8.tar.gz
Algorithm Hash digest
SHA256 53efacc4a9ef01bb8d74189c8eb04a6a6b203de2c40bb9fbe5bb62fc4ee068fc
MD5 bc3021df53ef1ad4e5df863021a9fd88
BLAKE2b-256 70985101411a16938efb3e913869f7c491405afaae0a0ef29e6a044c1334346a

See more details on using hashes here.

File details

Details for the file genobjdet-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: genobjdet-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.9

File hashes

Hashes for genobjdet-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a9958435e68b63e014034c07bee2cdb97b202f7cfd4d61329e322ad438eb4839
MD5 d0e3e4305fa0c5fa3d876fe0b1b367f4
BLAKE2b-256 143c858d88c8d75f063c0f215b1d0b0bfd6c611f01955917fbdeb58b00f27ef8

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