Instructions to use Xenova/trocr-small-printed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/trocr-small-printed with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-to-text', 'Xenova/trocr-small-printed');
Use trOCR in onnx format
#3 opened about 2 years ago
by
fef2
about trocr retrained model onnx conversion
2
#2 opened over 2 years ago
by
sainithish