Commit 1fb3a925a68459db79022e2a38d2ab3dbce31e6c
1 parent
80ff6487
pp5 abbreviation fix
Showing
2 changed files
with
4 additions
and
2 deletions
sdk/plugins/pp5.cpp
| ... | ... | @@ -46,7 +46,7 @@ class PP5Initializer : public Initializer |
| 46 | 46 | void initialize() const |
| 47 | 47 | { |
| 48 | 48 | TRY(ppr_initialize_sdk(qPrintable(Globals->sdkPath + "/share/openbr/models/pp5/"), my_license_id, my_license_key)) |
| 49 | - Globals->abbreviations.insert("PP5","Open+PP5Enroll!Identity:PP5Compare"); | |
| 49 | + Globals->abbreviations.insert("PP5","Open!PP5Enroll:PP5Compare"); | |
| 50 | 50 | Globals->abbreviations.insert("RegisterFace", "Open+Cvt(Gray)+PP5Enroll(true)+Rename(PP5_Landmark0_Right_Eye_X,Affine_0_X)+Rename(PP5_Landmark0_Right_Eye_Y,Affine_0_Y)+Rename(PP5_Landmark1_Left_Eye_X,Affine_1_X)+Rename(PP5_Landmark1_Left_Eye_Y,Affine_1_Y)+Affine(96,128,0.28,0.45)"); |
| 51 | 51 | } |
| 52 | 52 | ... | ... |
share/openbr/cmake/FindStasm.cmake
| ... | ... | @@ -10,7 +10,9 @@ |
| 10 | 10 | |
| 11 | 11 | find_path(Stasm_DIR include/stasm.hpp ${CMAKE_SOURCE_DIR}/3rdparty/*) |
| 12 | 12 | |
| 13 | +add_subdirectory(${Stasm_DIR} ${Stasm_DIR}/build) | |
| 14 | + | |
| 13 | 15 | include_directories(${Stasm_DIR}/include) |
| 14 | -link_directories(${Stasm_DIR}/lib) | |
| 16 | +link_directories(${Stasm_DIR}/build) | |
| 15 | 17 | |
| 16 | 18 | set(Stasm_LIBS stasm) | ... | ... |