added helper function for drawing squares
This commit is contained in:
10
include/genimg/drawing.hh
Normal file
10
include/genimg/drawing.hh
Normal 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_ */
|
||||
Reference in New Issue
Block a user