add support for OCR ...
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using Tesseract;
|
||||
|
||||
namespace xAiApi.Models
|
||||
{
|
||||
public class XAiOCRDescriptor
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides Trained Data Path ...
|
||||
/// </summary>
|
||||
public string DataPath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The Engine for Doing OCR ...
|
||||
/// </summary>
|
||||
public EngineMode EngineMode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Enable OCR Fallback using Model ...
|
||||
/// </summary>
|
||||
public bool EnableOcrFallback { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Default OCR Language ...
|
||||
/// </summary>
|
||||
public string DefaultLanguage { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user