Commit db31cb6582b4ea597eef0d6b54082bf4c1ef451e
1 parent
00bdac9d
initial configuration for janus submodule
Showing
5 changed files
with
13 additions
and
5 deletions
openbr/CMakeLists.txt
| ... | ... | @@ -2,6 +2,14 @@ |
| 2 | 2 | configure_file(${BR_SHARE_DIR}/version.h.in version.h) |
| 3 | 3 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) |
| 4 | 4 | |
| 5 | +# Janus API | |
| 6 | +set(JANUS_BUILD_PP5_WRAPPER ${BR_WITH_PP5} CACHE BOOL "Build Janus implementation using PittPatt 5") | |
| 7 | +set(JANUS_BUILD_DOCS ${BR_BUILD_DOCUMENTATION} CACHE BOOL "Build Janus HTML Doxygen documentation") | |
| 8 | +mark_as_advanced(JANUS_BUILD_PP5_WRAPPER) | |
| 9 | +mark_as_advanced(JANUS_BUILD_DOCS) | |
| 10 | +add_subdirectory(janus) | |
| 11 | +install(DIRECTORY janus/include DESTINATION .) | |
| 12 | + | |
| 5 | 13 | # Collect source files |
| 6 | 14 | aux_source_directory(. SRC) |
| 7 | 15 | aux_source_directory(core BR_CORE) | ... | ... |
openbr/openbr_export.cpp
| ... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | |
| 17 | 17 | /*! |
| 18 | 18 | * \mainpage |
| 19 | - * \section overview Overview | |
| 19 | + * \page overview Overview | |
| 20 | 20 | * OpenBR \cite klontz2013open is a framework for investigating new modalities, improving existing algorithms, interfacing with commercial systems, measuring recognition performance, and deploying automated biometric systems. |
| 21 | 21 | * The project is designed to facilitate rapid algorithm prototyping, and features a mature core framework, flexible plugin system, and support for open and closed source development. |
| 22 | 22 | * Off-the-shelf algorithms are also available for specific modalities including \ref cpp_face_recognition, \ref cpp_age_estimation, and \ref cpp_gender_estimation. | ... | ... |
openbr/openbr_plugin.cpp
| ... | ... | @@ -228,7 +228,7 @@ void File::appendRect(const QRectF &rect) |
| 228 | 228 | m_metadata["Rects"] = newRects; |
| 229 | 229 | } |
| 230 | 230 | |
| 231 | -void File::appendRect(const Rect &rect) | |
| 231 | +void File::appendRect(const cv::Rect &rect) | |
| 232 | 232 | { |
| 233 | 233 | appendRect(OpenCVUtils::fromRect(rect)); |
| 234 | 234 | } |
| ... | ... | @@ -241,7 +241,7 @@ void File::appendRects(const QList<QRectF> &rects) |
| 241 | 241 | m_metadata["Rects"] = newRects; |
| 242 | 242 | } |
| 243 | 243 | |
| 244 | -void File::appendRects(const QList<Rect> &rects) | |
| 244 | +void File::appendRects(const QList<cv::Rect> &rects) | |
| 245 | 245 | { |
| 246 | 246 | appendRects(OpenCVUtils::fromRects(rects)); |
| 247 | 247 | } | ... | ... |
share/openbr/Doxyfile.in
| ... | ... | @@ -688,7 +688,7 @@ RECURSIVE = YES |
| 688 | 688 | # Note that relative paths are relative to the directory from which doxygen is |
| 689 | 689 | # run. |
| 690 | 690 | |
| 691 | -EXCLUDE = | |
| 691 | +EXCLUDE = ${CMAKE_SOURCE_DIR}/openbr/janus | |
| 692 | 692 | |
| 693 | 693 | # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or |
| 694 | 694 | # directories that are symbolic links (a Unix file system feature) are excluded | ... | ... |