Click or drag to resize

TesseractGetOpenCLDevice Method
If compiled with OpenCL AND an available OpenCL device is deemed faster than serial code, then "device" is populated with the cl_device_id and returns sizeof(cl_device_id) otherwise *device=nullptr and returns 0.

Namespace:  Emgu.CV.OCR
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public int GetOpenCLDevice(
	ref IntPtr device


Type: SystemIntPtr
Pointer to the opencl device

Return Value

Type: Int32
0 if no device found. sizeof(cl_device_id) if device is found.
See Also