CommandOcrSync - метод
Пространство имён: Tessa.Extensions.Default.Console.TextRecognition.SyncСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("OcrSync")]
[LocalizableDescriptionAttribute("Common_CLI_OcrSync")]
public static Task OcrSync(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_SourceFile")] string sourceFile,
[ArgumentAttribute("target")][LocalizableDescriptionAttribute("Common_CLI_Target")] string? target = null,
[ArgumentAttribute("lang")][LocalizableDescriptionAttribute("Common_CLI_Languages")] IEnumerable<OcrLanguage>? languages = null,
[ArgumentAttribute("mode")][LocalizableDescriptionAttribute("Common_CLI_SegmentationMode")] OcrSegmentationMode segmentationMode = OcrSegmentationMode.AutoOsd,
[ArgumentAttribute("cf")][LocalizableDescriptionAttribute("Common_CLI_Confidence")] int confidence = 50,
[ArgumentAttribute("pp")][LocalizableDescriptionAttribute("Common_CLI_Preprocess")] bool preprocess = false,
[ArgumentAttribute("dr")][LocalizableDescriptionAttribute("Common_CLI_DetectRotation")] bool detectRotation = true,
[ArgumentAttribute("dt")][LocalizableDescriptionAttribute("Common_CLI_DetectTables")] bool detectTables = false,
[ArgumentAttribute("db")][LocalizableDescriptionAttribute("Common_CLI_DetectBarcodes")] bool detectBarcodes = false,
[ArgumentAttribute("ow")][LocalizableDescriptionAttribute("Common_CLI_Overwrite")] bool overwrite = false,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("OcrSync")>
<LocalizableDescriptionAttribute("Common_CLI_OcrSync")>
Public Shared Function OcrSync (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_SourceFile")> sourceFile As String,
<ArgumentAttribute("target")><LocalizableDescriptionAttribute("Common_CLI_Target")> Optional target As String = Nothing,
<ArgumentAttribute("lang")><LocalizableDescriptionAttribute("Common_CLI_Languages")> Optional languages As IEnumerable(Of OcrLanguage) = Nothing,
<ArgumentAttribute("mode")><LocalizableDescriptionAttribute("Common_CLI_SegmentationMode")> Optional segmentationMode As OcrSegmentationMode = OcrSegmentationMode.AutoOsd,
<ArgumentAttribute("cf")><LocalizableDescriptionAttribute("Common_CLI_Confidence")> Optional confidence As Integer = 50,
<ArgumentAttribute("pp")><LocalizableDescriptionAttribute("Common_CLI_Preprocess")> Optional preprocess As Boolean = false,
<ArgumentAttribute("dr")><LocalizableDescriptionAttribute("Common_CLI_DetectRotation")> Optional detectRotation As Boolean = true,
<ArgumentAttribute("dt")><LocalizableDescriptionAttribute("Common_CLI_DetectTables")> Optional detectTables As Boolean = false,
<ArgumentAttribute("db")><LocalizableDescriptionAttribute("Common_CLI_DetectBarcodes")> Optional detectBarcodes As Boolean = false,
<ArgumentAttribute("ow")><LocalizableDescriptionAttribute("Common_CLI_Overwrite")> Optional overwrite As Boolean = false,
<ArgumentAttribute("q")><LocalizableDescriptionAttribute("Common_CLI_Quiet")> Optional quiet As Boolean = false,
<ArgumentAttribute("nologo")><LocalizableDescriptionAttribute("CLI_NoLogo")> Optional nologo As Boolean = false
) As Task
public:
[VerbAttribute(L"OcrSync")]
[LocalizableDescriptionAttribute(L"Common_CLI_OcrSync")]
static Task^ OcrSync(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_SourceFile")] String^ sourceFile,
[ArgumentAttribute(L"target")][LocalizableDescriptionAttribute(L"Common_CLI_Target")] String^ target = nullptr,
[ArgumentAttribute(L"lang")][LocalizableDescriptionAttribute(L"Common_CLI_Languages")] IEnumerable<OcrLanguage>^ languages = nullptr,
[ArgumentAttribute(L"mode")][LocalizableDescriptionAttribute(L"Common_CLI_SegmentationMode")] OcrSegmentationMode segmentationMode = OcrSegmentationMode::AutoOsd,
[ArgumentAttribute(L"cf")][LocalizableDescriptionAttribute(L"Common_CLI_Confidence")] int confidence = 50,
[ArgumentAttribute(L"pp")][LocalizableDescriptionAttribute(L"Common_CLI_Preprocess")] bool preprocess = false,
[ArgumentAttribute(L"dr")][LocalizableDescriptionAttribute(L"Common_CLI_DetectRotation")] bool detectRotation = true,
[ArgumentAttribute(L"dt")][LocalizableDescriptionAttribute(L"Common_CLI_DetectTables")] bool detectTables = false,
[ArgumentAttribute(L"db")][LocalizableDescriptionAttribute(L"Common_CLI_DetectBarcodes")] bool detectBarcodes = false,
[ArgumentAttribute(L"ow")][LocalizableDescriptionAttribute(L"Common_CLI_Overwrite")] bool overwrite = false,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("OcrSync")>]
[<LocalizableDescriptionAttribute("Common_CLI_OcrSync")>]
static member OcrSync :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_SourceFile")>] sourceFile : string *
[<ArgumentAttribute("target")>][<LocalizableDescriptionAttribute("Common_CLI_Target")>] ?target : string *
[<ArgumentAttribute("lang")>][<LocalizableDescriptionAttribute("Common_CLI_Languages")>] ?languages : IEnumerable<OcrLanguage> *
[<ArgumentAttribute("mode")>][<LocalizableDescriptionAttribute("Common_CLI_SegmentationMode")>] ?segmentationMode : OcrSegmentationMode *
[<ArgumentAttribute("cf")>][<LocalizableDescriptionAttribute("Common_CLI_Confidence")>] ?confidence : int *
[<ArgumentAttribute("pp")>][<LocalizableDescriptionAttribute("Common_CLI_Preprocess")>] ?preprocess : bool *
[<ArgumentAttribute("dr")>][<LocalizableDescriptionAttribute("Common_CLI_DetectRotation")>] ?detectRotation : bool *
[<ArgumentAttribute("dt")>][<LocalizableDescriptionAttribute("Common_CLI_DetectTables")>] ?detectTables : bool *
[<ArgumentAttribute("db")>][<LocalizableDescriptionAttribute("Common_CLI_DetectBarcodes")>] ?detectBarcodes : bool *
[<ArgumentAttribute("ow")>][<LocalizableDescriptionAttribute("Common_CLI_Overwrite")>] ?overwrite : bool *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _target = defaultArg target null
let _languages = defaultArg languages null
let _segmentationMode = defaultArg segmentationMode OcrSegmentationMode.AutoOsd
let _confidence = defaultArg confidence 50
let _preprocess = defaultArg preprocess false
let _detectRotation = defaultArg detectRotation true
let _detectTables = defaultArg detectTables false
let _detectBarcodes = defaultArg detectBarcodes false
let _overwrite = defaultArg overwrite false
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- sourceFile String
-
- target String (Optional)
-
- languages IEnumerableOcrLanguage (Optional)
-
- segmentationMode OcrSegmentationMode (Optional)
-
- confidence Int32 (Optional)
-
- preprocess Boolean (Optional)
-
- detectRotation Boolean (Optional)
-
- detectTables Boolean (Optional)
-
- detectBarcodes Boolean (Optional)
-
- overwrite Boolean (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task