microsoft/OmniParser

▲ 14 stars today★ 25,426⑂ 2,235

A simple screen parsing tool towards pure vision based GUI agent

About microsoft/OmniParser

microsoft/OmniParser is an open-source project on GitHub, mainly written in Jupyter Notebook. A simple screen parsing tool towards pure vision based GUI agent It currently holds 25,426 stars and 2,235 forks with 232 open issues, and was last pushed on 2026-07-20 (repository created 2024-09-20).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #48 with 14 new stars today.

GitHub Repository Details

Repository microsoft/OmniParser · default branch master · size 51976 KB · watchers 190 · source: GitHub REST API and repository README

README

OmniParser: Screen Parsing tool for Pure Vision Based GUI Agent

https://github.com/microsoft/OmniParser/blob/HEAD/Logo

arXiv License

📢 [Project Page] [V2 Blog Post] [Models V2] [Models V1.5] [HuggingFace Space Demo]

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

Install

First clone the repo, and then install environment:
cd OmniParser
conda create -n "omni" python==3.12
conda activate omni
pip install -r requirements.txt

Until Hugging Face PR #37 is merged, download the latest YOLOv9-E detector from the PR:

huggingface-cli download microsoft/OmniParser-v2.0 icon_detect_v3/model.pt \
  --revision refs/pr/37 --local-dir weights

OmniParser prefers this local weight. After the PR is merged, it will download the same weight automatically on first use. Download the caption weights into the weights folder:

   for f in icon_caption/{config.json,generation_config.json,model.safetensors}; do huggingface-cli download microsoft/OmniParser-v2.0 "$f" --local-dir weights; done
   mv weights/icon_caption weights/icon_caption_florence

Examples:

We put together a few simple examples in the demo.ipynb.

Gradio Demo

To run gradio demo, simply run:
python gradio_demo.py

Model Weights License

icon_detect_v3 is based on the MIT-licensed YOLOv9 implementation. Earlier Ultralytics-based icon detectors retain their original AGPL license. The caption models are under the MIT license.

📚 Citation

Our technical report can be found here. If you find our work useful, please consider citing our work:
@misc{lu2024omniparserpurevisionbased,
      title={OmniParser for Pure Vision Based GUI Agent}, 
      author={Yadong Lu and Jianwei Yang and Yelong Shen and Ahmed Awadallah},
      year={2024},
      eprint={2408.00203},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2408.00203}, 
}

GitHub Stars & Activity

25,426Stars
2,235Forks
232Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars25,426
Forks2,235
Open issues232
Primary languageJupyter Notebook
LicenseCC-BY-4.0
Stars gained today14
Created2024-09-20
Last pushed2026-07-20

Trending History

Daily boardrank #48 · ▲ 14 stars

Related AI Projects

1

microsoft / ML-For-Beginners

Jupyter Notebook★ 90,748⑂ 22,371▲ 77 stars
2

microsoft / AI-For-Beginners

Jupyter Notebook★ 68,753⑂ 13,287▲ 41 stars
3

patchy631 / ai-engineering-hub

Jupyter Notebook★ 37,788⑂ 6,218▲ 30 stars
4

AI4Finance-Foundation / FinGPT

Jupyter Notebook★ 21,271⑂ 3,013▲ 8 stars
5

facebookresearch / sam2

Jupyter Notebook★ 19,900⑂ 2,548▲ 9 stars
6

DataTalksClub / machine-learning-zoomcamp

Jupyter Notebook★ 14,482⑂ 3,213▲ 9 stars
7

langchain-ai / rag-from-scratch

Jupyter Notebook★ 9,352⑂ 2,212▲ 13 stars
8

ed-donner / llm_engineering

Jupyter Notebook★ 7,435⑂ 7,253▲ 11 stars

More AI Rankings