Commit 49eda702f7a843da3f65ead4a91bd18fde99c5c5

Authored by Josh Klontz
1 parent 3b2c4407

started janus gallery implementation

1   -Subproject commit b79bdf71d86b1d5967fa636c6727bebf898cf2ed
  1 +Subproject commit aa2abb334a3179a04e14b713cd31f133d0c81321
... ...
openbr/janus.cpp
... ... @@ -112,3 +112,14 @@ janus_error janus_verify(const janus_template a, const janus_template b, float *
112 112 *similarity = a_templates * b_templates / dist;
113 113 return JANUS_SUCCESS;
114 114 }
  115 +
  116 +struct janus_incomplete_gallery_type
  117 +{
  118 + QList< QPair<janus_template, janus_template_id> > templates;
  119 +};
  120 +
  121 +janus_error janus_initialize_gallery(janus_incomplete_gallery *incomplete_gallery)
  122 +{
  123 + *incomplete_gallery = new janus_incomplete_gallery_type();
  124 + return JANUS_SUCCESS;
  125 +}
... ...