From 9f2112e74ad55715754a79b0212954f552135107 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Mon, 2 Dec 2013 12:41:43 -0500 Subject: [PATCH] added placeholder janus functions --- openbr/janus | 2 +- openbr/janus.cpp | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/openbr/janus b/openbr/janus index 3eba1d0..a0cc3a0 160000 --- a/openbr/janus +++ b/openbr/janus @@ -1 +1 @@ -Subproject commit 3eba1d0b770bf22bf276965ff65d1ea298e20ecd +Subproject commit a0cc3a0d217320152bab8472afbbdadeb0cd762c diff --git a/openbr/janus.cpp b/openbr/janus.cpp index 02ae9f7..21937b7 100644 --- a/openbr/janus.cpp +++ b/openbr/janus.cpp @@ -23,3 +23,35 @@ void janus_finalize() { br::Context::finalize(); } + +janus_error janus_initialize_template(janus_partial_template *partial_template) +{ + (void) partial_template; + return JANUS_SUCCESS; +} + +janus_error janus_add_image(const janus_image image, const janus_attribute_list attributes, janus_partial_template partial_template) +{ + (void) image; + (void) attributes; + (void) partial_template; + return JANUS_SUCCESS; +} + +janus_error janus_finalize_template(janus_partial_template partial_template, janus_template template_, size_t *bytes) +{ + (void) partial_template; + (void) template_; + *bytes = 0; + return JANUS_SUCCESS; +} + +janus_error janus_verify(const janus_template a, const size_t a_bytes, const janus_template b, const size_t b_bytes, float *similarity) +{ + (void) a; + (void) a_bytes; + (void) b; + (void) b_bytes; + *similarity = 0; + return JANUS_SUCCESS; +} -- libgit2 0.21.4