Codeunit "Image Analysis Management"
ID 2020
Namespace: System.AI
Methods
Initialize
[NonDebuggable]
procedure Initialize()
Initialize
[NonDebuggable]
procedure Initialize(InputImageAnalysisProvider: Enum "Image Analysis Provider")
Parameters
SetMedia
procedure SetMedia(MediaId: Guid)
Parameters
Name
Type
Description
MediaId
Guid
SetImagePath
procedure SetImagePath(Path: Text)
Parameters
Name
Type
Description
Path
Text
SetBlob
procedure SetBlob(TempBlob: __MissingTypeSymbol__)
Parameters
Name
Type
Description
TempBlob
__MissingTypeSymbol__
SetUriAndKey
Obsolete
This element will become obsolete from version 24.0. Replaced by SetUriAndKey with SecretText data type for KeyValue parameter.
[NonDebuggable]
[Obsolete(Replaced by SetUriAndKey with SecretText data type for KeyValue parameter.,24.0)]
procedure SetUriAndKey(UriValue: Text, KeyValue: Text)
Parameters
Name
Type
Description
UriValue
Text
KeyValue
Text
SetUriAndKey
procedure SetUriAndKey(UriValue: Text, KeyValue: SecretText)
Parameters
Name
Type
Description
UriValue
Text
KeyValue
SecretText
SetLimitInYears
procedure SetLimitInYears(Value: Integer)
Parameters
Name
Type
Description
Value
Integer
SetLimitInMonths
procedure SetLimitInMonths(Value: Integer)
Parameters
Name
Type
Description
Value
Integer
SetLimitInDays
procedure SetLimitInDays(Value: Integer)
Parameters
Name
Type
Description
Value
Integer
SetLimitInHours
procedure SetLimitInHours(Value: Integer)
Parameters
Name
Type
Description
Value
Integer
AnalyzeTags
procedure AnalyzeTags(var ImageAnalysisResult: Codeunit "Image Analysis Result"): Boolean
Parameters
Returns
AnalyzeColors
procedure AnalyzeColors(var ImageAnalysisResult: Codeunit "Image Analysis Result"): Boolean
Parameters
Returns
AnalyzeFaces
procedure AnalyzeFaces(var ImageAnalysisResult: Codeunit "Image Analysis Result"): Boolean
Parameters
Returns
Analyze
procedure Analyze(var ImageAnalysisResult: Codeunit "Image Analysis Result", AnalysisType: Enum "Image Analysis Type"): Boolean
Parameters
Returns
Analyze
procedure Analyze(var ImageAnalysisResult: Codeunit "Image Analysis Result", AnalysisTypes: List of [Enum "Image Analysis Type"]): Boolean
Parameters
Returns
GetLastError
procedure GetLastError(var Message: Text, var IsUsageLimitError: Boolean): Boolean
Parameters
Name
Type
Description
Message
Text
IsUsageLimitError
Boolean
Returns
GetTelemetryCategory
procedure GetTelemetryCategory(): Text
Returns
GetNoImageErr
procedure GetNoImageErr(): Text
Returns
HasError
procedure HasError(): Boolean
Returns
GetLimitParams
procedure GetLimitParams(var LimitTypeOut: Option, var LimitValueOut: Integer)
Parameters
Name
Type
Description
LimitTypeOut
Option
LimitValueOut
Integer
IsCurrentUserLanguageSupported
procedure IsCurrentUserLanguageSupported(AnalysisTypes: List of [Enum "Image Analysis Type"]): Boolean
Parameters
Name
Type
Description
AnalysisTypes
List of [Enum System.AI."Image Analysis Type"]
Returns
See also