CommandOcrAsync - метод
Пространство имён: Tessa.Extensions.Default.Console.TextRecognition.AsyncСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("OcrAsync")]
[LocalizableDescriptionAttribute("Common_CLI_OcrAsync")]
public static Task OcrAsync(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_FileIdentifier")] string fileIdentifier,
[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("a")][LocalizableDescriptionAttribute("Common_CLI_Address")] string? address = null,
[ArgumentAttribute("i")][LocalizableDescriptionAttribute("Common_CLI_Instance")] string? instanceName = null,
[ArgumentAttribute("u")][LocalizableDescriptionAttribute("Common_CLI_UserName")] string? userName = null,
[ArgumentAttribute("p")][LocalizableDescriptionAttribute("Common_CLI_Password")] string? password = null,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("OcrAsync")>
<LocalizableDescriptionAttribute("Common_CLI_OcrAsync")>
Public Shared Function OcrAsync (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_FileIdentifier")> fileIdentifier As String,
<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("a")><LocalizableDescriptionAttribute("Common_CLI_Address")> Optional address As String = Nothing,
<ArgumentAttribute("i")><LocalizableDescriptionAttribute("Common_CLI_Instance")> Optional instanceName As String = Nothing,
<ArgumentAttribute("u")><LocalizableDescriptionAttribute("Common_CLI_UserName")> Optional userName As String = Nothing,
<ArgumentAttribute("p")><LocalizableDescriptionAttribute("Common_CLI_Password")> Optional password As String = Nothing,
<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"OcrAsync")]
[LocalizableDescriptionAttribute(L"Common_CLI_OcrAsync")]
static Task^ OcrAsync(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_FileIdentifier")] String^ fileIdentifier,
[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"a")][LocalizableDescriptionAttribute(L"Common_CLI_Address")] String^ address = nullptr,
[ArgumentAttribute(L"i")][LocalizableDescriptionAttribute(L"Common_CLI_Instance")] String^ instanceName = nullptr,
[ArgumentAttribute(L"u")][LocalizableDescriptionAttribute(L"Common_CLI_UserName")] String^ userName = nullptr,
[ArgumentAttribute(L"p")][LocalizableDescriptionAttribute(L"Common_CLI_Password")] String^ password = nullptr,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("OcrAsync")>]
[<LocalizableDescriptionAttribute("Common_CLI_OcrAsync")>]
static member OcrAsync :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_FileIdentifier")>] fileIdentifier : 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("a")>][<LocalizableDescriptionAttribute("Common_CLI_Address")>] ?address : string *
[<ArgumentAttribute("i")>][<LocalizableDescriptionAttribute("Common_CLI_Instance")>] ?instanceName : string *
[<ArgumentAttribute("u")>][<LocalizableDescriptionAttribute("Common_CLI_UserName")>] ?userName : string *
[<ArgumentAttribute("p")>][<LocalizableDescriptionAttribute("Common_CLI_Password")>] ?password : string *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
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 _address = defaultArg address null
let _instanceName = defaultArg instanceName null
let _userName = defaultArg userName null
let _password = defaultArg password null
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- fileIdentifier String
-
- languages IEnumerableOcrLanguage (Optional)
-
- segmentationMode OcrSegmentationMode (Optional)
-
- confidence Int32 (Optional)
-
- preprocess Boolean (Optional)
-
- detectRotation Boolean (Optional)
-
- detectTables Boolean (Optional)
-
- detectBarcodes Boolean (Optional)
-
- overwrite Boolean (Optional)
-
- address String (Optional)
-
- instanceName String (Optional)
-
- userName String (Optional)
-
- password String (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task