File: Calib3D.h

package info (click to toggle)
node-opencv 6.0.0+git20180416.cfc96ba0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 24,632 kB
  • sloc: xml: 476,707; cpp: 5,950; makefile: 114; sh: 59; ansic: 20
file content (30 lines) | stat: -rw-r--r-- 692 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __NODE_CALIB3D_H
#define __NODE_CALIB3D_H

#include "OpenCV.h"

#ifdef HAVE_OPENCV_CALIB3D

#if CV_MAJOR_VERSION >= 3
#include <opencv2/calib3d.hpp>
#endif

/**
 * Implementation of calib3d.hpp functions
 */
class Calib3D: public Nan::ObjectWrap {
public:
  static void Init(Local<Object> target);
  static NAN_METHOD(FindChessboardCorners);
  static NAN_METHOD(DrawChessboardCorners);
  static NAN_METHOD(CalibrateCamera);
  static NAN_METHOD(SolvePnP);
  static NAN_METHOD(GetOptimalNewCameraMatrix);
  static NAN_METHOD(StereoCalibrate);
  static NAN_METHOD(StereoRectify);
  static NAN_METHOD(ComputeCorrespondEpilines);
  static NAN_METHOD(ReprojectImageTo3D);
};

#endif
#endif