Advnt Screen Parser v5 (icons.onnx / best.pt)
A CPU-ready 99-class portrait (960Γ480) YOLOv11m ONNX UI icon detector achieving 95.3% weighted mAP@50, 92.7% macro mAP@50, and 94.9% end-to-end recall (92.5% precision) across 7,357 app-verified, frontier-audited real iPhone screens (53,983 tight boxes + 643 non-social hard negatives).
- GitHub Repository (full parallel parser, CLI, FastAPI server, Docker): github.com/arthuryeti/advnt-screen-parser
- Model Size:
80.7 MB(icons.onnx, opset 17,1Γ3Γ960Γ480) Β·38.8 MB(best.pt, PyTorch) - Built-in v5 Inference Upgrades: 37 per-class F1-calibrated confidence thresholds (
class_conf), cross-app consistency voting, and 5-slot bottom tab-bar recovery - Works on: Clean iOS screenshots and photographed/camera-captured iPhone screens (glare, tilt, thin white chevrons over video)
Model Files
| File | Size | Description |
|---|---|---|
icons.onnx |
80.7 MB | Simplified portrait ONNX opset-17 export (1Γ3Γ960Γ480), CPU-ready |
best.pt |
38.8 MB | Best Stage-2 portrait-fine-tuned Ultralytics YOLOv11m checkpoint |
icons.json |
6.2 KB | Input size ([960, 480]), 99 class ID β name mapping, per-class AP@50, and 37 calibrated class_conf thresholds |
eval_summary.json |
21 KB | Full per-class and per-platform ONNX metrics on all 834 held-out val frames |
Benchmarks
Per-Platform Validation Metrics (icons.onnx on 834 held-out iPhone frames, 6,377 boxes)
| Platform | Classes | Val Boxes | Macro mAP@50 | Weighted mAP@50 | Precision | Recall |
|---|---|---|---|---|---|---|
| iOS Chrome & App Icons | 6 | 232 | 98.8% | 96.8% | 91.2% | 98.3% |
| 25 | 1,745 | 97.2% | 97.1% | 94.7% | 97.0% | |
| TikTok | 27 | 2,075 | 92.6% | 98.2% | 95.3% | 98.1% |
| YouTube | 19 | 970 | 89.5% | 96.3% | 95.3% | 92.0% |
| X / Twitter | 22 | 1,355 | 89.0% | 87.7% | 83.9% | 89.0% |
| Overall | 99 | 6,377 | 92.7% | 95.3% | 92.5% | 94.9% |
Model Progression (v1 β v2 β v3 β v4 β v5)
| Version | Backbone | Input | Classes | Dataset (Train / Val) | Macro mAP@50 | Weighted mAP@50 | Recall |
|---|---|---|---|---|---|---|---|
| v1 | YOLOv11n | 640Γ640 |
15 | 1,651 (1,438 / 213) | 81.8% | β | 80.9% |
| v2 | YOLOv11s | 640Γ640 |
46 | 3,828 (3,338 / 490) | 77.0% | β | 79.3% |
| v3 | YOLOv11s | 640Γ640 |
47 | 4,574 (4,006 / 568) | 77.8% | ~78.1% | 75.9% |
| v4 | YOLOv11s | 800Γ416 |
99 | 5,268 (4,672 / 596) | 89.9% | 93.8% | 93.0% |
| v5 | YOLOv11m | 960Γ480 |
99 | 7,357 (6,523 / 834) | 92.7% | 95.3% | 94.9% |
Quick Usage
pip install "git+https://github.com/arthuryeti/advnt-screen-parser.git"
from advnt_screen_parser import IconDetector
detector = IconDetector() # auto-downloads v5 icons.onnx + calibrated icons.json
icons = detector.detect_file("screenshot.jpg")
For the full Parallel RapidOCR + v5 Icon Detector + Geometric UI Tree pipeline:
pip install "advnt-screen-parser[all] @ git+https://github.com/arthuryeti/advnt-screen-parser.git"
from advnt_screen_parser import ScreenParser
parser = ScreenParser()
result = parser.parse_file("screenshot.jpg")
99 Supported Icon Classes
- Instagram (25):
ig_like,ig_liked,ig_comment,ig_repost,ig_share,ig_save,ig_saved,ig_more,ig_avatar,ig_audio,ig_home_tab,ig_reels_tab,ig_messages_tab,ig_search_tab,ig_profile_tab,ig_back,ig_create,ig_menu,ig_notifications,ig_threads,ig_account_switcher,ig_grid_tab,ig_reels_subtab,ig_tagged_tab,ig_send - TikTok (27):
tt_like,tt_liked,tt_comment,tt_save,tt_saved,tt_share,tt_avatar,tt_follow,tt_sound,tt_repost,tt_home_tab,tt_friends_tab,tt_create,tt_inbox_tab,tt_profile_tab,tt_back,tt_live,tt_search,tt_menu,tt_more,tt_add_friend,tt_account_switcher,tt_videos_tab,tt_repost_tab,tt_liked_tab,tt_send,tt_gallery - X / Twitter (22):
x_like,x_liked,x_comment,x_repost,x_save,x_saved,x_share,x_views,x_more,x_avatar,x_grok,x_home_tab,x_search_tab,x_grok_tab,x_notifications_tab,x_messages_tab,x_profile_tab,x_compose,x_back,x_account_switcher,x_media,x_send - YouTube (19):
yt_like,yt_liked,yt_dislike,yt_comment,yt_share,yt_save,yt_saved,yt_remix,yt_avatar,yt_sound,yt_home_tab,yt_reels_tab,yt_create,yt_subscriptions_tab,yt_profile_tab,yt_back,yt_search,yt_more,yt_cast - iOS Chrome & App Icons (6):
ios_close,ios_clear_search,ios_app_tiktok,ios_app_instagram,ios_app_x,ios_app_youtube
License
Model weights (icons.onnx, best.pt) are fine-tuned from Ultralytics YOLOv11m and distributed under GNU AGPL-3.0. The surrounding inference library on GitHub is licensed under MIT.
Model tree for arthuryeti/advnt-screen-parser
Base model
Ultralytics/YOLO11Evaluation results
- Weighted mAP@50 (ONNX 960x480) on Advnt iOS Social UI Held-Out Val Set (834 frames, 6,377 boxes + 46 hard negatives)self-reported0.953
- Macro mAP@50 (ONNX 960x480) on Advnt iOS Social UI Held-Out Val Set (834 frames, 6,377 boxes + 46 hard negatives)self-reported0.927
- mAP@50-95 (ONNX 960x480) on Advnt iOS Social UI Held-Out Val Set (834 frames, 6,377 boxes + 46 hard negatives)self-reported0.721
- End-to-End Precision (calibrated) on Advnt iOS Social UI Held-Out Val Set (834 frames, 6,377 boxes + 46 hard negatives)self-reported0.925
- End-to-End Recall (calibrated) on Advnt iOS Social UI Held-Out Val Set (834 frames, 6,377 boxes + 46 hard negatives)self-reported0.949

