retinaface optim
Showing
41 changed files
with
1269 additions
and
43 deletions
.vscode/settings.json
0 → 100644
CMakeLists.txt
0 → 100644
| 1 | cmake_minimum_required(VERSION 3.10) | ||
| 2 | project(facerecognize) | ||
| 3 | |||
| 4 | # include_directories( ${OpenCV_INCLUDE_DIRS} ) | ||
| 5 | find_package(OpenCV REQUIRED) | ||
| 6 | # add_library(facerecognize SHARED facerecognize.cpp) | ||
| 7 | add_executable(facerecognize main.cpp facerecognize.cpp) | ||
| 8 | # link_libraries("/home/situ/qfs/sdk_project/face_recognize_c/libfacerecognize.so") | ||
| 9 | target_link_libraries(facerecognize ${OpenCV_LIBS}) | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
build/CMakeCache.txt
0 → 100644
This diff is collapsed.
Click to expand it.
build/CMakeFiles/3.10.2/CMakeCCompiler.cmake
0 → 100644
| 1 | set(CMAKE_C_COMPILER "/usr/bin/cc") | ||
| 2 | set(CMAKE_C_COMPILER_ARG1 "") | ||
| 3 | set(CMAKE_C_COMPILER_ID "GNU") | ||
| 4 | set(CMAKE_C_COMPILER_VERSION "7.5.0") | ||
| 5 | set(CMAKE_C_COMPILER_VERSION_INTERNAL "") | ||
| 6 | set(CMAKE_C_COMPILER_WRAPPER "") | ||
| 7 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") | ||
| 8 | set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") | ||
| 9 | set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") | ||
| 10 | set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") | ||
| 11 | set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") | ||
| 12 | |||
| 13 | set(CMAKE_C_PLATFORM_ID "Linux") | ||
| 14 | set(CMAKE_C_SIMULATE_ID "") | ||
| 15 | set(CMAKE_C_SIMULATE_VERSION "") | ||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | set(CMAKE_AR "/usr/bin/ar") | ||
| 20 | set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-7") | ||
| 21 | set(CMAKE_RANLIB "/usr/bin/ranlib") | ||
| 22 | set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7") | ||
| 23 | set(CMAKE_LINKER "/usr/bin/ld") | ||
| 24 | set(CMAKE_COMPILER_IS_GNUCC 1) | ||
| 25 | set(CMAKE_C_COMPILER_LOADED 1) | ||
| 26 | set(CMAKE_C_COMPILER_WORKS TRUE) | ||
| 27 | set(CMAKE_C_ABI_COMPILED TRUE) | ||
| 28 | set(CMAKE_COMPILER_IS_MINGW ) | ||
| 29 | set(CMAKE_COMPILER_IS_CYGWIN ) | ||
| 30 | if(CMAKE_COMPILER_IS_CYGWIN) | ||
| 31 | set(CYGWIN 1) | ||
| 32 | set(UNIX 1) | ||
| 33 | endif() | ||
| 34 | |||
| 35 | set(CMAKE_C_COMPILER_ENV_VAR "CC") | ||
| 36 | |||
| 37 | if(CMAKE_COMPILER_IS_MINGW) | ||
| 38 | set(MINGW 1) | ||
| 39 | endif() | ||
| 40 | set(CMAKE_C_COMPILER_ID_RUN 1) | ||
| 41 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) | ||
| 42 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) | ||
| 43 | set(CMAKE_C_LINKER_PREFERENCE 10) | ||
| 44 | |||
| 45 | # Save compiler ABI information. | ||
| 46 | set(CMAKE_C_SIZEOF_DATA_PTR "8") | ||
| 47 | set(CMAKE_C_COMPILER_ABI "ELF") | ||
| 48 | set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
| 49 | |||
| 50 | if(CMAKE_C_SIZEOF_DATA_PTR) | ||
| 51 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") | ||
| 52 | endif() | ||
| 53 | |||
| 54 | if(CMAKE_C_COMPILER_ABI) | ||
| 55 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") | ||
| 56 | endif() | ||
| 57 | |||
| 58 | if(CMAKE_C_LIBRARY_ARCHITECTURE) | ||
| 59 | set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
| 60 | endif() | ||
| 61 | |||
| 62 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") | ||
| 63 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) | ||
| 64 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") | ||
| 65 | endif() | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") | ||
| 72 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") | ||
| 73 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") |
| 1 | set(CMAKE_CXX_COMPILER "/usr/bin/c++") | ||
| 2 | set(CMAKE_CXX_COMPILER_ARG1 "") | ||
| 3 | set(CMAKE_CXX_COMPILER_ID "GNU") | ||
| 4 | set(CMAKE_CXX_COMPILER_VERSION "7.5.0") | ||
| 5 | set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") | ||
| 6 | set(CMAKE_CXX_COMPILER_WRAPPER "") | ||
| 7 | set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") | ||
| 8 | set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17") | ||
| 9 | set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") | ||
| 10 | set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") | ||
| 11 | set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") | ||
| 12 | set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") | ||
| 13 | |||
| 14 | set(CMAKE_CXX_PLATFORM_ID "Linux") | ||
| 15 | set(CMAKE_CXX_SIMULATE_ID "") | ||
| 16 | set(CMAKE_CXX_SIMULATE_VERSION "") | ||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | set(CMAKE_AR "/usr/bin/ar") | ||
| 21 | set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-7") | ||
| 22 | set(CMAKE_RANLIB "/usr/bin/ranlib") | ||
| 23 | set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7") | ||
| 24 | set(CMAKE_LINKER "/usr/bin/ld") | ||
| 25 | set(CMAKE_COMPILER_IS_GNUCXX 1) | ||
| 26 | set(CMAKE_CXX_COMPILER_LOADED 1) | ||
| 27 | set(CMAKE_CXX_COMPILER_WORKS TRUE) | ||
| 28 | set(CMAKE_CXX_ABI_COMPILED TRUE) | ||
| 29 | set(CMAKE_COMPILER_IS_MINGW ) | ||
| 30 | set(CMAKE_COMPILER_IS_CYGWIN ) | ||
| 31 | if(CMAKE_COMPILER_IS_CYGWIN) | ||
| 32 | set(CYGWIN 1) | ||
| 33 | set(UNIX 1) | ||
| 34 | endif() | ||
| 35 | |||
| 36 | set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") | ||
| 37 | |||
| 38 | if(CMAKE_COMPILER_IS_MINGW) | ||
| 39 | set(MINGW 1) | ||
| 40 | endif() | ||
| 41 | set(CMAKE_CXX_COMPILER_ID_RUN 1) | ||
| 42 | set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) | ||
| 43 | set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP) | ||
| 44 | set(CMAKE_CXX_LINKER_PREFERENCE 30) | ||
| 45 | set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) | ||
| 46 | |||
| 47 | # Save compiler ABI information. | ||
| 48 | set(CMAKE_CXX_SIZEOF_DATA_PTR "8") | ||
| 49 | set(CMAKE_CXX_COMPILER_ABI "ELF") | ||
| 50 | set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
| 51 | |||
| 52 | if(CMAKE_CXX_SIZEOF_DATA_PTR) | ||
| 53 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") | ||
| 54 | endif() | ||
| 55 | |||
| 56 | if(CMAKE_CXX_COMPILER_ABI) | ||
| 57 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") | ||
| 58 | endif() | ||
| 59 | |||
| 60 | if(CMAKE_CXX_LIBRARY_ARCHITECTURE) | ||
| 61 | set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
| 62 | endif() | ||
| 63 | |||
| 64 | set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") | ||
| 65 | if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) | ||
| 66 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") | ||
| 67 | endif() | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") | ||
| 74 | set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") | ||
| 75 | set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") |
No preview for this file type
No preview for this file type
build/CMakeFiles/3.10.2/CMakeSystem.cmake
0 → 100644
| 1 | set(CMAKE_HOST_SYSTEM "Linux-4.15.0-29-generic") | ||
| 2 | set(CMAKE_HOST_SYSTEM_NAME "Linux") | ||
| 3 | set(CMAKE_HOST_SYSTEM_VERSION "4.15.0-29-generic") | ||
| 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") | ||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 | set(CMAKE_SYSTEM "Linux-4.15.0-29-generic") | ||
| 9 | set(CMAKE_SYSTEM_NAME "Linux") | ||
| 10 | set(CMAKE_SYSTEM_VERSION "4.15.0-29-generic") | ||
| 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") | ||
| 12 | |||
| 13 | set(CMAKE_CROSSCOMPILING "FALSE") | ||
| 14 | |||
| 15 | set(CMAKE_SYSTEM_LOADED 1) |
This diff is collapsed.
Click to expand it.
build/CMakeFiles/3.10.2/CompilerIdC/a.out
0 → 100755
No preview for this file type
This diff is collapsed.
Click to expand it.
build/CMakeFiles/3.10.2/CompilerIdCXX/a.out
0 → 100755
No preview for this file type
| 1 | # CMAKE generated file: DO NOT EDIT! | ||
| 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | ||
| 3 | |||
| 4 | # Relative path conversion top directories. | ||
| 5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/situ/qfs/sdk_project/face_recognize_c") | ||
| 6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/situ/qfs/sdk_project/face_recognize_c/build") | ||
| 7 | |||
| 8 | # Force unix paths in dependencies. | ||
| 9 | set(CMAKE_FORCE_UNIX_PATHS 1) | ||
| 10 | |||
| 11 | |||
| 12 | # The C and CXX include file regular expressions for this directory. | ||
| 13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") | ||
| 14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") | ||
| 15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) | ||
| 16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) |
build/CMakeFiles/CMakeError.log
0 → 100644
| 1 | Determining if the pthread_create exist failed with the following output: | ||
| 2 | Change Dir: /home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/CMakeTmp | ||
| 3 | |||
| 4 | Run Build Command:"/usr/bin/make" "cmTC_eafd1/fast" | ||
| 5 | /usr/bin/make -f CMakeFiles/cmTC_eafd1.dir/build.make CMakeFiles/cmTC_eafd1.dir/build | ||
| 6 | make[1]: 进入目录“/home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/CMakeTmp” | ||
| 7 | Building C object CMakeFiles/cmTC_eafd1.dir/CheckSymbolExists.c.o | ||
| 8 | /usr/bin/cc -fPIC -o CMakeFiles/cmTC_eafd1.dir/CheckSymbolExists.c.o -c /home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c | ||
| 9 | Linking C executable cmTC_eafd1 | ||
| 10 | /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eafd1.dir/link.txt --verbose=1 | ||
| 11 | /usr/bin/cc -fPIC CMakeFiles/cmTC_eafd1.dir/CheckSymbolExists.c.o -o cmTC_eafd1 | ||
| 12 | CMakeFiles/cmTC_eafd1.dir/CheckSymbolExists.c.o:在函数‘main’中: | ||
| 13 | CheckSymbolExists.c:(.text+0x1b):对‘pthread_create’未定义的引用 | ||
| 14 | collect2: error: ld returned 1 exit status | ||
| 15 | CMakeFiles/cmTC_eafd1.dir/build.make:97: recipe for target 'cmTC_eafd1' failed | ||
| 16 | make[1]: *** [cmTC_eafd1] Error 1 | ||
| 17 | make[1]: 离开目录“/home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/CMakeTmp” | ||
| 18 | Makefile:126: recipe for target 'cmTC_eafd1/fast' failed | ||
| 19 | make: *** [cmTC_eafd1/fast] Error 2 | ||
| 20 | |||
| 21 | File /home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: | ||
| 22 | /* */ | ||
| 23 | #include <pthread.h> | ||
| 24 | |||
| 25 | int main(int argc, char** argv) | ||
| 26 | { | ||
| 27 | (void)argv; | ||
| 28 | #ifndef pthread_create | ||
| 29 | return ((int*)(&pthread_create))[argc]; | ||
| 30 | #else | ||
| 31 | (void)argc; | ||
| 32 | return 0; | ||
| 33 | #endif | ||
| 34 | } | ||
| 35 | |||
| 36 | Determining if the function pthread_create exists in the pthreads failed with the following output: | ||
| 37 | Change Dir: /home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/CMakeTmp | ||
| 38 | |||
| 39 | Run Build Command:"/usr/bin/make" "cmTC_1bed0/fast" | ||
| 40 | /usr/bin/make -f CMakeFiles/cmTC_1bed0.dir/build.make CMakeFiles/cmTC_1bed0.dir/build | ||
| 41 | make[1]: 进入目录“/home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/CMakeTmp” | ||
| 42 | Building C object CMakeFiles/cmTC_1bed0.dir/CheckFunctionExists.c.o | ||
| 43 | /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_1bed0.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c | ||
| 44 | Linking C executable cmTC_1bed0 | ||
| 45 | /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1bed0.dir/link.txt --verbose=1 | ||
| 46 | /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_1bed0.dir/CheckFunctionExists.c.o -o cmTC_1bed0 -lpthreads | ||
| 47 | /usr/bin/ld: 找不到 -lpthreads | ||
| 48 | collect2: error: ld returned 1 exit status | ||
| 49 | CMakeFiles/cmTC_1bed0.dir/build.make:97: recipe for target 'cmTC_1bed0' failed | ||
| 50 | make[1]: *** [cmTC_1bed0] Error 1 | ||
| 51 | make[1]: 离开目录“/home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/CMakeTmp” | ||
| 52 | Makefile:126: recipe for target 'cmTC_1bed0/fast' failed | ||
| 53 | make: *** [cmTC_1bed0/fast] Error 2 | ||
| 54 | |||
| 55 |
build/CMakeFiles/CMakeOutput.log
0 → 100644
This diff is collapsed.
Click to expand it.
build/CMakeFiles/Makefile.cmake
0 → 100644
| 1 | # CMAKE generated file: DO NOT EDIT! | ||
| 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | ||
| 3 | |||
| 4 | # The generator used is: | ||
| 5 | set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") | ||
| 6 | |||
| 7 | # The top level Makefile was generated from the following files: | ||
| 8 | set(CMAKE_MAKEFILE_DEPENDS | ||
| 9 | "CMakeCache.txt" | ||
| 10 | "../CMakeLists.txt" | ||
| 11 | "CMakeFiles/3.10.2/CMakeCCompiler.cmake" | ||
| 12 | "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake" | ||
| 13 | "CMakeFiles/3.10.2/CMakeSystem.cmake" | ||
| 14 | "CMakeFiles/feature_tests.c" | ||
| 15 | "CMakeFiles/feature_tests.cxx" | ||
| 16 | "/usr/local/lib/cmake/opencv4/OpenCVConfig-version.cmake" | ||
| 17 | "/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake" | ||
| 18 | "/usr/local/lib/cmake/opencv4/OpenCVModules-release.cmake" | ||
| 19 | "/usr/local/lib/cmake/opencv4/OpenCVModules.cmake" | ||
| 20 | "/usr/share/cmake-3.10/Modules/CMakeCCompiler.cmake.in" | ||
| 21 | "/usr/share/cmake-3.10/Modules/CMakeCCompilerABI.c" | ||
| 22 | "/usr/share/cmake-3.10/Modules/CMakeCInformation.cmake" | ||
| 23 | "/usr/share/cmake-3.10/Modules/CMakeCXXCompiler.cmake.in" | ||
| 24 | "/usr/share/cmake-3.10/Modules/CMakeCXXCompilerABI.cpp" | ||
| 25 | "/usr/share/cmake-3.10/Modules/CMakeCXXInformation.cmake" | ||
| 26 | "/usr/share/cmake-3.10/Modules/CMakeCommonLanguageInclude.cmake" | ||
| 27 | "/usr/share/cmake-3.10/Modules/CMakeCompilerIdDetection.cmake" | ||
| 28 | "/usr/share/cmake-3.10/Modules/CMakeConfigurableFile.in" | ||
| 29 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake" | ||
| 30 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCXXCompiler.cmake" | ||
| 31 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCompileFeatures.cmake" | ||
| 32 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCompiler.cmake" | ||
| 33 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCompilerABI.cmake" | ||
| 34 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake" | ||
| 35 | "/usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake" | ||
| 36 | "/usr/share/cmake-3.10/Modules/CMakeFindBinUtils.cmake" | ||
| 37 | "/usr/share/cmake-3.10/Modules/CMakeGenericSystem.cmake" | ||
| 38 | "/usr/share/cmake-3.10/Modules/CMakeLanguageInformation.cmake" | ||
| 39 | "/usr/share/cmake-3.10/Modules/CMakeParseImplicitLinkInfo.cmake" | ||
| 40 | "/usr/share/cmake-3.10/Modules/CMakeSystem.cmake.in" | ||
| 41 | "/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInformation.cmake" | ||
| 42 | "/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInitialize.cmake" | ||
| 43 | "/usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake" | ||
| 44 | "/usr/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake" | ||
| 45 | "/usr/share/cmake-3.10/Modules/CMakeTestCompilerCommon.cmake" | ||
| 46 | "/usr/share/cmake-3.10/Modules/CMakeUnixFindMake.cmake" | ||
| 47 | "/usr/share/cmake-3.10/Modules/CheckFunctionExists.c" | ||
| 48 | "/usr/share/cmake-3.10/Modules/CheckIncludeFile.c.in" | ||
| 49 | "/usr/share/cmake-3.10/Modules/CheckIncludeFile.cmake" | ||
| 50 | "/usr/share/cmake-3.10/Modules/CheckLibraryExists.cmake" | ||
| 51 | "/usr/share/cmake-3.10/Modules/CheckSymbolExists.cmake" | ||
| 52 | "/usr/share/cmake-3.10/Modules/Compiler/ADSP-DetermineCompiler.cmake" | ||
| 53 | "/usr/share/cmake-3.10/Modules/Compiler/ARMCC-DetermineCompiler.cmake" | ||
| 54 | "/usr/share/cmake-3.10/Modules/Compiler/AppleClang-DetermineCompiler.cmake" | ||
| 55 | "/usr/share/cmake-3.10/Modules/Compiler/Borland-DetermineCompiler.cmake" | ||
| 56 | "/usr/share/cmake-3.10/Modules/Compiler/Bruce-C-DetermineCompiler.cmake" | ||
| 57 | "/usr/share/cmake-3.10/Modules/Compiler/CMakeCommonCompilerMacros.cmake" | ||
| 58 | "/usr/share/cmake-3.10/Modules/Compiler/Clang-DetermineCompiler.cmake" | ||
| 59 | "/usr/share/cmake-3.10/Modules/Compiler/Clang-DetermineCompilerInternal.cmake" | ||
| 60 | "/usr/share/cmake-3.10/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake" | ||
| 61 | "/usr/share/cmake-3.10/Modules/Compiler/Compaq-C-DetermineCompiler.cmake" | ||
| 62 | "/usr/share/cmake-3.10/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake" | ||
| 63 | "/usr/share/cmake-3.10/Modules/Compiler/Cray-DetermineCompiler.cmake" | ||
| 64 | "/usr/share/cmake-3.10/Modules/Compiler/Embarcadero-DetermineCompiler.cmake" | ||
| 65 | "/usr/share/cmake-3.10/Modules/Compiler/Fujitsu-DetermineCompiler.cmake" | ||
| 66 | "/usr/share/cmake-3.10/Modules/Compiler/GHS-DetermineCompiler.cmake" | ||
| 67 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-C-DetermineCompiler.cmake" | ||
| 68 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-C-FeatureTests.cmake" | ||
| 69 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-C.cmake" | ||
| 70 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake" | ||
| 71 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX-FeatureTests.cmake" | ||
| 72 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX.cmake" | ||
| 73 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-FindBinUtils.cmake" | ||
| 74 | "/usr/share/cmake-3.10/Modules/Compiler/GNU.cmake" | ||
| 75 | "/usr/share/cmake-3.10/Modules/Compiler/HP-C-DetermineCompiler.cmake" | ||
| 76 | "/usr/share/cmake-3.10/Modules/Compiler/HP-CXX-DetermineCompiler.cmake" | ||
| 77 | "/usr/share/cmake-3.10/Modules/Compiler/IAR-DetermineCompiler.cmake" | ||
| 78 | "/usr/share/cmake-3.10/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake" | ||
| 79 | "/usr/share/cmake-3.10/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake" | ||
| 80 | "/usr/share/cmake-3.10/Modules/Compiler/Intel-DetermineCompiler.cmake" | ||
| 81 | "/usr/share/cmake-3.10/Modules/Compiler/MIPSpro-DetermineCompiler.cmake" | ||
| 82 | "/usr/share/cmake-3.10/Modules/Compiler/MSVC-DetermineCompiler.cmake" | ||
| 83 | "/usr/share/cmake-3.10/Modules/Compiler/NVIDIA-DetermineCompiler.cmake" | ||
| 84 | "/usr/share/cmake-3.10/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake" | ||
| 85 | "/usr/share/cmake-3.10/Modules/Compiler/PGI-DetermineCompiler.cmake" | ||
| 86 | "/usr/share/cmake-3.10/Modules/Compiler/PathScale-DetermineCompiler.cmake" | ||
| 87 | "/usr/share/cmake-3.10/Modules/Compiler/SCO-DetermineCompiler.cmake" | ||
| 88 | "/usr/share/cmake-3.10/Modules/Compiler/SDCC-C-DetermineCompiler.cmake" | ||
| 89 | "/usr/share/cmake-3.10/Modules/Compiler/SunPro-C-DetermineCompiler.cmake" | ||
| 90 | "/usr/share/cmake-3.10/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake" | ||
| 91 | "/usr/share/cmake-3.10/Modules/Compiler/TI-DetermineCompiler.cmake" | ||
| 92 | "/usr/share/cmake-3.10/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake" | ||
| 93 | "/usr/share/cmake-3.10/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake" | ||
| 94 | "/usr/share/cmake-3.10/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake" | ||
| 95 | "/usr/share/cmake-3.10/Modules/Compiler/Watcom-DetermineCompiler.cmake" | ||
| 96 | "/usr/share/cmake-3.10/Modules/Compiler/XL-C-DetermineCompiler.cmake" | ||
| 97 | "/usr/share/cmake-3.10/Modules/Compiler/XL-CXX-DetermineCompiler.cmake" | ||
| 98 | "/usr/share/cmake-3.10/Modules/Compiler/zOS-C-DetermineCompiler.cmake" | ||
| 99 | "/usr/share/cmake-3.10/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake" | ||
| 100 | "/usr/share/cmake-3.10/Modules/FindCUDA.cmake" | ||
| 101 | "/usr/share/cmake-3.10/Modules/FindCUDA/select_compute_arch.cmake" | ||
| 102 | "/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake" | ||
| 103 | "/usr/share/cmake-3.10/Modules/FindPackageMessage.cmake" | ||
| 104 | "/usr/share/cmake-3.10/Modules/FindThreads.cmake" | ||
| 105 | "/usr/share/cmake-3.10/Modules/Internal/FeatureTesting.cmake" | ||
| 106 | "/usr/share/cmake-3.10/Modules/Platform/Linux-Determine-CXX.cmake" | ||
| 107 | "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-C.cmake" | ||
| 108 | "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-CXX.cmake" | ||
| 109 | "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU.cmake" | ||
| 110 | "/usr/share/cmake-3.10/Modules/Platform/Linux.cmake" | ||
| 111 | "/usr/share/cmake-3.10/Modules/Platform/UnixPaths.cmake" | ||
| 112 | ) | ||
| 113 | |||
| 114 | # The corresponding makefile is: | ||
| 115 | set(CMAKE_MAKEFILE_OUTPUTS | ||
| 116 | "Makefile" | ||
| 117 | "CMakeFiles/cmake.check_cache" | ||
| 118 | ) | ||
| 119 | |||
| 120 | # Byproducts of CMake generate step: | ||
| 121 | set(CMAKE_MAKEFILE_PRODUCTS | ||
| 122 | "CMakeFiles/3.10.2/CMakeSystem.cmake" | ||
| 123 | "CMakeFiles/3.10.2/CMakeCCompiler.cmake" | ||
| 124 | "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake" | ||
| 125 | "CMakeFiles/3.10.2/CMakeCCompiler.cmake" | ||
| 126 | "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake" | ||
| 127 | "CMakeFiles/CMakeDirectoryInformation.cmake" | ||
| 128 | ) | ||
| 129 | |||
| 130 | # Dependency information for all targets: | ||
| 131 | set(CMAKE_DEPEND_INFO_FILES | ||
| 132 | "CMakeFiles/facerecognize.dir/DependInfo.cmake" | ||
| 133 | ) |
build/CMakeFiles/Makefile2
0 → 100644
| 1 | # CMAKE generated file: DO NOT EDIT! | ||
| 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | ||
| 3 | |||
| 4 | # Default target executed when no arguments are given to make. | ||
| 5 | default_target: all | ||
| 6 | |||
| 7 | .PHONY : default_target | ||
| 8 | |||
| 9 | # The main recursive all target | ||
| 10 | all: | ||
| 11 | |||
| 12 | .PHONY : all | ||
| 13 | |||
| 14 | # The main recursive preinstall target | ||
| 15 | preinstall: | ||
| 16 | |||
| 17 | .PHONY : preinstall | ||
| 18 | |||
| 19 | #============================================================================= | ||
| 20 | # Special targets provided by cmake. | ||
| 21 | |||
| 22 | # Disable implicit rules so canonical targets will work. | ||
| 23 | .SUFFIXES: | ||
| 24 | |||
| 25 | |||
| 26 | # Remove some rules from gmake that .SUFFIXES does not remove. | ||
| 27 | SUFFIXES = | ||
| 28 | |||
| 29 | .SUFFIXES: .hpux_make_needs_suffix_list | ||
| 30 | |||
| 31 | |||
| 32 | # Suppress display of executed commands. | ||
| 33 | $(VERBOSE).SILENT: | ||
| 34 | |||
| 35 | |||
| 36 | # A target that is always out of date. | ||
| 37 | cmake_force: | ||
| 38 | |||
| 39 | .PHONY : cmake_force | ||
| 40 | |||
| 41 | #============================================================================= | ||
| 42 | # Set environment variables for the build. | ||
| 43 | |||
| 44 | # The shell in which to execute make rules. | ||
| 45 | SHELL = /bin/sh | ||
| 46 | |||
| 47 | # The CMake executable. | ||
| 48 | CMAKE_COMMAND = /usr/bin/cmake | ||
| 49 | |||
| 50 | # The command to remove a file. | ||
| 51 | RM = /usr/bin/cmake -E remove -f | ||
| 52 | |||
| 53 | # Escaping for special characters. | ||
| 54 | EQUALS = = | ||
| 55 | |||
| 56 | # The top-level source directory on which CMake was run. | ||
| 57 | CMAKE_SOURCE_DIR = /home/situ/qfs/sdk_project/face_recognize_c | ||
| 58 | |||
| 59 | # The top-level build directory on which CMake was run. | ||
| 60 | CMAKE_BINARY_DIR = /home/situ/qfs/sdk_project/face_recognize_c/build | ||
| 61 | |||
| 62 | #============================================================================= | ||
| 63 | # Target rules for target CMakeFiles/facerecognize.dir | ||
| 64 | |||
| 65 | # All Build rule for target. | ||
| 66 | CMakeFiles/facerecognize.dir/all: | ||
| 67 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/depend | ||
| 68 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/build | ||
| 69 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles --progress-num=1,2,3 "Built target facerecognize" | ||
| 70 | .PHONY : CMakeFiles/facerecognize.dir/all | ||
| 71 | |||
| 72 | # Include target in all. | ||
| 73 | all: CMakeFiles/facerecognize.dir/all | ||
| 74 | |||
| 75 | .PHONY : all | ||
| 76 | |||
| 77 | # Build rule for subdir invocation for target. | ||
| 78 | CMakeFiles/facerecognize.dir/rule: cmake_check_build_system | ||
| 79 | $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles 3 | ||
| 80 | $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/facerecognize.dir/all | ||
| 81 | $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles 0 | ||
| 82 | .PHONY : CMakeFiles/facerecognize.dir/rule | ||
| 83 | |||
| 84 | # Convenience name for target. | ||
| 85 | facerecognize: CMakeFiles/facerecognize.dir/rule | ||
| 86 | |||
| 87 | .PHONY : facerecognize | ||
| 88 | |||
| 89 | # clean rule for target. | ||
| 90 | CMakeFiles/facerecognize.dir/clean: | ||
| 91 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/clean | ||
| 92 | .PHONY : CMakeFiles/facerecognize.dir/clean | ||
| 93 | |||
| 94 | # clean rule for target. | ||
| 95 | clean: CMakeFiles/facerecognize.dir/clean | ||
| 96 | |||
| 97 | .PHONY : clean | ||
| 98 | |||
| 99 | #============================================================================= | ||
| 100 | # Special targets to cleanup operation of make. | ||
| 101 | |||
| 102 | # Special rule to run CMake to check the build system integrity. | ||
| 103 | # No rule that depends on this can have commands that come from listfiles | ||
| 104 | # because they might be regenerated. | ||
| 105 | cmake_check_build_system: | ||
| 106 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 | ||
| 107 | .PHONY : cmake_check_build_system | ||
| 108 |
build/CMakeFiles/TargetDirectories.txt
0 → 100644
build/CMakeFiles/cmake.check_cache
0 → 100644
| 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file |
This diff is collapsed.
Click to expand it.
| 1 | # The set of languages for which implicit dependencies are needed: | ||
| 2 | set(CMAKE_DEPENDS_LANGUAGES | ||
| 3 | "CXX" | ||
| 4 | ) | ||
| 5 | # The set of files for implicit dependencies of each language: | ||
| 6 | set(CMAKE_DEPENDS_CHECK_CXX | ||
| 7 | "/home/situ/qfs/sdk_project/face_recognize_c/facerecognize.cpp" "/home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/facerecognize.dir/facerecognize.cpp.o" | ||
| 8 | "/home/situ/qfs/sdk_project/face_recognize_c/main.cpp" "/home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/facerecognize.dir/main.cpp.o" | ||
| 9 | ) | ||
| 10 | set(CMAKE_CXX_COMPILER_ID "GNU") | ||
| 11 | |||
| 12 | # The include file search paths: | ||
| 13 | set(CMAKE_CXX_TARGET_INCLUDE_PATH | ||
| 14 | "/usr/local/include/opencv4" | ||
| 15 | ) | ||
| 16 | |||
| 17 | # Targets to which this target links. | ||
| 18 | set(CMAKE_TARGET_LINKED_INFO_FILES | ||
| 19 | ) | ||
| 20 | |||
| 21 | # Fortran module output directory. | ||
| 22 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") |
This diff is collapsed.
Click to expand it.
| 1 | file(REMOVE_RECURSE | ||
| 2 | "CMakeFiles/facerecognize.dir/main.cpp.o" | ||
| 3 | "CMakeFiles/facerecognize.dir/facerecognize.cpp.o" | ||
| 4 | "facerecognize.pdb" | ||
| 5 | "facerecognize" | ||
| 6 | ) | ||
| 7 | |||
| 8 | # Per-language clean rules from dependency scanning. | ||
| 9 | foreach(lang CXX) | ||
| 10 | include(CMakeFiles/facerecognize.dir/cmake_clean_${lang}.cmake OPTIONAL) | ||
| 11 | endforeach() |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
No preview for this file type
build/CMakeFiles/facerecognize.dir/link.txt
0 → 100644
| 1 | /usr/bin/c++ CMakeFiles/facerecognize.dir/main.cpp.o CMakeFiles/facerecognize.dir/facerecognize.cpp.o -o facerecognize -L/usr/local/cuda-10.1/lib64 -Wl,-rpath,/usr/local/cuda-10.1/lib64:/usr/local/lib /usr/local/lib/libopencv_gapi.so.4.5.5 /usr/local/lib/libopencv_stitching.so.4.5.5 /usr/local/lib/libopencv_aruco.so.4.5.5 /usr/local/lib/libopencv_barcode.so.4.5.5 /usr/local/lib/libopencv_bgsegm.so.4.5.5 /usr/local/lib/libopencv_bioinspired.so.4.5.5 /usr/local/lib/libopencv_ccalib.so.4.5.5 /usr/local/lib/libopencv_cudabgsegm.so.4.5.5 /usr/local/lib/libopencv_cudafeatures2d.so.4.5.5 /usr/local/lib/libopencv_cudaobjdetect.so.4.5.5 /usr/local/lib/libopencv_cudastereo.so.4.5.5 /usr/local/lib/libopencv_dnn_objdetect.so.4.5.5 /usr/local/lib/libopencv_dnn_superres.so.4.5.5 /usr/local/lib/libopencv_dpm.so.4.5.5 /usr/local/lib/libopencv_face.so.4.5.5 /usr/local/lib/libopencv_freetype.so.4.5.5 /usr/local/lib/libopencv_fuzzy.so.4.5.5 /usr/local/lib/libopencv_hfs.so.4.5.5 /usr/local/lib/libopencv_img_hash.so.4.5.5 /usr/local/lib/libopencv_intensity_transform.so.4.5.5 /usr/local/lib/libopencv_line_descriptor.so.4.5.5 /usr/local/lib/libopencv_mcc.so.4.5.5 /usr/local/lib/libopencv_quality.so.4.5.5 /usr/local/lib/libopencv_rapid.so.4.5.5 /usr/local/lib/libopencv_reg.so.4.5.5 /usr/local/lib/libopencv_rgbd.so.4.5.5 /usr/local/lib/libopencv_saliency.so.4.5.5 /usr/local/lib/libopencv_stereo.so.4.5.5 /usr/local/lib/libopencv_structured_light.so.4.5.5 /usr/local/lib/libopencv_superres.so.4.5.5 /usr/local/lib/libopencv_surface_matching.so.4.5.5 /usr/local/lib/libopencv_tracking.so.4.5.5 /usr/local/lib/libopencv_videostab.so.4.5.5 /usr/local/lib/libopencv_wechat_qrcode.so.4.5.5 /usr/local/lib/libopencv_xfeatures2d.so.4.5.5 /usr/local/lib/libopencv_xobjdetect.so.4.5.5 /usr/local/lib/libopencv_xphoto.so.4.5.5 /usr/local/lib/libopencv_shape.so.4.5.5 /usr/local/lib/libopencv_highgui.so.4.5.5 /usr/local/lib/libopencv_datasets.so.4.5.5 /usr/local/lib/libopencv_plot.so.4.5.5 /usr/local/lib/libopencv_text.so.4.5.5 /usr/local/lib/libopencv_ml.so.4.5.5 /usr/local/lib/libopencv_phase_unwrapping.so.4.5.5 /usr/local/lib/libopencv_cudacodec.so.4.5.5 /usr/local/lib/libopencv_videoio.so.4.5.5 /usr/local/lib/libopencv_cudaoptflow.so.4.5.5 /usr/local/lib/libopencv_cudalegacy.so.4.5.5 /usr/local/lib/libopencv_cudawarping.so.4.5.5 /usr/local/lib/libopencv_optflow.so.4.5.5 /usr/local/lib/libopencv_ximgproc.so.4.5.5 /usr/local/lib/libopencv_video.so.4.5.5 /usr/local/lib/libopencv_imgcodecs.so.4.5.5 /usr/local/lib/libopencv_objdetect.so.4.5.5 /usr/local/lib/libopencv_calib3d.so.4.5.5 /usr/local/lib/libopencv_dnn.so.4.5.5 /usr/local/lib/libopencv_features2d.so.4.5.5 /usr/local/lib/libopencv_flann.so.4.5.5 /usr/local/lib/libopencv_photo.so.4.5.5 /usr/local/lib/libopencv_cudaimgproc.so.4.5.5 /usr/local/lib/libopencv_cudafilters.so.4.5.5 /usr/local/lib/libopencv_imgproc.so.4.5.5 /usr/local/lib/libopencv_cudaarithm.so.4.5.5 /usr/local/lib/libopencv_core.so.4.5.5 /usr/local/lib/libopencv_cudev.so.4.5.5 |
No preview for this file type
build/CMakeFiles/feature_tests.bin
0 → 100755
No preview for this file type
build/CMakeFiles/feature_tests.c
0 → 100644
| 1 | |||
| 2 | const char features[] = {"\n" | ||
| 3 | "C_FEATURE:" | ||
| 4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 | ||
| 5 | "1" | ||
| 6 | #else | ||
| 7 | "0" | ||
| 8 | #endif | ||
| 9 | "c_function_prototypes\n" | ||
| 10 | "C_FEATURE:" | ||
| 11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | ||
| 12 | "1" | ||
| 13 | #else | ||
| 14 | "0" | ||
| 15 | #endif | ||
| 16 | "c_restrict\n" | ||
| 17 | "C_FEATURE:" | ||
| 18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L | ||
| 19 | "1" | ||
| 20 | #else | ||
| 21 | "0" | ||
| 22 | #endif | ||
| 23 | "c_static_assert\n" | ||
| 24 | "C_FEATURE:" | ||
| 25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | ||
| 26 | "1" | ||
| 27 | #else | ||
| 28 | "0" | ||
| 29 | #endif | ||
| 30 | "c_variadic_macros\n" | ||
| 31 | |||
| 32 | }; | ||
| 33 | |||
| 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } |
build/CMakeFiles/feature_tests.cxx
0 → 100644
| 1 | |||
| 2 | const char features[] = {"\n" | ||
| 3 | "CXX_FEATURE:" | ||
| 4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L | ||
| 5 | "1" | ||
| 6 | #else | ||
| 7 | "0" | ||
| 8 | #endif | ||
| 9 | "cxx_aggregate_default_initializers\n" | ||
| 10 | "CXX_FEATURE:" | ||
| 11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 12 | "1" | ||
| 13 | #else | ||
| 14 | "0" | ||
| 15 | #endif | ||
| 16 | "cxx_alias_templates\n" | ||
| 17 | "CXX_FEATURE:" | ||
| 18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 19 | "1" | ||
| 20 | #else | ||
| 21 | "0" | ||
| 22 | #endif | ||
| 23 | "cxx_alignas\n" | ||
| 24 | "CXX_FEATURE:" | ||
| 25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 26 | "1" | ||
| 27 | #else | ||
| 28 | "0" | ||
| 29 | #endif | ||
| 30 | "cxx_alignof\n" | ||
| 31 | "CXX_FEATURE:" | ||
| 32 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 33 | "1" | ||
| 34 | #else | ||
| 35 | "0" | ||
| 36 | #endif | ||
| 37 | "cxx_attributes\n" | ||
| 38 | "CXX_FEATURE:" | ||
| 39 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 40 | "1" | ||
| 41 | #else | ||
| 42 | "0" | ||
| 43 | #endif | ||
| 44 | "cxx_attribute_deprecated\n" | ||
| 45 | "CXX_FEATURE:" | ||
| 46 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 47 | "1" | ||
| 48 | #else | ||
| 49 | "0" | ||
| 50 | #endif | ||
| 51 | "cxx_auto_type\n" | ||
| 52 | "CXX_FEATURE:" | ||
| 53 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 54 | "1" | ||
| 55 | #else | ||
| 56 | "0" | ||
| 57 | #endif | ||
| 58 | "cxx_binary_literals\n" | ||
| 59 | "CXX_FEATURE:" | ||
| 60 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 61 | "1" | ||
| 62 | #else | ||
| 63 | "0" | ||
| 64 | #endif | ||
| 65 | "cxx_constexpr\n" | ||
| 66 | "CXX_FEATURE:" | ||
| 67 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 68 | "1" | ||
| 69 | #else | ||
| 70 | "0" | ||
| 71 | #endif | ||
| 72 | "cxx_contextual_conversions\n" | ||
| 73 | "CXX_FEATURE:" | ||
| 74 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 75 | "1" | ||
| 76 | #else | ||
| 77 | "0" | ||
| 78 | #endif | ||
| 79 | "cxx_decltype\n" | ||
| 80 | "CXX_FEATURE:" | ||
| 81 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 82 | "1" | ||
| 83 | #else | ||
| 84 | "0" | ||
| 85 | #endif | ||
| 86 | "cxx_decltype_auto\n" | ||
| 87 | "CXX_FEATURE:" | ||
| 88 | #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L | ||
| 89 | "1" | ||
| 90 | #else | ||
| 91 | "0" | ||
| 92 | #endif | ||
| 93 | "cxx_decltype_incomplete_return_types\n" | ||
| 94 | "CXX_FEATURE:" | ||
| 95 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 96 | "1" | ||
| 97 | #else | ||
| 98 | "0" | ||
| 99 | #endif | ||
| 100 | "cxx_default_function_template_args\n" | ||
| 101 | "CXX_FEATURE:" | ||
| 102 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 103 | "1" | ||
| 104 | #else | ||
| 105 | "0" | ||
| 106 | #endif | ||
| 107 | "cxx_defaulted_functions\n" | ||
| 108 | "CXX_FEATURE:" | ||
| 109 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 110 | "1" | ||
| 111 | #else | ||
| 112 | "0" | ||
| 113 | #endif | ||
| 114 | "cxx_defaulted_move_initializers\n" | ||
| 115 | "CXX_FEATURE:" | ||
| 116 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 117 | "1" | ||
| 118 | #else | ||
| 119 | "0" | ||
| 120 | #endif | ||
| 121 | "cxx_delegating_constructors\n" | ||
| 122 | "CXX_FEATURE:" | ||
| 123 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 124 | "1" | ||
| 125 | #else | ||
| 126 | "0" | ||
| 127 | #endif | ||
| 128 | "cxx_deleted_functions\n" | ||
| 129 | "CXX_FEATURE:" | ||
| 130 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 131 | "1" | ||
| 132 | #else | ||
| 133 | "0" | ||
| 134 | #endif | ||
| 135 | "cxx_digit_separators\n" | ||
| 136 | "CXX_FEATURE:" | ||
| 137 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 138 | "1" | ||
| 139 | #else | ||
| 140 | "0" | ||
| 141 | #endif | ||
| 142 | "cxx_enum_forward_declarations\n" | ||
| 143 | "CXX_FEATURE:" | ||
| 144 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 145 | "1" | ||
| 146 | #else | ||
| 147 | "0" | ||
| 148 | #endif | ||
| 149 | "cxx_explicit_conversions\n" | ||
| 150 | "CXX_FEATURE:" | ||
| 151 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 152 | "1" | ||
| 153 | #else | ||
| 154 | "0" | ||
| 155 | #endif | ||
| 156 | "cxx_extended_friend_declarations\n" | ||
| 157 | "CXX_FEATURE:" | ||
| 158 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 159 | "1" | ||
| 160 | #else | ||
| 161 | "0" | ||
| 162 | #endif | ||
| 163 | "cxx_extern_templates\n" | ||
| 164 | "CXX_FEATURE:" | ||
| 165 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 166 | "1" | ||
| 167 | #else | ||
| 168 | "0" | ||
| 169 | #endif | ||
| 170 | "cxx_final\n" | ||
| 171 | "CXX_FEATURE:" | ||
| 172 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 173 | "1" | ||
| 174 | #else | ||
| 175 | "0" | ||
| 176 | #endif | ||
| 177 | "cxx_func_identifier\n" | ||
| 178 | "CXX_FEATURE:" | ||
| 179 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 180 | "1" | ||
| 181 | #else | ||
| 182 | "0" | ||
| 183 | #endif | ||
| 184 | "cxx_generalized_initializers\n" | ||
| 185 | "CXX_FEATURE:" | ||
| 186 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 187 | "1" | ||
| 188 | #else | ||
| 189 | "0" | ||
| 190 | #endif | ||
| 191 | "cxx_generic_lambdas\n" | ||
| 192 | "CXX_FEATURE:" | ||
| 193 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 194 | "1" | ||
| 195 | #else | ||
| 196 | "0" | ||
| 197 | #endif | ||
| 198 | "cxx_inheriting_constructors\n" | ||
| 199 | "CXX_FEATURE:" | ||
| 200 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 201 | "1" | ||
| 202 | #else | ||
| 203 | "0" | ||
| 204 | #endif | ||
| 205 | "cxx_inline_namespaces\n" | ||
| 206 | "CXX_FEATURE:" | ||
| 207 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 208 | "1" | ||
| 209 | #else | ||
| 210 | "0" | ||
| 211 | #endif | ||
| 212 | "cxx_lambdas\n" | ||
| 213 | "CXX_FEATURE:" | ||
| 214 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 215 | "1" | ||
| 216 | #else | ||
| 217 | "0" | ||
| 218 | #endif | ||
| 219 | "cxx_lambda_init_captures\n" | ||
| 220 | "CXX_FEATURE:" | ||
| 221 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 222 | "1" | ||
| 223 | #else | ||
| 224 | "0" | ||
| 225 | #endif | ||
| 226 | "cxx_local_type_template_args\n" | ||
| 227 | "CXX_FEATURE:" | ||
| 228 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 229 | "1" | ||
| 230 | #else | ||
| 231 | "0" | ||
| 232 | #endif | ||
| 233 | "cxx_long_long_type\n" | ||
| 234 | "CXX_FEATURE:" | ||
| 235 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 236 | "1" | ||
| 237 | #else | ||
| 238 | "0" | ||
| 239 | #endif | ||
| 240 | "cxx_noexcept\n" | ||
| 241 | "CXX_FEATURE:" | ||
| 242 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 243 | "1" | ||
| 244 | #else | ||
| 245 | "0" | ||
| 246 | #endif | ||
| 247 | "cxx_nonstatic_member_init\n" | ||
| 248 | "CXX_FEATURE:" | ||
| 249 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 250 | "1" | ||
| 251 | #else | ||
| 252 | "0" | ||
| 253 | #endif | ||
| 254 | "cxx_nullptr\n" | ||
| 255 | "CXX_FEATURE:" | ||
| 256 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 257 | "1" | ||
| 258 | #else | ||
| 259 | "0" | ||
| 260 | #endif | ||
| 261 | "cxx_override\n" | ||
| 262 | "CXX_FEATURE:" | ||
| 263 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 264 | "1" | ||
| 265 | #else | ||
| 266 | "0" | ||
| 267 | #endif | ||
| 268 | "cxx_range_for\n" | ||
| 269 | "CXX_FEATURE:" | ||
| 270 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 271 | "1" | ||
| 272 | #else | ||
| 273 | "0" | ||
| 274 | #endif | ||
| 275 | "cxx_raw_string_literals\n" | ||
| 276 | "CXX_FEATURE:" | ||
| 277 | #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L | ||
| 278 | "1" | ||
| 279 | #else | ||
| 280 | "0" | ||
| 281 | #endif | ||
| 282 | "cxx_reference_qualified_functions\n" | ||
| 283 | "CXX_FEATURE:" | ||
| 284 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L | ||
| 285 | "1" | ||
| 286 | #else | ||
| 287 | "0" | ||
| 288 | #endif | ||
| 289 | "cxx_relaxed_constexpr\n" | ||
| 290 | "CXX_FEATURE:" | ||
| 291 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 292 | "1" | ||
| 293 | #else | ||
| 294 | "0" | ||
| 295 | #endif | ||
| 296 | "cxx_return_type_deduction\n" | ||
| 297 | "CXX_FEATURE:" | ||
| 298 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 299 | "1" | ||
| 300 | #else | ||
| 301 | "0" | ||
| 302 | #endif | ||
| 303 | "cxx_right_angle_brackets\n" | ||
| 304 | "CXX_FEATURE:" | ||
| 305 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 306 | "1" | ||
| 307 | #else | ||
| 308 | "0" | ||
| 309 | #endif | ||
| 310 | "cxx_rvalue_references\n" | ||
| 311 | "CXX_FEATURE:" | ||
| 312 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 313 | "1" | ||
| 314 | #else | ||
| 315 | "0" | ||
| 316 | #endif | ||
| 317 | "cxx_sizeof_member\n" | ||
| 318 | "CXX_FEATURE:" | ||
| 319 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 320 | "1" | ||
| 321 | #else | ||
| 322 | "0" | ||
| 323 | #endif | ||
| 324 | "cxx_static_assert\n" | ||
| 325 | "CXX_FEATURE:" | ||
| 326 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 327 | "1" | ||
| 328 | #else | ||
| 329 | "0" | ||
| 330 | #endif | ||
| 331 | "cxx_strong_enums\n" | ||
| 332 | "CXX_FEATURE:" | ||
| 333 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus | ||
| 334 | "1" | ||
| 335 | #else | ||
| 336 | "0" | ||
| 337 | #endif | ||
| 338 | "cxx_template_template_parameters\n" | ||
| 339 | "CXX_FEATURE:" | ||
| 340 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 341 | "1" | ||
| 342 | #else | ||
| 343 | "0" | ||
| 344 | #endif | ||
| 345 | "cxx_thread_local\n" | ||
| 346 | "CXX_FEATURE:" | ||
| 347 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 348 | "1" | ||
| 349 | #else | ||
| 350 | "0" | ||
| 351 | #endif | ||
| 352 | "cxx_trailing_return_types\n" | ||
| 353 | "CXX_FEATURE:" | ||
| 354 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 355 | "1" | ||
| 356 | #else | ||
| 357 | "0" | ||
| 358 | #endif | ||
| 359 | "cxx_unicode_literals\n" | ||
| 360 | "CXX_FEATURE:" | ||
| 361 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 362 | "1" | ||
| 363 | #else | ||
| 364 | "0" | ||
| 365 | #endif | ||
| 366 | "cxx_uniform_initialization\n" | ||
| 367 | "CXX_FEATURE:" | ||
| 368 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 369 | "1" | ||
| 370 | #else | ||
| 371 | "0" | ||
| 372 | #endif | ||
| 373 | "cxx_unrestricted_unions\n" | ||
| 374 | "CXX_FEATURE:" | ||
| 375 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 376 | "1" | ||
| 377 | #else | ||
| 378 | "0" | ||
| 379 | #endif | ||
| 380 | "cxx_user_literals\n" | ||
| 381 | "CXX_FEATURE:" | ||
| 382 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L | ||
| 383 | "1" | ||
| 384 | #else | ||
| 385 | "0" | ||
| 386 | #endif | ||
| 387 | "cxx_variable_templates\n" | ||
| 388 | "CXX_FEATURE:" | ||
| 389 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 390 | "1" | ||
| 391 | #else | ||
| 392 | "0" | ||
| 393 | #endif | ||
| 394 | "cxx_variadic_macros\n" | ||
| 395 | "CXX_FEATURE:" | ||
| 396 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 397 | "1" | ||
| 398 | #else | ||
| 399 | "0" | ||
| 400 | #endif | ||
| 401 | "cxx_variadic_templates\n" | ||
| 402 | |||
| 403 | }; | ||
| 404 | |||
| 405 | int main(int argc, char** argv) { (void)argv; return features[argc]; } |
build/CMakeFiles/progress.marks
0 → 100644
| 1 | 3 |
build/Makefile
0 → 100644
| 1 | # CMAKE generated file: DO NOT EDIT! | ||
| 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | ||
| 3 | |||
| 4 | # Default target executed when no arguments are given to make. | ||
| 5 | default_target: all | ||
| 6 | |||
| 7 | .PHONY : default_target | ||
| 8 | |||
| 9 | # Allow only one "make -f Makefile2" at a time, but pass parallelism. | ||
| 10 | .NOTPARALLEL: | ||
| 11 | |||
| 12 | |||
| 13 | #============================================================================= | ||
| 14 | # Special targets provided by cmake. | ||
| 15 | |||
| 16 | # Disable implicit rules so canonical targets will work. | ||
| 17 | .SUFFIXES: | ||
| 18 | |||
| 19 | |||
| 20 | # Remove some rules from gmake that .SUFFIXES does not remove. | ||
| 21 | SUFFIXES = | ||
| 22 | |||
| 23 | .SUFFIXES: .hpux_make_needs_suffix_list | ||
| 24 | |||
| 25 | |||
| 26 | # Suppress display of executed commands. | ||
| 27 | $(VERBOSE).SILENT: | ||
| 28 | |||
| 29 | |||
| 30 | # A target that is always out of date. | ||
| 31 | cmake_force: | ||
| 32 | |||
| 33 | .PHONY : cmake_force | ||
| 34 | |||
| 35 | #============================================================================= | ||
| 36 | # Set environment variables for the build. | ||
| 37 | |||
| 38 | # The shell in which to execute make rules. | ||
| 39 | SHELL = /bin/sh | ||
| 40 | |||
| 41 | # The CMake executable. | ||
| 42 | CMAKE_COMMAND = /usr/bin/cmake | ||
| 43 | |||
| 44 | # The command to remove a file. | ||
| 45 | RM = /usr/bin/cmake -E remove -f | ||
| 46 | |||
| 47 | # Escaping for special characters. | ||
| 48 | EQUALS = = | ||
| 49 | |||
| 50 | # The top-level source directory on which CMake was run. | ||
| 51 | CMAKE_SOURCE_DIR = /home/situ/qfs/sdk_project/face_recognize_c | ||
| 52 | |||
| 53 | # The top-level build directory on which CMake was run. | ||
| 54 | CMAKE_BINARY_DIR = /home/situ/qfs/sdk_project/face_recognize_c/build | ||
| 55 | |||
| 56 | #============================================================================= | ||
| 57 | # Targets provided globally by CMake. | ||
| 58 | |||
| 59 | # Special rule for the target rebuild_cache | ||
| 60 | rebuild_cache: | ||
| 61 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." | ||
| 62 | /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) | ||
| 63 | .PHONY : rebuild_cache | ||
| 64 | |||
| 65 | # Special rule for the target rebuild_cache | ||
| 66 | rebuild_cache/fast: rebuild_cache | ||
| 67 | |||
| 68 | .PHONY : rebuild_cache/fast | ||
| 69 | |||
| 70 | # Special rule for the target edit_cache | ||
| 71 | edit_cache: | ||
| 72 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." | ||
| 73 | /usr/bin/cmake-gui -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) | ||
| 74 | .PHONY : edit_cache | ||
| 75 | |||
| 76 | # Special rule for the target edit_cache | ||
| 77 | edit_cache/fast: edit_cache | ||
| 78 | |||
| 79 | .PHONY : edit_cache/fast | ||
| 80 | |||
| 81 | # The main all target | ||
| 82 | all: cmake_check_build_system | ||
| 83 | $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles /home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles/progress.marks | ||
| 84 | $(MAKE) -f CMakeFiles/Makefile2 all | ||
| 85 | $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/face_recognize_c/build/CMakeFiles 0 | ||
| 86 | .PHONY : all | ||
| 87 | |||
| 88 | # The main clean target | ||
| 89 | clean: | ||
| 90 | $(MAKE) -f CMakeFiles/Makefile2 clean | ||
| 91 | .PHONY : clean | ||
| 92 | |||
| 93 | # The main clean target | ||
| 94 | clean/fast: clean | ||
| 95 | |||
| 96 | .PHONY : clean/fast | ||
| 97 | |||
| 98 | # Prepare targets for installation. | ||
| 99 | preinstall: all | ||
| 100 | $(MAKE) -f CMakeFiles/Makefile2 preinstall | ||
| 101 | .PHONY : preinstall | ||
| 102 | |||
| 103 | # Prepare targets for installation. | ||
| 104 | preinstall/fast: | ||
| 105 | $(MAKE) -f CMakeFiles/Makefile2 preinstall | ||
| 106 | .PHONY : preinstall/fast | ||
| 107 | |||
| 108 | # clear depends | ||
| 109 | depend: | ||
| 110 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 | ||
| 111 | .PHONY : depend | ||
| 112 | |||
| 113 | #============================================================================= | ||
| 114 | # Target rules for targets named facerecognize | ||
| 115 | |||
| 116 | # Build rule for target. | ||
| 117 | facerecognize: cmake_check_build_system | ||
| 118 | $(MAKE) -f CMakeFiles/Makefile2 facerecognize | ||
| 119 | .PHONY : facerecognize | ||
| 120 | |||
| 121 | # fast build rule for target. | ||
| 122 | facerecognize/fast: | ||
| 123 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/build | ||
| 124 | .PHONY : facerecognize/fast | ||
| 125 | |||
| 126 | facerecognize.o: facerecognize.cpp.o | ||
| 127 | |||
| 128 | .PHONY : facerecognize.o | ||
| 129 | |||
| 130 | # target to build an object file | ||
| 131 | facerecognize.cpp.o: | ||
| 132 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/facerecognize.cpp.o | ||
| 133 | .PHONY : facerecognize.cpp.o | ||
| 134 | |||
| 135 | facerecognize.i: facerecognize.cpp.i | ||
| 136 | |||
| 137 | .PHONY : facerecognize.i | ||
| 138 | |||
| 139 | # target to preprocess a source file | ||
| 140 | facerecognize.cpp.i: | ||
| 141 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/facerecognize.cpp.i | ||
| 142 | .PHONY : facerecognize.cpp.i | ||
| 143 | |||
| 144 | facerecognize.s: facerecognize.cpp.s | ||
| 145 | |||
| 146 | .PHONY : facerecognize.s | ||
| 147 | |||
| 148 | # target to generate assembly for a file | ||
| 149 | facerecognize.cpp.s: | ||
| 150 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/facerecognize.cpp.s | ||
| 151 | .PHONY : facerecognize.cpp.s | ||
| 152 | |||
| 153 | main.o: main.cpp.o | ||
| 154 | |||
| 155 | .PHONY : main.o | ||
| 156 | |||
| 157 | # target to build an object file | ||
| 158 | main.cpp.o: | ||
| 159 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/main.cpp.o | ||
| 160 | .PHONY : main.cpp.o | ||
| 161 | |||
| 162 | main.i: main.cpp.i | ||
| 163 | |||
| 164 | .PHONY : main.i | ||
| 165 | |||
| 166 | # target to preprocess a source file | ||
| 167 | main.cpp.i: | ||
| 168 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/main.cpp.i | ||
| 169 | .PHONY : main.cpp.i | ||
| 170 | |||
| 171 | main.s: main.cpp.s | ||
| 172 | |||
| 173 | .PHONY : main.s | ||
| 174 | |||
| 175 | # target to generate assembly for a file | ||
| 176 | main.cpp.s: | ||
| 177 | $(MAKE) -f CMakeFiles/facerecognize.dir/build.make CMakeFiles/facerecognize.dir/main.cpp.s | ||
| 178 | .PHONY : main.cpp.s | ||
| 179 | |||
| 180 | # Help Target | ||
| 181 | help: | ||
| 182 | @echo "The following are some of the valid targets for this Makefile:" | ||
| 183 | @echo "... all (the default if no target is provided)" | ||
| 184 | @echo "... clean" | ||
| 185 | @echo "... depend" | ||
| 186 | @echo "... rebuild_cache" | ||
| 187 | @echo "... facerecognize" | ||
| 188 | @echo "... edit_cache" | ||
| 189 | @echo "... facerecognize.o" | ||
| 190 | @echo "... facerecognize.i" | ||
| 191 | @echo "... facerecognize.s" | ||
| 192 | @echo "... main.o" | ||
| 193 | @echo "... main.i" | ||
| 194 | @echo "... main.s" | ||
| 195 | .PHONY : help | ||
| 196 | |||
| 197 | |||
| 198 | |||
| 199 | #============================================================================= | ||
| 200 | # Special targets to cleanup operation of make. | ||
| 201 | |||
| 202 | # Special rule to run CMake to check the build system integrity. | ||
| 203 | # No rule that depends on this can have commands that come from listfiles | ||
| 204 | # because they might be regenerated. | ||
| 205 | cmake_check_build_system: | ||
| 206 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 | ||
| 207 | .PHONY : cmake_check_build_system | ||
| 208 |
build/cmake_install.cmake
0 → 100644
| 1 | # Install script for directory: /home/situ/qfs/sdk_project/face_recognize_c | ||
| 2 | |||
| 3 | # Set the install prefix | ||
| 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) | ||
| 5 | set(CMAKE_INSTALL_PREFIX "/usr/local") | ||
| 6 | endif() | ||
| 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") | ||
| 8 | |||
| 9 | # Set the install configuration name. | ||
| 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) | ||
| 11 | if(BUILD_TYPE) | ||
| 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" | ||
| 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") | ||
| 14 | else() | ||
| 15 | set(CMAKE_INSTALL_CONFIG_NAME "") | ||
| 16 | endif() | ||
| 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") | ||
| 18 | endif() | ||
| 19 | |||
| 20 | # Set the component getting installed. | ||
| 21 | if(NOT CMAKE_INSTALL_COMPONENT) | ||
| 22 | if(COMPONENT) | ||
| 23 | message(STATUS "Install component: \"${COMPONENT}\"") | ||
| 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") | ||
| 25 | else() | ||
| 26 | set(CMAKE_INSTALL_COMPONENT) | ||
| 27 | endif() | ||
| 28 | endif() | ||
| 29 | |||
| 30 | # Install shared libraries without execute permission? | ||
| 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) | ||
| 32 | set(CMAKE_INSTALL_SO_NO_EXE "1") | ||
| 33 | endif() | ||
| 34 | |||
| 35 | # Is this installation the result of a crosscompile? | ||
| 36 | if(NOT DEFINED CMAKE_CROSSCOMPILING) | ||
| 37 | set(CMAKE_CROSSCOMPILING "FALSE") | ||
| 38 | endif() | ||
| 39 | |||
| 40 | if(CMAKE_INSTALL_COMPONENT) | ||
| 41 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") | ||
| 42 | else() | ||
| 43 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") | ||
| 44 | endif() | ||
| 45 | |||
| 46 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT | ||
| 47 | "${CMAKE_INSTALL_MANIFEST_FILES}") | ||
| 48 | file(WRITE "/home/situ/qfs/sdk_project/face_recognize_c/build/${CMAKE_INSTALL_MANIFEST}" | ||
| 49 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") |
build/facerecognize
0 → 100755
No preview for this file type
| ... | @@ -39,29 +39,29 @@ vector<vector<float>> FaceRecognize::priorBox(vector<float> image_size){ | ... | @@ -39,29 +39,29 @@ vector<vector<float>> FaceRecognize::priorBox(vector<float> image_size){ |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | // 解析bounding box 包含置信度 | 41 | // 解析bounding box 包含置信度 |
| 42 | vector<Bbox> FaceRecognize::decode(vector<vector<float>> loc,vector<vector<float>> score,vector<vector<float>>pre,vector<vector<float>> priors,vector<float> variances){ | 42 | vector<Bbox> FaceRecognize::decode(Mat loc,Mat score,Mat pre,vector<vector<float>> priors,vector<float> variances){ |
| 43 | vector<Bbox> boxes; | 43 | vector<Bbox> boxes; |
| 44 | for(int i=0;i<priors.size();++i){ | 44 | for(int i=0;i<priors.size();++i){ |
| 45 | float b1=priors[i][0]+loc[i][0]*variances[0]*priors[i][2]; | 45 | float b1=priors[i][0]+loc.at<float>(i,0)*variances[0]*priors[i][2]; |
| 46 | float b2=priors[i][1]+loc[i][1]*variances[0]*priors[i][3]; | 46 | float b2=priors[i][1]+loc.at<float>(i,1)*variances[0]*priors[i][3]; |
| 47 | float b3=priors[i][2]*exp(loc[i][2]*variances[1]); | 47 | float b3=priors[i][2]*exp(loc.at<float>(i,2)*variances[1]); |
| 48 | float b4=priors[i][3]*exp(loc[i][3]*variances[1]); | 48 | float b4=priors[i][3]*exp(loc.at<float>(i,3)*variances[1]); |
| 49 | b1=b1-b3/float(2); | 49 | b1=b1-b3/float(2); |
| 50 | b2=b2-b4/float(2); | 50 | b2=b2-b4/float(2); |
| 51 | b3=b3+b1; | 51 | b3=b3+b1; |
| 52 | b4=b4+b2; | 52 | b4=b4+b2; |
| 53 | float l1=priors[i][0]+pre[i][0]*variances[0]*priors[i][2]; | 53 | float l1=priors[i][0]+pre.at<float>(i,0)*variances[0]*priors[i][2]; |
| 54 | float l2=priors[i][1]+pre[i][1]*variances[0]*priors[i][3]; | 54 | float l2=priors[i][1]+pre.at<float>(i,1)*variances[0]*priors[i][3]; |
| 55 | float l3=priors[i][0]+pre[i][2]*variances[0]*priors[i][2]; | 55 | float l3=priors[i][0]+pre.at<float>(i,2)*variances[0]*priors[i][2]; |
| 56 | float l4=priors[i][1]+pre[i][3]*variances[0]*priors[i][3]; | 56 | float l4=priors[i][1]+pre.at<float>(i,3)*variances[0]*priors[i][3]; |
| 57 | float l5=priors[i][0]+pre[i][4]*variances[0]*priors[i][2]; | 57 | float l5=priors[i][0]+pre.at<float>(i,4)*variances[0]*priors[i][2]; |
| 58 | float l6=priors[i][1]+pre[i][5]*variances[0]*priors[i][3]; | 58 | float l6=priors[i][1]+pre.at<float>(i,5)*variances[0]*priors[i][3]; |
| 59 | float l7=priors[i][0]+pre[i][6]*variances[0]*priors[i][2]; | 59 | float l7=priors[i][0]+pre.at<float>(i,6)*variances[0]*priors[i][2]; |
| 60 | float l8=priors[i][1]+pre[i][7]*variances[0]*priors[i][3]; | 60 | float l8=priors[i][1]+pre.at<float>(i,7)*variances[0]*priors[i][3]; |
| 61 | float l9=priors[i][0]+pre[i][8]*variances[0]*priors[i][2]; | 61 | float l9=priors[i][0]+pre.at<float>(i,8)*variances[0]*priors[i][2]; |
| 62 | float l10=priors[i][1]+pre[i][9]*variances[0]*priors[i][3]; | 62 | float l10=priors[i][1]+pre.at<float>(i,9)*variances[0]*priors[i][3]; |
| 63 | Bbox tmp_box={.xmin=b1*input_size[0]/resize_scale,.ymin=b2*input_size[1]/resize_scale,.xmax=b3*input_size[0]/resize_scale,.ymax=b4*input_size[1]/resize_scale, | 63 | Bbox tmp_box={.xmin=b1*input_size[0]/resize_scale,.ymin=b2*input_size[1]/resize_scale,.xmax=b3*input_size[0]/resize_scale,.ymax=b4*input_size[1]/resize_scale, |
| 64 | .score=float(score[i][0]),.x1=(l1*input_size[0])/resize_scale,.y1=l2*input_size[1]/resize_scale,.x2=l3*input_size[0]/resize_scale,.y2=l4*input_size[1]/resize_scale, | 64 | .score=score.at<float>(i,0),.x1=(l1*input_size[0])/resize_scale,.y1=l2*input_size[1]/resize_scale,.x2=l3*input_size[0]/resize_scale,.y2=l4*input_size[1]/resize_scale, |
| 65 | .x3=l5*input_size[0]/resize_scale,.y3=l6*input_size[1]/resize_scale,.x4=l7*input_size[0]/resize_scale,.y4=l8*input_size[1]/resize_scale,.x5=l9*input_size[0]/resize_scale,.y5=l10*input_size[1]/resize_scale}; | 65 | .x3=l5*input_size[0]/resize_scale,.y3=l6*input_size[1]/resize_scale,.x4=l7*input_size[0]/resize_scale,.y4=l8*input_size[1]/resize_scale,.x5=l9*input_size[0]/resize_scale,.y5=l10*input_size[1]/resize_scale}; |
| 66 | boxes.push_back(tmp_box); | 66 | boxes.push_back(tmp_box); |
| 67 | } | 67 | } |
| ... | @@ -177,27 +177,18 @@ vector<Bbox> FaceRecognize::detect(string image_path){ | ... | @@ -177,27 +177,18 @@ vector<Bbox> FaceRecognize::detect(string image_path){ |
| 177 | det_net.setInput(blob); // 设置模型输入 | 177 | det_net.setInput(blob); // 设置模型输入 |
| 178 | std::vector<cv::Mat> det_netOutputImg; | 178 | std::vector<cv::Mat> det_netOutputImg; |
| 179 | det_net.forward(det_netOutputImg,det_net.getUnconnectedOutLayersNames()); // 推理出结果 | 179 | det_net.forward(det_netOutputImg,det_net.getUnconnectedOutLayersNames()); // 推理出结果 |
| 180 | cv::Mat scores_ = det_netOutputImg[2].reshape(1,16800); | 180 | cv::Mat scores = det_netOutputImg[2].reshape(1,16800); |
| 181 | cv::Mat boxes_ = det_netOutputImg[0].reshape(1,16800); | 181 | cv::Mat boxes = det_netOutputImg[0].reshape(1,16800); |
| 182 | cv::Mat landms_ = det_netOutputImg[1].reshape(1,16800); | 182 | cv::Mat landms = det_netOutputImg[1].reshape(1,16800); |
| 183 | std::vector<vector<float>> scores,boxes,landms; | ||
| 184 | |||
| 185 | scores=mat2vector(scores_); | ||
| 186 | boxes=mat2vector(boxes_); | ||
| 187 | landms=mat2vector(landms_); | ||
| 188 | |||
| 189 | 183 | ||
| 190 | vector<vector<float>> anchors=priorBox(input_size); | 184 | vector<vector<float>> anchors=priorBox(input_size); |
| 191 | vector<Bbox> result_boxes=decode(boxes,scores,landms,anchors,variances); | 185 | vector<Bbox> result_boxes=decode(boxes,scores,landms,anchors,variances); |
| 192 | vector<Bbox> results=select_score(result_boxes,confidence_threshold,w_r,h_r); | 186 | vector<Bbox> results=select_score(result_boxes,confidence_threshold,w_r,h_r); |
| 193 | 187 | ||
| 194 | // vector<Bbox> result_bboxes=vec2Bbox(boxes,w_r,h_r); | ||
| 195 | |||
| 196 | nms_cpu(results,nms_threshold); | 188 | nms_cpu(results,nms_threshold); |
| 197 | if(is_bbox_process){ | 189 | if(is_bbox_process){ |
| 198 | vector<Bbox> res_bboxes=bbox_process(results,input_size[0],input_size[1]); | 190 | vector<Bbox> res_bboxes=bbox_process(results,input_size[0],input_size[1]); |
| 199 | return res_bboxes; | 191 | return res_bboxes; |
| 200 | |||
| 201 | }else{ | 192 | }else{ |
| 202 | return results; | 193 | return results; |
| 203 | } | 194 | } |
| ... | @@ -210,14 +201,9 @@ vector<Bbox> FaceRecognize::detect_image(Mat image){ | ... | @@ -210,14 +201,9 @@ vector<Bbox> FaceRecognize::detect_image(Mat image){ |
| 210 | det_net.setInput(blob); // 设置模型输入 | 201 | det_net.setInput(blob); // 设置模型输入 |
| 211 | std::vector<cv::Mat> det_netOutputImg; | 202 | std::vector<cv::Mat> det_netOutputImg; |
| 212 | det_net.forward(det_netOutputImg,det_net.getUnconnectedOutLayersNames()); // 推理出结果 | 203 | det_net.forward(det_netOutputImg,det_net.getUnconnectedOutLayersNames()); // 推理出结果 |
| 213 | cv::Mat scores_ = det_netOutputImg[2].reshape(1,16800); | 204 | cv::Mat scores = det_netOutputImg[2].reshape(1,16800); |
| 214 | cv::Mat boxes_ = det_netOutputImg[0].reshape(1,16800); | 205 | cv::Mat boxes = det_netOutputImg[0].reshape(1,16800); |
| 215 | cv::Mat landms_ = det_netOutputImg[1].reshape(1,16800); | 206 | cv::Mat landms = det_netOutputImg[1].reshape(1,16800); |
| 216 | std::vector<vector<float>> scores,boxes,landms; | ||
| 217 | |||
| 218 | scores=mat2vector(scores_); | ||
| 219 | boxes=mat2vector(boxes_); | ||
| 220 | landms=mat2vector(landms_); | ||
| 221 | 207 | ||
| 222 | 208 | ||
| 223 | vector<vector<float>> anchors=priorBox(input_size); | 209 | vector<vector<float>> anchors=priorBox(input_size); | ... | ... |
| ... | @@ -22,7 +22,7 @@ struct Bbox{ | ... | @@ -22,7 +22,7 @@ struct Bbox{ |
| 22 | float y5; | 22 | float y5; |
| 23 | }; | 23 | }; |
| 24 | class FaceRecognize{ | 24 | class FaceRecognize{ |
| 25 | 25 | ||
| 26 | private: | 26 | private: |
| 27 | //是否使用gpu? | 27 | //是否使用gpu? |
| 28 | bool use_gpu=true; | 28 | bool use_gpu=true; |
| ... | @@ -41,8 +41,7 @@ class FaceRecognize{ | ... | @@ -41,8 +41,7 @@ class FaceRecognize{ |
| 41 | //人脸识别 | 41 | //人脸识别 |
| 42 | double face_recongnize_thr = 0.2; //人脸相似度阈值 | 42 | double face_recongnize_thr = 0.2; //人脸相似度阈值 |
| 43 | cv::dnn::Net det_net,landm_net,rec_net; | 43 | cv::dnn::Net det_net,landm_net,rec_net; |
| 44 | 44 | ||
| 45 | |||
| 46 | public: | 45 | public: |
| 47 | FaceRecognize(); | 46 | FaceRecognize(); |
| 48 | FaceRecognize(string face_det_model_path,string face_landm_model_path,string face_rec_model_path){ | 47 | FaceRecognize(string face_det_model_path,string face_landm_model_path,string face_rec_model_path){ |
| ... | @@ -59,9 +58,11 @@ class FaceRecognize{ | ... | @@ -59,9 +58,11 @@ class FaceRecognize{ |
| 59 | } | 58 | } |
| 60 | 59 | ||
| 61 | } | 60 | } |
| 61 | |||
| 62 | private: | ||
| 62 | //人脸检测部分 | 63 | //人脸检测部分 |
| 63 | vector<vector<float>> priorBox(vector<float> image_size); | 64 | vector<vector<float>> priorBox(vector<float> image_size); |
| 64 | vector<Bbox> decode(vector<vector<float>> loc,vector<vector<float>> score,vector<vector<float>>pre,vector<vector<float>> priors,vector<float> variances); | 65 | vector<Bbox> decode(Mat loc,Mat score,Mat pre,vector<vector<float>> priors,vector<float> variances); |
| 65 | void nms_cpu(std::vector<Bbox> &bboxes, float threshold); | 66 | void nms_cpu(std::vector<Bbox> &bboxes, float threshold); |
| 66 | vector<vector<float>> mat2vector(Mat mat); | 67 | vector<vector<float>> mat2vector(Mat mat); |
| 67 | vector<Bbox> select_score(vector<Bbox> bboxes,float threshold,float w_r,float h_r); | 68 | vector<Bbox> select_score(vector<Bbox> bboxes,float threshold,float w_r,float h_r); |
| ... | @@ -86,8 +87,8 @@ class FaceRecognize{ | ... | @@ -86,8 +87,8 @@ class FaceRecognize{ |
| 86 | double cos_distance(const vector<double>& base, const vector<double>& target); | 87 | double cos_distance(const vector<double>& base, const vector<double>& target); |
| 87 | double get_samilar(Mat image1,Mat image2); | 88 | double get_samilar(Mat image1,Mat image2); |
| 88 | 89 | ||
| 89 | 90 | public: | |
| 90 | //整体 | 91 | //人脸识别整体推理 |
| 91 | bool face_recognize(string image1_path,string image2_path); | 92 | bool face_recognize(string image1_path,string image2_path); |
| 92 | bool face_recognize_image(Mat image1,Mat image2); | 93 | bool face_recognize_image(Mat image1,Mat image2); |
| 93 | }; | 94 | }; | ... | ... |
No preview for this file type
| ... | @@ -11,7 +11,7 @@ int main(){ | ... | @@ -11,7 +11,7 @@ int main(){ |
| 11 | bool result=face_rec.face_recognize_image(image1,image2); | 11 | bool result=face_rec.face_recognize_image(image1,image2); |
| 12 | end = clock(); | 12 | end = clock(); |
| 13 | double elapsedTime = static_cast<double>(end-start) / CLOCKS_PER_SEC ; | 13 | double elapsedTime = static_cast<double>(end-start) / CLOCKS_PER_SEC ; |
| 14 | 14 | printf("result : %d \n",result); | |
| 15 | printf("PROCESSING TIME: %f",elapsedTime); | 15 | printf("PROCESSING TIME: %f",elapsedTime); |
| 16 | 16 | ||
| 17 | } | 17 | } | ... | ... |
-
Please register or sign in to post a comment