Salesforce / GPA-GUI-Detector

huggingface.co
Total runs: 285
24-hour runs: 0
7-day runs: -6
30-day runs: -311
Model's Last Updated: February 26 2026
object-detection

Introduction of GPA-GUI-Detector

Model Details of GPA-GUI-Detector

GPA-GUI-Detector

A YOLO-based GUI element detection model for detecting interactive UI elements (icons, buttons, etc.) on screen for GUI Process Automation. This model is finetuned from the OmniParser ecosystem.

Model

The model weight file is model.pt . It is a YOLO model trained with the Ultralytics framework.

Installation
pip install ultralytics
Usage
Basic Inference
from ultralytics import YOLO

model = YOLO("model.pt")
results = model("screenshot.png")
Detection with Custom Parameters
from ultralytics import YOLO
from PIL import Image

# Load the model
model = YOLO("model.pt")

# Run inference with custom confidence and image size
results = model.predict(
    source="screenshot.png",
    conf=0.05,        # confidence threshold
    imgsz=640,        # input image size
    iou=0.7,          # NMS IoU threshold
)

# Parse results
boxes = results[0].boxes.xyxy.cpu().numpy()   # bounding boxes in [x1, y1, x2, y2]
scores = results[0].boxes.conf.cpu().numpy()  # confidence scores

# Draw results on image
img = Image.open("screenshot.png")
for box, score in zip(boxes, scores):
    x1, y1, x2, y2 = box
    print(f"Detected UI element at [{x1:.0f}, {y1:.0f}, {x2:.0f}, {y2:.0f}] (conf: {score:.2f})")

# Or save the annotated image directly
results[0].save("result.png")
Integration with OmniParser
import sys
sys.path.append("/path/to/OmniParser")

from util.utils import get_yolo_model, predict_yolo
from PIL import Image

model = get_yolo_model("model.pt")
image = Image.open("screenshot.png")

boxes, confidences, phrases = predict_yolo(
    model=model,
    image=image,
    box_threshold=0.05,
    imgsz=640,
    scale_img=False,
    iou_threshold=0.7,
)

for i, (box, conf) in enumerate(zip(boxes, confidences)):
    print(f"Element {i}: box={box.tolist()}, confidence={conf:.2f}")
Example

Detection results on a sample screenshot (1920x1080) from the ScreenSpot-Pro benchmark ( conf=0.05 , iou=0.1 , imgsz=1280 ).

Input Screenshot

Input Screenshot

OmniParser V2 GPA-GUI-Detector
OmniParser V2 GPA-GUI-Detector
License

This model is released under the MIT License .

Runs of Salesforce GPA-GUI-Detector on huggingface.co

285
Total runs
0
24-hour runs
10
3-day runs
-6
7-day runs
-311
30-day runs

More Information About GPA-GUI-Detector huggingface.co Model

More GPA-GUI-Detector license Visit here:

https://choosealicense.com/licenses/mit

GPA-GUI-Detector huggingface.co

GPA-GUI-Detector huggingface.co is an AI model on huggingface.co that provides GPA-GUI-Detector's model effect (), which can be used instantly with this Salesforce GPA-GUI-Detector model. huggingface.co supports a free trial of the GPA-GUI-Detector model, and also provides paid use of the GPA-GUI-Detector. Support call GPA-GUI-Detector model through api, including Node.js, Python, http.

GPA-GUI-Detector huggingface.co Url

https://huggingface.co/Salesforce/GPA-GUI-Detector

Salesforce GPA-GUI-Detector online free

GPA-GUI-Detector huggingface.co is an online trial and call api platform, which integrates GPA-GUI-Detector's modeling effects, including api services, and provides a free online trial of GPA-GUI-Detector, you can try GPA-GUI-Detector online for free by clicking the link below.

Salesforce GPA-GUI-Detector online free url in huggingface.co:

https://huggingface.co/Salesforce/GPA-GUI-Detector

GPA-GUI-Detector install

GPA-GUI-Detector is an open source model from GitHub that offers a free installation service, and any user can find GPA-GUI-Detector on GitHub to install. At the same time, huggingface.co provides the effect of GPA-GUI-Detector install, users can directly use GPA-GUI-Detector installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

GPA-GUI-Detector install url in huggingface.co:

https://huggingface.co/Salesforce/GPA-GUI-Detector

Url of GPA-GUI-Detector

GPA-GUI-Detector huggingface.co Url

Provider of GPA-GUI-Detector huggingface.co

Salesforce
ORGANIZATIONS

Other API from Salesforce

huggingface.co

Total runs: 104.5K
Run Growth: 12.6K
Growth Rate: 12.08%
Updated:February 03 2025
huggingface.co

Total runs: 80.1K
Run Growth: 80.0K
Growth Rate: 99.89%
Updated:April 12 2025
huggingface.co

Total runs: 250
Run Growth: -278
Growth Rate: -111.20%
Updated:January 15 2025
huggingface.co

Total runs: 150
Run Growth: -3
Growth Rate: -2.00%
Updated:November 05 2025
huggingface.co

Total runs: 146
Run Growth: -4.9K
Growth Rate: -3328.57%
Updated:October 04 2025