update readme
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
**OmniParser** is a comprehensive method for parsing user interface screenshots into structured and easy-to-understand elements, which significantly enhances the ability of GPT-4V to generate actions that can be accurately grounded in the corresponding regions of the interface.
|
**OmniParser** is a comprehensive method for parsing user interface screenshots into structured and easy-to-understand elements, which significantly enhances the ability of GPT-4V to generate actions that can be accurately grounded in the corresponding regions of the interface.
|
||||||
|
|
||||||
## News
|
## News
|
||||||
|
- [2024/10] OmniParser is the #1 trending model on huggingface model hub (starting 10/29/2024).
|
||||||
- [2024/10] Feel free to checkout our demo on [huggingface space](https://huggingface.co/spaces/microsoft/OmniParser)! (stay tuned for OmniParser + Claude Computer Use)
|
- [2024/10] Feel free to checkout our demo on [huggingface space](https://huggingface.co/spaces/microsoft/OmniParser)! (stay tuned for OmniParser + Claude Computer Use)
|
||||||
- [2024/10] Both Interactive Region Detection Model and Icon functional description model are released! [Hugginface models](https://huggingface.co/microsoft/OmniParser)
|
- [2024/10] Both Interactive Region Detection Model and Icon functional description model are released! [Hugginface models](https://huggingface.co/microsoft/OmniParser)
|
||||||
- [2024/09] OmniParser achieves the best performance on [Windows Agent Arena](https://microsoft.github.io/WindowsAgentArena/)!
|
- [2024/09] OmniParser achieves the best performance on [Windows Agent Arena](https://microsoft.github.io/WindowsAgentArena/)!
|
||||||
@@ -40,6 +41,8 @@ To run gradio demo, simply run:
|
|||||||
python gradio_demo.py
|
python gradio_demo.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Model Weights License
|
||||||
|
For the model checkpoints on huggingface model hub, please note that icon_detect model is under AGPL license since it is a license inherited from the original yolo model. And icon_caption_blip2 & icon_caption_florence is under MIT license. Please refer to the LICENSE file in the folder of each model: https://huggingface.co/microsoft/OmniParser.
|
||||||
|
|
||||||
## 📚 Citation
|
## 📚 Citation
|
||||||
Our technical report can be found [here](https://arxiv.org/abs/2408.00203).
|
Our technical report can be found [here](https://arxiv.org/abs/2408.00203).
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ from PIL import Image
|
|||||||
|
|
||||||
yolo_model = get_yolo_model(model_path='weights/icon_detect/best.pt')
|
yolo_model = get_yolo_model(model_path='weights/icon_detect/best.pt')
|
||||||
caption_model_processor = get_caption_model_processor(model_name="florence2", model_name_or_path="weights/icon_caption_florence")
|
caption_model_processor = get_caption_model_processor(model_name="florence2", model_name_or_path="weights/icon_caption_florence")
|
||||||
|
# caption_model_processor = get_caption_model_processor(model_name="blip2", model_name_or_path="weights/icon_caption_blip2")
|
||||||
|
|
||||||
platform = 'pc'
|
platform = 'pc'
|
||||||
if platform == 'pc':
|
if platform == 'pc':
|
||||||
draw_bbox_config = {
|
draw_bbox_config = {
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 219 KiB After Width: | Height: | Size: 341 KiB |
Reference in New Issue
Block a user