# Trocr results = 'generated\_text': 'SR'

**URL:** <https://discuss.huggingface.co/t/trocr-results-generated-text-sr/75479>\
**Category:** Beginners\
**Created:** [March 1, 2024, 2:12pm UTC](https://discuss.huggingface.co/t/trocr-results-generated-text-sr/75479 "2024-03-01T14:12:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubinglen](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rubinglen](https://discuss.huggingface.co/u/rubinglen)\
**Post date:** [March 1, 2024, 2:12pm UTC](https://discuss.huggingface.co/t/trocr-results-generated-text-sr/75479/1 "2024-03-01T14:12:28Z")

</div>

I am trying to test the trocr model on hugging face here [microsoft/trocr-base-printed · Hugging Face](https://huggingface.co/microsoft/trocr-base-printed)

And am using their inference api serverless. When I run the example using my own image png file to test it yields only 2 letters, SR…not sure what’s going on here, it is a whole page with text.

```auto
>>> print(query("debut.png"))
[{'generated_text': 'SR:'}]

```

Any advice on how to access the OCR’d version of my png appreciated!
