Click or drag to resize
Pdftools logo

Engine Methods

The Engine type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreate

Create a new OCR engine

The name argument selects the OCR engine. Two engine names are supported:
  • "service": HTTP-based text OCR engine. The endpoint URL is supplied after an "@" suffix, e.g. "service@http://localhost:7982/". Multiple endpoints may be given as a semicolon-separated list for failover, e.g. "service@http://host1:7982/;http://host2:7982/". When no URL is given, "http://localhost:7982/" is used by default.
  • "barcodes": Barcode and QR code recognition engine. Takes no additional parameters. Available only on Windows x86 and x64.
Public methodDispose

Close the engine

Release all native resources associated with the OCR engine.
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also