You are here: Start » AVLDL.DL_ReadCharacters_Deploy Method
AVLDL.DL_ReadCharacters_Deploy Method
Namespace: | AvlNet.DeepLearning |
---|---|
Assembly: | AvlDl.Net.dll |
Syntax
public static void DL_ReadCharacters_Deploy ( NullableRef<string> inModelDirectory, AvlNet.OcrPretrainedModel inPretrainedModelType, AvlNet.DeviceKind? inDeviceType, int inDeviceIndex, AvlNet.OcrDeployHint? inExecutionHint, out AvlNet.ReadCharactersModelId outModelId )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inModelDirectory | AvlNet.NullableRef<string> | ||||
inPretrainedModelType | AvlNet.OcrPretrainedModel | ||||
inDeviceType | AvlNet.DeviceKind? | ||||
inDeviceIndex | int | ||||
inExecutionHint | AvlNet.OcrDeployHint? | ||||
outModelId | AvlNet.ReadCharactersModelId |
Description
The pretrained models are described here.
Remarks
- Passing NIL as inTargetDevice (which is default), is identical to passing DeviceKind::CUDA on GPU version of Deep Learning add-on and DeviceKind::CPU on CPU version on Deep Learning add-on.
- GPU version of Deep Learning add-on supports DeviceKind::CUDA and DeviceKind::CPU as inTargetDevice value.
- CPU version of Deep Learning add-on supports only DeviceKind::CPU as inTargetDevice value.