supervision
supervision copied to clipboard
Inference Examples and `from_roboflow` Update
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.7release) - Update docs with
inferenceexamples (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.