Pyseeta2
python API for seetaface2
Install / Use
/learn @egasus/Pyseeta2README
pyseeta2
A python API interface for SeetaFace2
Installation
Environment
- [x] opencv3.x
- [x] ubuntu 16.04/18.04
- [x] python 2.7.x/3.5.x
Prerequisite
sudo pip install opencv-python opencv-contrib-python
[ubuntu-18.04]
sudo apt-get install libopencv-dev
[ubuntu-16.04]
install opencv3.x from source code after uninstalling original opencv 2.4.x if exists.
Install
git clone https://github.com/gaojunying/pyseeta2
cd pyseeta2
git submodule add https://github.com/pybind/pybind11.git pybind11
git submodule add https://github.com/gaojunying/SeetaFace2.git SeetaFace2
[SeetaFace2](optional)
cd SeetaFace2
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`pwd`/install -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLE=OFF # 如果有 OpenCV,则设置为 ON
cmake --build . --config Release --target install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/lib
cd ..
cp build/bin/* ../lib/x64
cp -rf build/install/include ../src/
cp example/tracking/seeta/Struct_cv.h ../src/include/seeta
cd ..
[pybind11]
cd pybind11
git checkout tags/v2.4.3
cd ..
[install]
sudo make install
Example
[detection]
python example/det.py

[recognition]
python example/rec.py
Thanks
Related Skills
node-connect
352.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
111.3kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
111.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
352.5kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
