OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

Set-of-Mark Prompting (via Segment-Anything-Model) + GPT4-V

Open abrichr opened this issue 2 years ago • 2 comments

Work-in-progress.

Related: https://github.com/OpenAdaptAI/SoM

sam_mixin.py:

image

image

Scratch:

Via https://huggingface.co/spaces/Roboflow/SoM :

image

gpt4v_coords.py:

image image

gpt4v_grid.py:

image image

Addresses https://github.com/OpenAdaptAI/OpenAdapt/issues/513

abrichr avatar Nov 21 '23 05:11 abrichr

Apply Sweep Rules to your PR?

  • [ ] Apply: All new business logic should have corresponding unit tests.
  • [ ] Apply: Refactor large functions to be more modular.
  • [ ] Apply: Add docstrings to all functions and file headers.

Possibly relevant: https://github.com/ksugar/samapi

abrichr avatar Dec 25 '23 22:12 abrichr