Instructions to use nativ-community/omniparser-v2-icon-detect-fp32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use nativ-community/omniparser-v2-icon-detect-fp32 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download nativ-community/omniparser-v2-icon-detect-fp32 --local-dir omniparser-v2-icon-detect-fp32
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
OmniParser v2 icon detect β MLX (fp32)
The YOLO11 icon detector from microsoft/OmniParser-v2.0,
converted to MLX safetensors for Apple Silicon. Single class (icon), 543 tensors, float32.
Usage
from mlx_vlm import load
from mlx_vlm.extraction import extract
model, processor = load("nativ-community/omniparser-v2-icon-detect-fp32")
result = extract(model, processor, "screenshot.png", conf_threshold=0.3)
print(result["boxes"], result["scores"])
From the command line:
mlx_vlm.extract --model nativ-community/omniparser-v2-icon-detect-fp32 \
--image screenshot.png --set conf_threshold=0.3 --output boxes.npz
Conversion
python -m mlx_vlm.models.yolo11.convert \
--ckpt icon_detect/model.pt --output omniparser-v2-icon-detect-fp32
icon_detect/model.pt comes from microsoft/OmniParser-v2.0. Conversion requires
torch and ultralytics; inference requires neither.
Attribution
Weights derive from microsoft/OmniParser-v2.0, MIT licensed. This repository
redistributes them converted to MLX, under the same licence.
- Downloads last month
- 18
Model size
20.1M params
Tensor type
F32
Β·
Hardware compatibility
Log In to add your hardware
Quantized