You are here: Start » DLInvoke Class

DLInvoke Class

Namespace:Avl
Assembly:AvlNet.DL.Cpu.dll

Methods

 NameDescription
ConvertImageArrayToTensor(List<Avl.Image>, Avl.Tensor) Converts an array of images with the same format to a NHWC tensor.
ConvertImageToTensor(Avl.Image, Avl.Tensor) Converts an image to a NHWC tensor, with N equal to 1.
ConvertRealArrayArrayToTensor(List<List<float>>, Avl.Tensor) Converts a two dimensional array of reals to a tensor with the NL ordering.
ConvertRealArrayToTensor(List<float>, List<int>, Avl.TensorDataOrdering, Avl.Tensor) Converts an array of reals to a tensor with provided dimensions and the ordering.
ConvertTensorToImageArray(Avl.Tensor, List<Avl.Image>) Converts a NHWC tensor to an array of images.
ConvertTensorToImage(Avl.Tensor, Avl.Image) Converts a NHWC tensor to an image. Only data for N equal to 0 is converted.
ConvertTensorToRealArrayArray(Avl.Tensor, List<List<float>>) Converts a tensor with the NL ordering to a two dimensional array of reals.
ConvertTensorToRealArray(Avl.Tensor, List<float>) Converts a tensor to an array of reals.
DestroyDeepLearningConnectionState()
DL_ClassifyObject_AccessModel(string, List<string>, Conditional<int>) Returns the names of the classes used in training.
DL_ClassifyObject_Deploy(string, Optional<Avl.DeviceKind>, int, bool, Avl.ClassifyObjectModelId) Loads a deep learning model and prepares its execution on a specific target device.
DL_ClassifyObject_Unload(Avl.ClassifyObjectModelId, bool) Unloads a deep learning model and frees allocated memory.
DL_ClassifyObject(Avl.Image, Optional<Avl.Rectangle2D>, Optional<Avl.CoordinateSystem2D>, Avl.ClassifyObjectModelId, bool, List<Avl.ClassConfidence>, string, int, float, Avl.Heatmap, Optional<Avl.Rectangle2D>) Executes a Classify Object model on a single input image.
DL_CleanDevice(Optional<Avl.DeviceKind>, int) Frees memory allocated for executing a models on a specific device.
DL_CloseConnection() Closes connection to Service (e.g. to perform training).
DL_ConfigureLogging(Avl.DeepLearningLogLevel) Filter is used to set minimum level of logged messages.
DL_Configure(int, Optional<int>) Filter is used to change basic Deep Learning configuration.
DL_DetectAnomalies1_Deploy(string, Optional<Avl.DeviceKind>, int, bool, Avl.DetectAnomalies1ModelId) Loads a deep learning model and prepares its execution on a specific target device.
DL_DetectAnomalies1_Unload(Avl.DetectAnomalies1ModelId, bool) Unloads a deep learning model and frees allocated memory.
DL_DetectAnomalies1(Avl.Image, Avl.DetectAnomalies1ModelId, bool, float, Avl.Heatmap, bool, float, bool, float, float, Optional<Avl.Image>) Executes a Detect Anomalies 1 model on a single input image.
DL_DetectAnomalies2_AccessModel(string, Avl.Size, float, float, Conditional<int>) Returns thresholds and accepted image size for trained model.
DL_DetectAnomalies2_Deploy(string, Optional<Avl.DeviceKind>, int, Avl.DetectAnomalies2ModelId) Loads a deep learning model and prepares its execution on a specific target device.
DL_DetectAnomalies2_Unload(Avl.DetectAnomalies2ModelId, bool) Unloads a deep learning model and frees allocated memory.
DL_DetectAnomalies2_WithThresholds(Avl.Image, Optional<Avl.Rectangle2D>, Optional<Avl.CoordinateSystem2D>, Avl.DetectAnomalies2ModelId, float, Optional<float>, float, Avl.Heatmap, bool, float, bool, Conditional<Avl.Region>, Optional<Avl.Rectangle2D>) Executes a Detect Anomalies 2 model on a single input image.
DL_DetectAnomalies2(Avl.Image, Optional<Avl.Rectangle2D>, Optional<Avl.CoordinateSystem2D>, Avl.DetectAnomalies2ModelId, float, Avl.Heatmap, bool, float, bool, float, float, Conditional<Avl.Region>, Optional<Avl.Rectangle2D>) Executes a Detect Anomalies 2 model on a single input image.
DL_DetectFeatures_Deploy(string, Optional<Avl.DeviceKind>, int, Optional<Avl.Size>, Avl.DetectFeaturesModelId) Loads a deep learning model and prepares its execution on a specific target device.
DL_DetectFeatures_Unload(Avl.DetectFeaturesModelId, bool) Unloads a deep learning model and frees allocated memory.
DL_DetectFeatures(Avl.Image, Optional<Avl.Region>, Avl.DetectFeaturesModelId, bool, List<Avl.Heatmap>, Optional<Avl.Heatmap>, Optional<Avl.Heatmap>, Optional<Avl.Heatmap>, Optional<Avl.Heatmap>) Executes a Detect Features model on a single input image.
DL_IsServiceRunning(Optional<int>, bool) Checks if the Deep Learning Service is running. If the input is empty, the filter will try to connect indefinitely.
DL_ListCudaDevices(List<Avl.CudaDevice>) Lists all available CUDA devices
DL_LocateObjects_Deploy(string, Optional<Avl.DeviceKind>, int, Optional<Avl.Size>, Avl.LocateObjectsModelId) Loads a deep learning model and prepares its execution on a specific target device.
DL_LocateObjects_Unload(Avl.LocateObjectsModelId, bool) Unloads a deep learning model and frees allocated memory.
DL_LocateObjects(Avl.Image, Optional<Avl.Region>, Avl.LocateObjectsModelId, float, float, List<Avl.ClassifiedRectangle>) Performs locating objects using a pretrained deep learning model.
DL_LocatePoints_Deploy(string, Optional<Avl.DeviceKind>, int, Optional<Avl.Size>, Avl.LocatePointsModelId) Loads a deep learning model and prepares its execution on a specific target device.
DL_LocatePoints_Unload(Avl.LocatePointsModelId, bool) Unloads a deep learning model and frees allocated memory.
DL_LocatePoints(Avl.Image, Optional<Avl.Region>, Avl.LocatePointsModelId, float, Optional<float>, bool, List<Avl.Location>, List<int>, List<string>, List<float>) Executes a Locate Points model on a single input image.
DL_LocateText_Deploy(Optional<string>, Avl.LocateTextPretrainedModel, Optional<Avl.DeviceKind>, int, Optional<Avl.LocateTextDeployHint>, Avl.LocateTextModelId) Loads a deep learning model and prepares its execution on a specific target device.
DL_LocateText_Quantized_Deploy(Optional<string>, Avl.LocateTextPretrainedModelQuantized, Optional<Avl.DeviceKind>, int, Optional<Avl.LocateTextDeployHint>, Avl.LocateTextModelId)
DL_LocateText_Unload(Avl.LocateTextModelId, bool) Unloads a deep learning model and frees allocated memory.
DL_LocateText(Avl.Image, Optional<Avl.Rectangle2D>, Optional<Avl.CoordinateSystem2D>, Avl.LocateTextModelId, int, float, int, int, int, int, Avl.Heatmap, List<Avl.Region>, List<Avl.LocateTextResult>, Optional<Avl.Rectangle2D>) Performs text detection using a pre-trained deep learning model.
DL_ReadCharacters_Deploy(Optional<string>, Avl.OcrPretrainedModel, Optional<Avl.DeviceKind>, int, Optional<Avl.OcrDeployHint>, Avl.ReadCharactersModelId) Loads a deep learning model and prepares its execution on a specific target device.
DL_ReadCharacters_Quantized_Deploy(Optional<string>, Avl.OcrPretrainedModelQuantized, Optional<Avl.DeviceKind>, int, Optional<Avl.OcrDeployHint>, Avl.ReadCharactersModelId)
DL_ReadCharacters_Unload(Avl.ReadCharactersModelId, bool) Unloads a deep learning model and frees allocated memory.
DL_ReadCharacters(Avl.Image, Optional<Avl.Rectangle2D>, Optional<Avl.CoordinateSystem2D>, Avl.ReadCharactersModelId, int, float, float, Optional<string>, float, float, Avl.Polarity, float, bool, bool, List<Avl.OcrResult>, List<List<Avl.OcrCandidate>>, List<Avl.Region>, Optional<Avl.Rectangle2D>, Diagnostic<Avl.Image>) Performs optical character recognition using a pretrained deep learning model.
DL_SegmentInstances_Deploy_Deprecated(string, Optional<Avl.DeviceKind>, int, Optional<int>, Avl.SegmentInstancesModelId)
DL_SegmentInstances_Deprecated(Avl.Image, Optional<Avl.Region>, Avl.SegmentInstancesModelId, Optional<float>, Optional<int>, List<Avl.Box>, List<int>, List<string>, List<float>, List<Avl.Region>)
DL_SegmentInstances_Unload_Deprecated(Avl.SegmentInstancesModelId, bool)
Equals(object)Inherited from System.Object
GetHashCode()Inherited from System.Object
GetType()Inherited from System.Object
ToString()Inherited from System.Object

See also

Previous: C# Project Configuration Next: Class Reference