NVIDIA
NVIDIA
nvCLIP4STR
Model
NVIDIA
NVIDIA
nvCLIP4STR

nvCLIP4STR is optical character recognition network, which aims to recognize characters from the images. One pretrained nvCLIP4STR model is delivered, which is trained on 7 dataset with alphanumeric labels. This model is ready for commercial use.

nvCLIP4STR Model Card

nvCLIP4STR Overview

nvCLIP4STR is optical character recognition network, which aims to recognize characters from the images. One pretrained nvCLIP4STR model is delivered, which is trained on 7 dataset with alphanumeric labels. This model is ready for commercial use.

Deployment Geography:

Global

Use Case

This model can be used to recognize texts in an image in computer vision applications.

Release Date:

NGC [05/30/2025]

License

License to use these models is covered by the NVIDIA Open Model License. By downloading the model, you accept the terms and conditions of these licenses.

Model Architecture

Architecture Type: Convolution Neural Network + Transformer Encoder Decoder. Network Architecture: This model was developed based on the CLIP4STR, which is a optical character recognition model. The nvCLIP4STR has two encoder decoder branches: a visual branch and a cross-modal branch. The visual branch provides an initial prediction based on the visual feature, and the cross-modal branch refines this prediction by addressing the discrepancy between the visual feature and text semantics.

Input

  • Input Type: Image
  • Input Formats: Red, Green, Blue (RGB)
  • Input Parameters: Two-Dimensional (2D)
  • Other Properties Related to Input: 224x224 resolution required; no alpha channel or bits

Output

  • Output Type(s): Text
  • Output Format: String
  • Output Parameters: One-Dimensional (1D)
  • Other Properties Related to Output: Texts including numbers, capital and lower-case letters and symbols.

Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA’s hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.

Software Integration:

Runtime Engine(s):

  • TAO 6.0.0

Supported Hardware Microarchitecture Compatibility:

  • NVIDIA Ampere
  • NVIDIA Jetson
  • NVIDIA Hopper
  • NVIDIA Volta

[Preferred/Supported] Operating System(s):

  • Linux

Model versions:

  • deployable_v1.0 - Models deployable with CLIP-based backbone.

Training and Evaluation Datasets

  • The total size: 6M images
  • Total number of datasets: 7 training datasets, 3 evaluation datasets
  • Dataset partition: training and evaluation are different datasets

Training Datasets

Link:

Data Collection Method by dataset:

  • Hybrid: Automated, Human

Labeling Method by dataset:

  • Hybrid: Automated, Human

Properties:

datasetimage numbers
ICDAR20154468
MLT1945551
Uber-Text91978
COCO-Text v2.059820
OpenVINO1912794
TextOCR714770
Union14M-L3220666

Evaluation Datasets

Link:

Data Collection Method by dataset:

  • Hybrid: Automated, Human

Labeling Method by dataset:

  • Hybrid: Automated, Human

Properties:

dataseteval image numbers
ICDAR131015
ICDAR152077
Uber-Text80551

Performance

We test the nvCLIP4STR model on three different datasets: Uber-Text validation dataset, ICDAR13 and ICDAR15 scene text benchmark dataset. And we compare nvCLIP4STR against the previous OCRNet in TAO.

Methodology and KPI

The key performance indicator is the accuracy of character recognition. The accurate recognition means all the characters in a text area are recognized correctly. The KPIs for the evaluation data are reported below.

modeldatasetaccuracy
nvCLIP4STRUber-Text89.34%
nvCLIP4STRICDAR1398.42%
nvCLIP4STRICDAR1590.08%
ocrnet_resnet50_unprunedUber-Text + TextOCR validation77.1%
ocrnet_resnet50_unprunedICDAR1391.8%
ocrnet_resnet50_unprunedICDAR1578.6%
ocrnet_resnet50_unprunedInternal PCB validation74.1%
ocrnet_resnet50_prunedICDAR1392.6%
ocrnet-vitUber-Text + TextOCR validation83.7%
ocrnet-vitICDAR1395.5%
ocrnet-vitICDAR1584.7%
ocrnet-vit-pcbInternal PCB validation84.2%

Inference

Acceleration Engine: TensorRT

Test Hardware:

  • DGX A100

How to use this model

This model needs to be used with NVIDIA Hardware and Software. For Hardware, the model can run on any NVIDIA GPU including NVIDIA Jetson devices. This model can only be used with NVIDIA-Optical-Character-Detection-and-Recognition-Solution (nvOCDR lib), you can try to deploy nvCLIP4STR and run c++ inference in this nvOCDR lib

Primary use case intended for this model is to recognize the characters from the detected text region.

There is one type of nvCLIP4STR provided:

  • deployable (unpruned)

The deployable model is in onnx format. The deployable models can be deployed in TensorRT and nvOCDR.

Instructions to use the model with nvOCDR

nvOCDR lib can support nvCLIP4STR now. For more information of c++ inference, please refer to the nvCLIP4STR C++ Sample.

Using TAO Pre-trained Models

Technical blogs

Suggested reading

Ethical Considerations

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse. For more detailed information on ethical considerations for this model, please see the Model Card++ Explainability, Bias, Safety & Security, and Privacy Subcards. Please report security vulnerabilities or NVIDIA AI Concerns here.

Reference

  • Zhao, Shuai, et al. "CLIP4STR: a simple baseline for scene text recognition with pre-trained vision-language model." IEEE Transactions on Image Processing (2024).
  • Radford, Alec, et al. "Learning transferable visual models from natural language supervision." International conference on machine learning. PmLR, 2021.
Publisher
NVIDIA
NVIDIA
Latest Versiondeployable_v1.0
UpdatedAugust 5, 2025 UTC
Compressed Size1.62 GB