28 #ifndef ADDOBJECTDIALOG_H_ 29 #define ADDOBJECTDIALOG_H_ 32 #include <QtCore/QTimer> 33 #include <opencv2/features2d/features2d.hpp> 34 #include <opencv2/core/core.hpp> 37 class Ui_addObjectDialog;
52 AddObjectDialog(
Camera * camera,
const cv::Mat & image,
bool mirrorView, QWidget * parent = 0, Qt::WindowFlags
f = 0);
59 void update(
const cv::Mat &);
74 cv::Rect
computeROI(
const std::vector<cv::KeyPoint> & kpts);
76 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)