Files
candle/candle-examples/examples/trocr
Ryan Kopf f4fcf60900 Update readme.md (#1322)
Updating the readme to coincide with other examples. If you try to run it as previously written, you will get a "cannot find the path specified" error.
2023-11-12 09:46:19 +00:00
..
2023-11-09 18:49:17 +01:00
2023-11-12 09:46:19 +00:00

candle-trocr

TrOCR is a transformer OCR Model. In this example it is used to transcribe image text. See the associated model card for details on the model itself.

Running an example

cargo run --example trocr --release --  --which base --cpu --image candle-examples/examples/trocr/assets/trocr.png
<s> industry , Mr. Brown commented icily . " Let us have a</s>