From 49eda702f7a843da3f65ead4a91bd18fde99c5c5 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 19 Dec 2013 12:53:51 -0500 Subject: [PATCH] started janus gallery implementation --- openbr/janus | 2 +- openbr/janus.cpp | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/openbr/janus b/openbr/janus index b79bdf7..aa2abb3 160000 --- a/openbr/janus +++ b/openbr/janus @@ -1 +1 @@ -Subproject commit b79bdf71d86b1d5967fa636c6727bebf898cf2ed +Subproject commit aa2abb334a3179a04e14b713cd31f133d0c81321 diff --git a/openbr/janus.cpp b/openbr/janus.cpp index b5f6e4f..fa010d2 100644 --- a/openbr/janus.cpp +++ b/openbr/janus.cpp @@ -112,3 +112,14 @@ janus_error janus_verify(const janus_template a, const janus_template b, float * *similarity = a_templates * b_templates / dist; return JANUS_SUCCESS; } + +struct janus_incomplete_gallery_type +{ + QList< QPair > templates; +}; + +janus_error janus_initialize_gallery(janus_incomplete_gallery *incomplete_gallery) +{ + *incomplete_gallery = new janus_incomplete_gallery_type(); + return JANUS_SUCCESS; +} -- libgit2 0.21.4