--- title: ArmorOCR emoji: ๐Ÿ›ก๏ธ colorFrom: blue colorTo: purple sdk: gradio sdk_version: 6.29.1 app_file: app.py short_description: Grounded adversarial OCR perception with ArmorOCR python_version: "3.10" startup_duration_timeout: 30m license: apache-2.0 --- # ArmorOCR: Grounded Adversarial OCR Demo of **[inclusionAI/ArmorOCR](https://huggingface.co/inclusionAI/ArmorOCR)**, a Qwen3-VL-8B-Instruct finetune for **grounded adversarial OCR perception** โ€” recognizing text that is hard even for humans to spot at a glance: low-contrast blends, dot/line encodings, dense pattern overlays, tiny or stylized text, and more. The app runs single-pass inference on the original image (no inference-time visual transformations) in two modes: - **Grounded spotting** โ€” recognizes the hidden text and localizes it with a bounding box (0โ€“1000 normalized coordinates), drawn on the image. - **Free-form prompt** โ€” ask any question about the text in the image, using the official ``/`` prompt template. Example images are taken from the official [ant-research/ArmorOCR](https://github.com/ant-research/ArmorOCR) repository (Apache-2.0). - ๐Ÿ“„ Paper: [ArmorOCR: Grounded Adversarial Visual Perception via Observation-Transferred Self-Distillation](https://arxiv.org/abs/2608.20122) - ๐Ÿ’ป Code: [ant-research/ArmorOCR](https://github.com/ant-research/ArmorOCR) - ๐Ÿค— Model: [inclusionAI/ArmorOCR](https://huggingface.co/inclusionAI/ArmorOCR) ยท GGUF: [inclusionAI/ArmorOCR-GGUF](https://huggingface.co/inclusionAI/ArmorOCR-GGUF) - ๐Ÿค— Benchmark: [inclusionAI/advspot-public](https://huggingface.co/datasets/inclusionAI/advspot-public) License: Apache License 2.0.