---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/llmocrengine
---

# LLMOCREngine

## Overview

`LLMOCREngine` is a type in Aspose.PDF FOSS for Go.

LLMOCREngine recognizes text by sending the page image to a vision-capable chat model.

This type declares 1 method for LLMOCREngine objects in Go programs.
Available methods include: `Recognize`.
Public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

## Methods

| Signature | Description |
|-----------|-------------|
| `Recognize(ctx: context.Context, img: image.Image)` → `(*OCRResult, error)` | Recognize sends the image to the model and parses its line-per-line transcription. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)