discontinuedPackage opencv_core has been discontinued and replaced by dartcv4.

KeyPoint constructor

KeyPoint(
  1. double x,
  2. double y,
  3. double size,
  4. double angle,
  5. double response,
  6. int octave,
  7. int classID,
)

Implementation

factory KeyPoint(double x, double y, double size, double angle, double response, int octave, int classID) {
  final ptr = calloc<cvg.KeyPoint>()
    ..ref.x = x
    ..ref.y = y
    ..ref.size = size
    ..ref.angle = angle
    ..ref.response = response
    ..ref.octave = octave
    ..ref.classID = classID;
  return KeyPoint._(ptr);
}