added helper function for drawing squares

This commit is contained in:
Phuntsok Drak-pa
2019-03-19 15:26:03 +01:00
parent 020d48e16e
commit c96b772e89
2 changed files with 23 additions and 0 deletions

10
include/genimg/drawing.hh Normal file
View File

@@ -0,0 +1,10 @@
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_DRAWING_HH_
#define GENETIC_IMAGE_INCLUDE_GENIMG_DRAWING_HH_
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
void draw_square(cv::Mat &t_img, cv::Point const &t_top_left, int const size,
cv::Scalar const &t_color);
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_DRAWING_HH_ */