28 #ifndef ADDOBJECTDIALOG_H_ 29 #define ADDOBJECTDIALOG_H_ 32 #include <QtCore/QTimer> 33 #include <opencv2/features2d/features2d.hpp> 34 #include <opencv2/core/core.hpp> 36 class Ui_addObjectDialog;
51 AddObjectDialog(
Camera * camera,
const cv::Mat & image,
bool mirrorView, QWidget * parent = 0, Qt::WindowFlags
f = 0);
58 void update(
const cv::Mat &);
72 cv::Rect
computeROI(
const std::vector<cv::KeyPoint> & kpts);
74 Ui_addObjectDialog *
ui_;
ObjSignature * objSignature_
void update(const cv::Mat &)
void changeSelectionMode()
virtual ~AddObjectDialog()
virtual void closeEvent(QCloseEvent *event)
AddObjectDialog(Camera *camera, const cv::Mat &image, bool mirrorView, QWidget *parent=0, Qt::WindowFlags f=0)
cv::Rect computeROI(const std::vector< cv::KeyPoint > &kpts)
void retrieveObject(ObjWidget **widget, ObjSignature **signature)