Functions | Variables
img_capture.cpp File Reference
#include <stdio.h>
#include <iostream>
#include <ctime>
#include <cstdio>
#include "opencv2/core/core.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "ros/ros.h"
Include dependency graph for img_capture.cpp:

Go to the source code of this file.

Functions

void checkBoundary ()
Rect cropRect (0, 0, 0, 0)
int main (int argc, char **argv)
void onMouse (int event, int x, int y, int f, void *)
void showImage ()

Variables

bool clicked = false
Mat frame
int i = 0
Mat img
char imgName [15]
Point P1 (0, 0)
Point P2 (0, 0)
std::string path_to_template = "/home/bwi/shiqi/template.jpg"
Mat ROI
const char * winName = "Crop Image"

Function Documentation

void checkBoundary ( )

Definition at line 33 of file img_capture.cpp.

Rect cropRect ( ,
,
,
 
)
int main ( int  argc,
char **  argv 
)

Definition at line 120 of file img_capture.cpp.

void onMouse ( int  event,
int  x,
int  y,
int  f,
void *   
)

Definition at line 61 of file img_capture.cpp.

void showImage ( )

Definition at line 48 of file img_capture.cpp.


Variable Documentation

bool clicked = false

Definition at line 27 of file img_capture.cpp.

Mat frame

Definition at line 21 of file img_capture.cpp.

int i = 0

Definition at line 28 of file img_capture.cpp.

Mat img

Definition at line 21 of file img_capture.cpp.

char imgName[15]

Definition at line 29 of file img_capture.cpp.

Point P1(0, 0)
Point P2(0, 0)
std::string path_to_template = "/home/bwi/shiqi/template.jpg"

Definition at line 30 of file img_capture.cpp.

Mat ROI

Definition at line 21 of file img_capture.cpp.

const char* winName = "Crop Image"

Definition at line 26 of file img_capture.cpp.



bwi_scavenger
Author(s): Shiqi Zhang
autogenerated on Thu Jun 6 2019 17:57:53