recognizeTextFromBuffer method
Recognize text from image buffer (for camera frames) Buffer format: BGRA (iOS camera format)
Implementation
ffi.Pointer<ffi.Char> recognizeTextFromBuffer(
ffi.Pointer<ffi.Uint8> buffer,
int width,
int height,
int stride,
double detThreshold,
double recThreshold) {
return _recognizeTextFromBuffer(
buffer, width, height, stride, detThreshold, recThreshold);
}