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

# OcrCopilot

## Overview

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

OcrCopilot recognizes text on scanned pages.

This type declares 2 methods for OcrCopilot objects in Go programs.
Available methods include: `GetTextRecognition`, `MakeSearchable`.
Public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetTextRecognition(ctx: context.Context)` → `([]TextRecognitionResult, error)` | GetTextRecognition renders each target page, runs the OCR engine on it, and returns the recognized text per page. |
| `MakeSearchable(ctx: context.Context)` → `(int, error)` | MakeSearchable OCRs the document's scanned pages and writes the recognized text back as an invisible text layer (text rendering mode 3), so the PDF becomes selectable, copyable and Ctrl+F-searchable in any viewer while its visual appearance is unchanged. |

## See Also

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