From 66d23de8c6e50fbf9c9769671123090dd458a676 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Wed, 20 Nov 2013 11:08:36 -0500 Subject: [PATCH] temporarilty removing janus files --- openbr/janus | 1 - openbr/janus.cpp | 22 ---------------------- 2 files changed, 0 insertions(+), 23 deletions(-) delete mode 160000 openbr/janus delete mode 100644 openbr/janus.cpp diff --git a/openbr/janus b/openbr/janus deleted file mode 160000 index 929bf94..0000000 --- a/openbr/janus +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 929bf94d6002d68b0d9c7a0b98a9c210d86bb7e6 diff --git a/openbr/janus.cpp b/openbr/janus.cpp deleted file mode 100644 index 4265b81..0000000 --- a/openbr/janus.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#ifdef BR_LIBRARY - #define JANUS_LIBRARY -#endif - -#include "janus.h" -#include "openbr_plugin.h" - -janus_error janus_initialize(const char *sdk_path, const char *model_file) -{ - int argc = 1; - const char *argv[1] = { "br" }; - br::Context::initialize(argc, (char **)argv, sdk_path); - QString algorithm = model_file; - if (algorithm.isEmpty()) algorithm = "FaceRecognition"; - br::Globals->setProperty("Algorithm", algorithm); - return JANUS_SUCCESS; -} - -void janus_finalize() -{ - br::Context::finalize(); -} -- libgit2 0.21.4