-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* set CMAKE_INSTALL_RPATH w/ list syntax of string syntax * add Context::updateGL() to allow use to call `glewInit()` from within windows DLL (requirement) for multi-context scenarios and bump minor sdk version * add `add_library(drishti::drishti ALIAS drishti)` in install section for `add_subdirectory()` compatibility * update driahti-face-test sample config file defaults ``` set(CMAKE_INSTALL_RPATH "${DRISHTI_ORIGIN}/../lib" "${DRISHTI_ORIGIN}") ```
- Loading branch information
1 parent
f00983f
commit 2de6c84
Showing
9 changed files
with
28 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#https://cmake.org/Wiki/CMake_RPATH_handling | ||
|
||
macro(drishti_set_rpath) | ||
set(DRISHTI_ORIGIN "$ORIGIN") | ||
if (APPLE) | ||
set(DRISHTI_ORIGIN "@loader_path") | ||
else() | ||
set(DRISHTI_ORIGIN "$ORIGIN") | ||
endif() | ||
set(CMAKE_INSTALL_RPATH "${DRISHTI_ORIGIN}/../lib:${DRISHTI_ORIGIN}/") | ||
set(CMAKE_INSTALL_RPATH "${DRISHTI_ORIGIN}/../lib" "${DRISHTI_ORIGIN}") | ||
endmacro() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"acfCalibration": 0.015, | ||
"acfCalibration": 0.002, | ||
"doAnnotation": true, | ||
"doSimplePipeline": false, | ||
"faceFinderInterval": 0.0, | ||
"videoWidth": 1920, | ||
"videoHeight": 1080, | ||
"videoWidth": 1280, | ||
"videoHeight": 720, | ||
"focalLength": 1618.0, | ||
"minDetectionDistance": 0.0, | ||
"maxDetectionDistance": 3.0, | ||
"minDetectionDistance": 0.1, | ||
"maxDetectionDistance": 2.0, | ||
"maxTrackMisses": 2, | ||
"minFaceSeparation": 0.1, | ||
"minTrackHits": 3, | ||
"multiFace": false, | ||
"multiFace": true, | ||
"regressorCropScale": 1.1, | ||
"doCpuAcf": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters