# PdfNetStack.Ocr namespace

> Types in the PdfNetStack.Ocr namespace of the PdfNetStack.Ocr package: every class, struct and enum, with a one line summary.

Package: `PdfNetStack.Ocr`

### Namespaces

 [PdfNetStack.Ocr.Tesseract](https://www.jadev-corp.com/api/pdfnetstack-ocr-tesseract/)

### Classes

 [OcrBitmap](https://www.jadev-corp.com/api/pdfnetstack-ocr/ocrbitmap/)

An 8 bit gray image: rows top to bottom, [Width](https://www.jadev-corp.com/api/pdfnetstack-ocr/ocrbitmap/#PdfNetStack_Ocr_OcrBitmap_Width) bytes each, 0 black.

 [OcrImageResult](https://www.jadev-corp.com/api/pdfnetstack-ocr/ocrimageresult/)

Text found in one image, lines in reading order.

 [OcrLine](https://www.jadev-corp.com/api/pdfnetstack-ocr/ocrline/)

A line of text.

 [OcrRequest](https://www.jadev-corp.com/api/pdfnetstack-ocr/ocrrequest/)

What to read.

 [OcrWord](https://www.jadev-corp.com/api/pdfnetstack-ocr/ocrword/)

A word.

 [OnnxOcrEngine](https://www.jadev-corp.com/api/pdfnetstack-ocr/onnxocrengine/)

OCR with the PP-OCRv5 mobile models (PaddleOCR, Apache-2.0) on ONNX Runtime: a DB text
detector, a line orientation classifier and CTC recognizers for Latin and Arabic script.
Pre and post processing are managed code; the native runtime only sees float tensors.

 [OnnxOcrEngineOptions](https://www.jadev-corp.com/api/pdfnetstack-ocr/onnxocrengineoptions/)

Settings for [OnnxOcrEngine](https://www.jadev-corp.com/api/pdfnetstack-ocr/onnxocrengine/).

 [PdfOcr](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocr/)

Makes scanned PDFs searchable: finds the image that is each page's scan, reads it with an
[IOcrEngine](https://www.jadev-corp.com/api/pdfnetstack-ocr/iocrengine/), and lays the words over it as invisible text, so the page looks the
same but selects, copies and searches.

 [PdfOcrOptions](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocroptions/)

Settings for [PdfOcr](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocr/).

 [PdfOcrPage](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocrpage/)

The result for one page. Coordinates are in PDF user space: points, y up, before /Rotate.

 [PdfOcrReport](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocrreport/)

The result for a document.

### Interfaces

 [IOcrEngine](https://www.jadev-corp.com/api/pdfnetstack-ocr/iocrengine/)

Recognizes text in images. Implementations must be safe to call from several threads.

 [IPdfPageRasterizer](https://www.jadev-corp.com/api/pdfnetstack-ocr/ipdfpagerasterizer/)

Renders a page to pixels for OCR, for pages [PdfOcr](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocr/) cannot read from their images.
PdfNetStack does not render; an application supplies a renderer, for example one built on
PDFium, through [Rasterizer](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocroptions/#PdfNetStack_Ocr_PdfOcrOptions_Rasterizer).

### Enums

 [PdfOcrPageStatus](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocrpagestatus/)

What happened to a page.

Source: https://www.jadev-corp.com/pdfnetstack/api/pdfnetstack-ocr/
