Jafar
|
Definition at line 26 of file engine.hpp.
Public Member Functions | |
Engine () | |
default constructor | |
Engine (const std::string &file_) | |
file-based constructor | |
void | loadDetectorParams (const std::string &file_) |
void | saveDetectorParams (const std::string &file_) |
void | getFrame (const jafar::image::Image &src_, jafar::sams::Frame &f_) |
jafar::sams::Hypothesis | modelMatch (const jafar::sams::Model &md_, const jafar::sams::Frame &f_, std::vector< Match > &m_) |
jafar::sams::Hypothesis | match (const jafar::sams::Frame &md_, const jafar::sams::Frame &f_, std::vector< Match > &m_) |
double | checking (std::string const &name_, jafar::sams::Frame const &fr_, std::vector< Match > const &matches_, jafar::sams::Hypothesis const &hc_, jafar::sams::ModelDB const &db_) const |
Probabilistic verification for recognition. | |
std::string | learn (jafar::image::Image const &img, std::string const &label="") |
process image for learning. | |
std::vector < jafar::sams::Hypothesis > | recognize (jafar::sams::Frame const &f) const |
process image for recognition | |
void | loadDB (std::string const &path_) |
void | saveDB (std::string const &path_=".") const |
Public Attributes | |
jafar::sams::SSDetector | detector1 |
jafar::sams::DOGDetector | detector2 |
jafar::sams::GIFTFactory | descriptor |
jafar::sams::SNNMatcher | matcher |
jafar::sams::ModelDB | db |
jafar::sams::BackgroundAnalysis | backdb |
Protected Member Functions | |
void | loadKeyValueFile (jafar::kernel::KeyValueFile const &keyValueFile) |
void | saveKeyValueFile (jafar::kernel::KeyValueFile &keyValueFile) |
Private Attributes | |
bool | byDefault |
void jafar::sams::Engine::loadDetectorParams | ( | const std::string & | file_ | ) | [inline] |
load detector parameters from file
file_ | filename |
Definition at line 47 of file engine.hpp.
References jafar::kernel::KeyValueFileLoad::load().
void jafar::sams::Engine::loadKeyValueFile | ( | jafar::kernel::KeyValueFile const & | keyValueFile | ) | [protected, virtual] |
void jafar::sams::Engine::saveDetectorParams | ( | const std::string & | file_ | ) | [inline] |
save detector parameters to file
file_ | filename |
Definition at line 54 of file engine.hpp.
References jafar::kernel::KeyValueFileSave::save().
void jafar::sams::Engine::saveKeyValueFile | ( | jafar::kernel::KeyValueFile & | keyValueFile | ) | [protected, virtual] |
Generated on Wed Oct 15 2014 00:37:47 for Jafar by doxygen 1.7.6.1 |