microsoft/OmniParser

▲ 53 stars today★ 25,597⑂ 2,239

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,597 stars and 2,239 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.

GitHub Repository Details

Repository microsoft/OmniParser · default branch master · size 51976 KB · watchers 188 · 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,597Stars
2,239Forks
232Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars25,597
Forks2,239
Open issues232
Primary languageJupyter Notebook
LicenseCC-BY-4.0
Stars gained today53
Created2024-09-20
Last pushed2026-07-20

Trending History

Weekly boardrank #86 · ▲ 53 stars

Related AI Projects

1

microsoft / ai-agents-for-beginners

Jupyter Notebook★ 78,820⑂ 25,813▲ 111 stars
→
2

microsoft / AI-For-Beginners

Jupyter Notebook★ 70,538⑂ 13,731▲ 71 stars
→
3

patchy631 / ai-engineering-hub

Jupyter Notebook★ 41,048⑂ 6,556▲ 767 stars
→
4

karpathy / nn-zero-to-hero

Jupyter Notebook★ 25,265⑂ 3,680▲ 46 stars
→
5

facebookresearch / audiocraft

Jupyter Notebook★ 23,815⑂ 2,714▲ 21 stars
→
6

anthropics / courses

Jupyter Notebook★ 22,971⑂ 2,534▲ 11 stars
→
7

NirDiamant / agents-towards-production

Jupyter Notebook★ 21,821⑂ 2,891▲ 10 stars
→
8

mrdbourke / pytorch-deep-learning

Jupyter Notebook★ 19,356⑂ 5,235▲ 15 stars
→

More AI Rankings