detectLayoutFromBytes method

Pointer<Char> detectLayoutFromBytes(
  1. Pointer<UnsignedChar> imageData,
  2. int width,
  3. int height,
  4. int channels,
  5. double confThreshold,
)

Detect layout from raw image bytes char* detectLayoutFromBytes(const unsigned char* image_data, int width, int height, int channels, float conf_threshold)

Implementation

ffi.Pointer<ffi.Char> detectLayoutFromBytes(
  ffi.Pointer<ffi.UnsignedChar> imageData,
  int width,
  int height,
  int channels,
  double confThreshold,
) {
  return _detectLayoutFromBytes(
      imageData, width, height, channels, confThreshold);
}