Class FindObject

Inheritance Relationships

Base Type

  • public QObject

Class Documentation

class FindObject : public QObject

Public Functions

FindObject(bool keepImagesInRAM_ = true, QObject *parent = 0)
virtual ~FindObject()
bool loadSession(const QString &path, const ParametersMap &customParameters = ParametersMap())
bool saveSession(const QString &path)
inline bool isSessionModified() const
bool saveVocabulary(const QString &filePath) const
bool loadVocabulary(const QString &filePath)
int loadObjects(const QString &dirPath, bool recursive = false)
const ObjSignature *addObject(const QString &filePath)
const ObjSignature *addObject(const cv::Mat &image, int id = 0, const QString &filePath = QString())
bool addObject(ObjSignature *obj)
void removeObject(int id)
void removeAllObjects()
bool detect(const cv::Mat &image, find_object::DetectionInfo &info) const
void updateDetectorExtractor()
void updateObjects(const QList<int> &ids = QList<int>())
void updateVocabulary(const QList<int> &ids = QList<int>())
inline const QMap<int, ObjSignature*> &objects() const
inline const Vocabulary *vocabulary() const

Public Slots

void addObjectAndUpdate(const cv::Mat &image, int id = 0, const QString &filePath = QString())
void removeObjectAndUpdate(int id)
void detect(const cv::Mat &image)
void detect(const cv::Mat &image, const find_object::Header &header, const cv::Mat &depth, float depthConstant)

Signals

void objectsFound(const find_object::DetectionInfo&, const find_object::Header&, const cv::Mat&, float)

Public Static Functions

static void affineSkew(float tilt, float phi, const cv::Mat &image, cv::Mat &skewImage, cv::Mat &skewMask, cv::Mat &Ai)