czczup / textnet-base

huggingface.co
Total runs: 18.8K
24-hour runs: -9
7-day runs: 38
30-day runs: 1.8K
Model's Last Updated: December 25 2024
image-feature-extraction

Introduction of textnet-base

Model Details of textnet-base

TextNet-T/S/B: Efficient Text Detection Models
Overview

TextNet is a lightweight and efficient architecture designed specifically for text detection, offering superior performance compared to traditional models like MobileNetV3. With variants TextNet-T , TextNet-S , and TextNet-B (6.8M, 8.0M, and 8.9M parameters respectively), it achieves an excellent balance between accuracy and inference speed.

Performance

TextNet achieves state-of-the-art results in text detection, outperforming hand-crafted models in both accuracy and speed. Its architecture is highly efficient, making it ideal for GPU-based applications.

How to use
Transformers
pip install transformers
import torch
import requests
from PIL import Image
from transformers import AutoImageProcessor, AutoBackbone

url = "http://images.cocodataset.org/val2017/000000039769.jpg"
image = Image.open(requests.get(url, stream=True).raw)

processor = AutoImageProcessor.from_pretrained("jadechoghari/textnet-base")
model = AutoBackbone.from_pretrained("jadechoghari/textnet-base")

inputs = processor(image, return_tensors="pt")
with torch.no_grad():
  outputs = model(**inputs)
Training

We first compare TextNet with representative hand-crafted backbones, such as ResNets and VGG16. For a fair comparison, all models are first pre-trained on IC17-MLT [52] and then finetuned on Total-Text. The proposed TextNet models achieve a better trade-off between accuracy and inference speed than previous hand-crafted models by a significant margin. In addition, notably, our TextNet-T, -S, and -B only have 6.8M, 8.0M, and 8.9M parameters respectively, which are more parameter-efficient than ResNets and VGG16. These results demonstrate that TextNet models are effective for text detection on the GPU device.

Applications

Perfect for real-world text detection tasks, including:

  • Natural scene text recognition
  • Multi-lingual and multi-oriented text detection
  • Document text region analysis
Contribution

This model was contributed by Raghavan , jadechoghari and nielsr .

Runs of czczup textnet-base on huggingface.co

18.8K
Total runs
-9
24-hour runs
158
3-day runs
38
7-day runs
1.8K
30-day runs

More Information About textnet-base huggingface.co Model

textnet-base huggingface.co

textnet-base huggingface.co is an AI model on huggingface.co that provides textnet-base's model effect (), which can be used instantly with this czczup textnet-base model. huggingface.co supports a free trial of the textnet-base model, and also provides paid use of the textnet-base. Support call textnet-base model through api, including Node.js, Python, http.

textnet-base huggingface.co Url

https://huggingface.co/czczup/textnet-base

czczup textnet-base online free

textnet-base huggingface.co is an online trial and call api platform, which integrates textnet-base's modeling effects, including api services, and provides a free online trial of textnet-base, you can try textnet-base online for free by clicking the link below.

czczup textnet-base online free url in huggingface.co:

https://huggingface.co/czczup/textnet-base

textnet-base install

textnet-base is an open source model from GitHub that offers a free installation service, and any user can find textnet-base on GitHub to install. At the same time, huggingface.co provides the effect of textnet-base install, users can directly use textnet-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

textnet-base install url in huggingface.co:

https://huggingface.co/czczup/textnet-base

Url of textnet-base

textnet-base huggingface.co Url

Provider of textnet-base huggingface.co

czczup
ORGANIZATIONS

Other API from czczup

huggingface.co

Total runs: 409
Run Growth: 348
Growth Rate: 85.09%
Updated:December 25 2024
huggingface.co

Total runs: 20
Run Growth: 1
Growth Rate: 5.00%
Updated:December 25 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 08 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 20 2023