TRVFFmpegSpeechToTextProperty.UseGPU, GPUDeviceIndex

<< Click to display table of contents >>

TRVFFmpegSpeechToTextProperty.UseGPU, GPUDeviceIndex

The properties specify how to use GPU (Graphics Processing Unit) for speech recognition.

property UseGPU: Boolean;

property GPUDeviceIndex: Cardinal;

UseGPU enables/disables GPU usage.

GPUDeviceIndex is the GPU device index to use.

Speech recognition requires a fairly powerful modern GPU, otherwise recognition will be performed with significant delays.

If the values of these properties are changed during a speech recognition session, the new values are not used in that session. They will be used the next time speech recognition is run. See Active.

Default values:

UseGPU: True

GPUDeviceIndex: 0