roboflow / inference

A fast, easy-to-use, production-ready inference server for computer vision supporting deployment of many popular model architectures and fine-tuned models.
https://inference.roboflow.com
Other
1.12k stars 84 forks source link

Add support for image_and_json format #467

Closed SolomonLake closed 1 week ago

SolomonLake commented 3 weeks ago

Description

Adds new format option for v0 http request, image_and_json. This will create the image visualization, and return it with the predictions json. Also updates inference_sdk to output the image in the desired format (pillow, numpy, etc).

Adding this as a separate initiative to the ongoing workflows feature improvements because it is relatively small update.

Type of change

Please delete options that are not relevant.

How has this change been tested, please provide a testcase or example of how you tested the change?

Tested locally w/ inference_sdk, and on staging hosted API.

Any specific deployment considerations

Docs

SolomonLake commented 3 weeks ago

closing because we are adding support to workflows soon

SolomonLake commented 3 weeks ago

reopened because we don't know how long out workflows support is -- and this is a relatively small change. will need hosted API testing before rolling out.

PawelPeczek-Roboflow commented 1 week ago

@SolomonLake lost that from focus for a while - what is the status here?

SolomonLake commented 1 week ago

@SolomonLake lost that from focus for a while - what is the status here?

I need to deploy to the hosted api for testing. I'll coordinate with you to do this ASAP.