# facial-recognition-core **Repository Path**: bukcn/facial-recognition-core ## Basic Information - **Project Name**: facial-recognition-core - **Description**: 人脸识别考勤打卡应用 使用虹软人脸识别SDK中去实现 - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2024-08-22 - **Last Updated**: 2024-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 认脸识别演示 ## 功能 - 支持从多个rtsp流中识别人脸,并能区分设备 ## 开发环境 - Meson - Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible. - https://mesonbuild.com/ - Ubuntu下安装 - sudo apt install build-essential - sudo apt install meson ninja-build - cd facial-recognition-demo && meson init --name facial-recognition-demo --build - meson setup builddir && cd builddir - meson compile - meson test - Boost 1.86 - dpkg --list | grep *boost* 检查是否安装了boost - 下载 https://archives.boost.io/release/1.86.0/source/boost_1_86_0.tar.gz - tar zxvf boost... - cd boost... - ./bootstrap.sh - sudo ./b2 install - openssl - sudo apt install libssl-dev - CMake 3.22.1 - spdlog - sudo apt install libspdlog-dev - fmt - sudo apt install libfmt-dev - opencv - sudo apt install libopencv-dev - sudo ln -s /usr/include/opencv4/opencv2 /usr/include - pkg-config --modversion opencv4 (4.5.4) - sqlite - wget https://www.sqlite.org/2024/sqlite-autoconf-3460100.tar.gz - tar zxvf ... - cd ... - // vim sqlite3.c , 增加 #define SQLITE_ENABLE_COLUMN_METADATA 1 - // ./configure CFLAGS='-g -O2 -DSQLITE_ENABLE_COLUMN_METADATA' --prefix=/home/lx/ThirdPartyLib/sqlite202310241106 - CFLAGS="-Os -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_RTREE" ./configure - ./configure - make - - sudo make install - // sudo apt install sqlite3 - SQLiteCpp - cd thirdparty/SQLiteCpp - meson setup builddir && cd builddir - meson compile - sudo meson install ## submodule git submodule add https://gitee.com/yunfeng1975/SQLiteCpp.git thirdparty/SQLiteCpp ## 注意 - json - boost.json生成json对象时存在的问题: 如果value 是数字的话,boost会给数字加上引号.