identify method

(bool, int, int) identify(
  1. InputArray onlyBits,
  2. double maxCorrectionRate
)

Implementation

(bool rval, int idx, int rotation) identify(InputArray onlyBits, double maxCorrectionRate) {
  final pIdx = calloc<ffi.Int>();
  final pRotation = calloc<ffi.Int>();
  final rval = ccontrib.cv_aruco_Dictionary_identify(ref, onlyBits.ref, pIdx, pRotation, maxCorrectionRate);
  final ret = (rval, pIdx.value, pRotation.value);
  calloc.free(pIdx);
  calloc.free(pRotation);
  return ret;
}