Countgd Counting
A tool that can precisely count multiple instances of an object given a text prompt. It returns a list of bounding boxes with normalized coordinates, label names and associated confidence scores.
Output
python
import requests
url = "https://api.landing.ai/v1/tools/text-to-object-detection"
files = {
"image": open("{{path_to_image}}", "rb")
}
data = {
"prompts": [ "{{prompt1}}", "{{prompt2}}" ],
"model": "countgd"
}
response = requests.post(url, files=files, data=data)
print(response.json())