#include "naive_steerer.h" #include "util.h" using namespace std; NaiveSteerer::NaiveSteerer(int chx, int chy) { set_crosshair(chx,chy); } void NaiveSteerer::set_crosshair(int chx, int chy) { crosshair_x=chx; crosshair_y=chy; } void NaiveSteerer::process_image(const Mat& img) { int left_sum=0, right_sum=0; for (int row = 0; row(row); for (int col=0; col