anuashok / ocr-captcha-v2

huggingface.co
Total runs: 7.8K
24-hour runs: -449
7-day runs: -530
30-day runs: -2.5K
Model's Last Updated: November 15 2024

Introduction of ocr-captcha-v2

Model Details of ocr-captcha-v2

anuashok/ocr-captcha-v2

This model is a fine-tuned version of microsoft/trocr-base-printed on your custom dataset. captchas like

image/png

Training Summary
  • CER (Character Error Rate) : 0.02025931928687196
  • Hyperparameters :
    • Learning Rate : 1.1081459294764632e-05
    • Batch Size : 4
    • Num Epochs : 3
    • Warmup Ratio : 0.07863134774153628
    • Weight Decay : 0.06248152825021373
    • Num Beams : 6
    • Length Penalty : 0.5095100725173662
Usage
from transformers import VisionEncoderDecoderModel, TrOCRProcessor
import torch
from PIL import Image

# Load model and processor
processor = TrOCRProcessor.from_pretrained("anuashok/ocr-captcha-v2")
model = VisionEncoderDecoderModel.from_pretrained("anuashok/ocr-captcha-v2")

# Load image
image = Image.open('path_to_your_image.jpg').convert("RGB")

# Prepare image
pixel_values = processor(image, return_tensors="pt").pixel_values

# Generate text
generated_ids = model.generate(pixel_values)
generated_text = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(generated_text)

Runs of anuashok ocr-captcha-v2 on huggingface.co

7.8K
Total runs
-449
24-hour runs
-1.1K
3-day runs
-530
7-day runs
-2.5K
30-day runs

More Information About ocr-captcha-v2 huggingface.co Model

More ocr-captcha-v2 license Visit here:

https://choosealicense.com/licenses/apache-2.0

ocr-captcha-v2 huggingface.co

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

ocr-captcha-v2 huggingface.co Url

https://huggingface.co/anuashok/ocr-captcha-v2

anuashok ocr-captcha-v2 online free

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

anuashok ocr-captcha-v2 online free url in huggingface.co:

https://huggingface.co/anuashok/ocr-captcha-v2

ocr-captcha-v2 install

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

ocr-captcha-v2 install url in huggingface.co:

https://huggingface.co/anuashok/ocr-captcha-v2

Url of ocr-captcha-v2

ocr-captcha-v2 huggingface.co Url

Provider of ocr-captcha-v2 huggingface.co

anuashok
ORGANIZATIONS

Other API from anuashok

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 06 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 14 2024