Table of Contents

Method ClearCache

Namespace
LMKit.Extraction.Ocr
Assembly
LM-Kit.NET.dll

ClearCache()

Clears all cached OCR engines and releases their associated resources.

public static void ClearCache()

Remarks

This method is thread-safe. Call this method when cached OCR engines are no longer needed to free up memory and other resources. After calling this method, any subsequent OCR operations may require reinitialization of engines, which could impact performance.

Share