Added Neural network code
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
#include <opencv2/core/core.hpp>
|
||||
#include <opencv2/highgui/highgui.hpp>
|
||||
#include <opencv2\imgproc\imgproc.hpp>
|
||||
#include <opencv2/calib3d/calib3d.hpp>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
#include "avansvisionlib20.h"
|
||||
|
||||
class Camera
|
||||
{
|
||||
public:
|
||||
Camera(int port);
|
||||
~Camera();
|
||||
bool Calibrate();
|
||||
Mat getImage();
|
||||
Mat takeImage();
|
||||
private:
|
||||
const string filename = "calibration.yml";
|
||||
int port = 0;
|
||||
VideoCapture capture;
|
||||
Mat intrinsic, distCoeffs;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user