Commit 66d23de8c6e50fbf9c9769671123090dd458a676
1 parent
bc4c7f43
temporarilty removing janus files
Showing
2 changed files
with
0 additions
and
23 deletions
openbr/janus deleted
| 1 | -Subproject commit 929bf94d6002d68b0d9c7a0b98a9c210d86bb7e6 |
openbr/janus.cpp deleted
| 1 | -#ifdef BR_LIBRARY | ||
| 2 | - #define JANUS_LIBRARY | ||
| 3 | -#endif | ||
| 4 | - | ||
| 5 | -#include "janus.h" | ||
| 6 | -#include "openbr_plugin.h" | ||
| 7 | - | ||
| 8 | -janus_error janus_initialize(const char *sdk_path, const char *model_file) | ||
| 9 | -{ | ||
| 10 | - int argc = 1; | ||
| 11 | - const char *argv[1] = { "br" }; | ||
| 12 | - br::Context::initialize(argc, (char **)argv, sdk_path); | ||
| 13 | - QString algorithm = model_file; | ||
| 14 | - if (algorithm.isEmpty()) algorithm = "FaceRecognition"; | ||
| 15 | - br::Globals->setProperty("Algorithm", algorithm); | ||
| 16 | - return JANUS_SUCCESS; | ||
| 17 | -} | ||
| 18 | - | ||
| 19 | -void janus_finalize() | ||
| 20 | -{ | ||
| 21 | - br::Context::finalize(); | ||
| 22 | -} |