#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"
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
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
void onMouse |
( |
int |
event, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
f, |
|
|
void * |
|
|
) |
| |
Variable Documentation