You are here: Start » FILDL.DL_ReadCharacters_Deploy Method

FILDL.DL_ReadCharacters_Deploy Method

Namespace:FilNet.DeepLearning
Assembly:FilDl.Net.dll

Syntax

public static void DL_ReadCharacters_Deploy
(
	NullableRef<string> inModelDirectory,
	FilNet.OcrPretrainedModel inPretrainedModelType,
	FilNet.DeviceKind? inDeviceType,
	int inDeviceIndex,
	FilNet.OcrDeployHint? inExecutionHint,
	out FilNet.ReadCharactersModelId outModelId
)

Parameters

Name Type Range Default Description
inModelDirectoryFilNet.NullableRef<string>
inPretrainedModelTypeFilNet.OcrPretrainedModel
inDeviceTypeFilNet.DeviceKind?
inDeviceIndexint
inExecutionHintFilNet.OcrDeployHint?
outModelIdFilNet.ReadCharactersModelId

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.

Function Overrides

See also