NcnnYolox constructor

NcnnYolox()

Implementation

NcnnYolox() {
  _detectWithImagePathYoloxFunction = dynamicLibrary.lookupFunction<
      _DetectWithImagePathYoloxNative,
      _DetectWithImagePathYolox>('detectWithImagePath');
  _detectWithPixelsYoloxFunction = dynamicLibrary.lookupFunction<
      _DetectWithPixelsYoloxNative,
      _DetectWithPixelsYolox>('detectWithPixels');
  _yuv420sp2rgbFunction = dynamicLibrary
      .lookupFunction<_Yuv420sp2rgbNative, _Yuv420sp2rgb>('yuv420sp2rgb');
  _rgb2rgbaFunction =
      dynamicLibrary.lookupFunction<_Rgb2rgbaNative, _Rgb2rgba>('rgb2rgba');
  _kannaRotateFunction = dynamicLibrary
      .lookupFunction<_KannaRotateNative, _KannaRotate>('kannaRotate');
  _disposeYoloxFunction = dynamicLibrary
      .lookupFunction<_DisposeYoloxNative, _DisposeYolox>("disposeYolox");
  _initYoloxFunction = dynamicLibrary
      .lookupFunction<_InitYoloxNative, _InitYolox>('initYolox');
}