supervision icon indicating copy to clipboard operation
supervision copied to clipboard

Inference Examples and `from_roboflow` Update

Open paulguerrie opened this issue 2 years ago • 0 comments

Description

Added examples using inference and updated the from_roboflow() method so that it can also accept results of type BaseModel. Additionally, I added a method from_inference() which is a wrapper around from_roboflow() to better align with the vocabulary used in Supervision.

TODOs:

  • Update Roboflow model ID's based on new aliases (after inference==0.9.7 release)
  • Update docs with inference examples (decided to wait for initial PR feedback first)

Type of change

Please delete options that are not relevant.

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [X] New feature (non-breaking change which adds functionality)
  • [X] This change requires a documentation update

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

Tested all updates locally.

paulguerrie avatar Dec 15 '23 16:12 paulguerrie