From 0aa347229f684562f65522ba05a5c1faafa19f93 Mon Sep 17 00:00:00 2001 From: Niels Rogge Date: Tue, 12 Oct 2021 11:25:58 +0000 Subject: [PATCH] Add appropriate image to the code example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce6613b..b911a67 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,8 @@ from transformers import TrOCRProcessor, VisionEncoderDecoderModel from PIL import Image import requests -url = 'http://images.cocodataset.org/val2017/000000039769.jpg' +# load image from the IAM database +url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg' image = Image.open(requests.get(url, stream=True).raw) processor = TrOCRProcessor.from_pretrained('microsoft/trocr-base-handwritten')