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; +}