Analyze an image
Analyze an image to get a scene summary, object counts, and a copy marked with detected objects.
Application
- Ahoy Object Detection
Inputs (what you have)
| Name | Description | Data Type | Required? | Example |
|---|---|---|---|---|
| Media | Image (JPG, PNG, WEBP, BMP, TIFF) to analyze. Maximum size: 500 MB | File | Yes | input-boardroom.jpg |
Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data Library section. These variables in the Data Library section are the outputs of previous Wrk Actions in the Wrkflow.
Outputs (what you get)
| Name | Description | Data Type | Required? | Example |
|---|---|---|---|---|
| Headline | A short description of the main activity or objects in the image or video. Returned when supplied by Ahoy | Text (Short) | No | Boardroom scene |
| Object counts | How many of each type of object were detected. For example, 3 people and 1 truck | Text (Long) | No | {"person": 17, "chair": 10} |
| Report summary | A brief written summary of the scene. Returned when supplied by Ahoy | Text (Long) | No | People standing in a boardroom |
| Report description | A more detailed written description of what appears in the media. Returned when supplied by Ahoy | Text (Long) | No | Several people and chairs around a table. |
| Media width | Width of the media in pixels | Number | No | 1600 |
| Media height | Height of the media in pixels | Number | No | 1200 |
| Annotated media | A copy of the media with boxes and labels showing detected objects. Images return as JPEG; videos as H.264 MP4. Uncertain detections may be left out | File | No | annotated_input-boardroom.jpg |
Outcomes
| Name | Description |
|---|---|
| Success | This status is selected if the job has successfully completed. |
| Unsuccessful | This status is selected if the job has completed unsuccessfully. |
Requirements
- N/A