Safetensors
tysirai
hosted
str/recognition

tysirai/DAN-STR v1

A hosted model for the task str/recognition, published by TysirAI.

import tysirai

model = tysirai.load("hf://tysirai/DAN-STR@v1")
outputs = model(images=images)
outputs["text:labels"]
outputs["text:probabilities"]

images is an input of type image.

Interface

Slot Name Type
In images image
Out text:labels Text(B) [text]
Out text:probabilities Tensor(B) [text.confidence]

Lineage

Licenses

  • Code: MIT
  • Weights: MIT
  • Training data: unknown

Notes

  • Weights converted from the original release (https://drive.google.com/drive/folders/1MK0WUH-ofIPT4ZNTbcb0sburatJyEF1X?usp=sharing) to TysirAI; outputs checked against the DeepTextRecognition (DTR) implementation.
  • Input range: the images are fed in [0, 1], as in the training code of the original repository (cfgs_scene.py); the first DTR configuration normalized them to [-1, 1].
  • The README of the original repository states: "The project is only free for academic research purposes."

Fidelity

Fidelity set: fidelity.

Output atol rtol
text:labels 0 0
text:probabilities 1e-05 0
Downloads last month
23
Safetensors
Model size
18.2M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including tysirai/DAN-STR

Paper for tysirai/DAN-STR