Event OrientationDetected
- Namespace
- LMKit.Integrations.Tesseract
- Assembly
- LM-Kit.NET.dll
Occurs when an orientation is detected during OCR processing. Subscribers receive the rotation angle (in degrees).
public event Action<int> OrientationDetected
Returns
- Action<int>
- Occurs when an orientation is detected during OCR processing. Subscribers receive the rotation angle (in degrees).
Examples
var ocr = new TesseractOcrEngine();
ocr.OrientationDetected += rotationAngle =>
{
Console.WriteLine($"[OCR] Detected page rotation: {rotationAngle}°");
};