Safetensors
tysirai
hosted
str/recognition
DAN-STR / README.md
Bekhouche's picture
Publish v1
7169733 verified
|
Raw History Blame Contribute Delete
1.91 kB
metadata
datasets:
  - MJSynth
  - SynthText
library_name: tysirai
license: mit
tags:
  - tysirai
  - hosted
  - str/recognition
tysirai:
  name: tysirai/DAN-STR
  version: v1
  kind: hosted
  task: str/recognition
  licenses:
    code: MIT
    weights: MIT
    training_data: unknown

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