Comments (3)
At first, you need to have directory structure like below.
obs-studio
obs-face-tracker
dlib
(If not found, please go toobs-face-tracker
directory and rungit submodule update --init
, this directory will be created.)
And, also download model files from https://github.com/davisking/dlib-models; mmod_human_face_detector.dat.bz2
and shape_predictor_5_face_landmarks.dat.bz2
.
Extract them. Place mmod_human_face_detector.dat
and shape_predictor_5_face_landmarks.dat
under obs-face-tracker/data/dlib_cnn_model
and obs-face-tracker/data/dlib_face_landmark_model
, respectively.
Then, go to the directory obs-face-tracker
and follow the command below.
obs-face-tracker/.github/workflows/main.yml
Lines 376 to 385 in 573da1a
@CmakeArgs
is a variable and you may extract the line 383 like make -S . -B build -G "Visual Studio 17 2022" -DQT_VERSION=6 -DCMAKE_SYSTEM_VERSION=10.0.18363.657
And also need to add the options starting with -DCMAKE_INSTALL_PREFIX=
and -DCMAKE_PREFIX_PATH=
so that make can find libobs configuration file but I don't know exactly how it should be configured.
Usually I don't use Windows. Above comment might not be insufficient.
from obs-face-tracker.
Thank you, this just gave me the right amount of push.
I started with your cmake suggestion, and then kept adding directories for libraries cmake reported as not found, until finally this gave me no errors anymore:
cmake -S . -B build -G "Visual Studio 17 2022" -DQT_VERSION=6 -DLIBOBS_INCLUDE_DIR=$PWD/../obs-studio/libobs -DLIBOBS_LIB=$PWD/../obs-studio/libobs -Dlibobs_DIR=$PWD/../obs-studio/build_x64/libobs -Dw32-pthreads_DIR=$PWD/../obs-studio/build_x64/deps/w32-pthreads/ -Dobs-frontend-api_DIR=$PWD/../obs-studio/build_x64/UI/obs-frontend-api/ -DQt6_DIR=$PWD/../obs-studio/.deps/obs-deps-qt6-2023-11-03-x64/lib/cmake/Qt6/ -DQt6CoreTools_DIR=$PWD/../obs-studio/.deps/obs-deps-qt6-2023-11-03-x64/lib/cmake/Qt6CoreTools/ -DQt6GuiTools_DIR=$PWD/../obs-studio/.deps/obs-deps-qt6-2023-11-03-x64/lib/cmake/Qt6GuiTools/
I assume there is a better way, but I put it here for future reference for others who are similarly clueless about cmake as I am but might want to work on this.
from obs-face-tracker.
and I needed do update libvisca after this to be able to do a Debug build:
cd libvisca
git pull origin HEAD
from obs-face-tracker.
Related Issues (20)
- Documentation for dummies.
- Feature Request - Disable Selected Source Tracking When Tracking A Group / Scene
- Will not track face, if face is not facing camera HOT 2
- Trying to use software in a Church where the camera is 20m away HOT 13
- Improve dead-band and non-linear band
- Sports HOT 4
- Feature request: Reset tracker on re-opening of Face Tracker source
- PTZ Control to override face tracking movement HOT 1
- Output image becomes very dark HOT 1
- Cannot uninstall HOT 4
- Face Tracker won't work under OBS 29.1.3 on Manjaro LINUX HOT 7
- Cannot figure out how to remove old docks HOT 2
- Show dead/non-linear zones in monitor
- Start from initial condition when transit to program
- Crash on Ubuntu 23.10
- Output becomes dark
- Set tracker on a specific face or object
- Rate limit facial tracking to reduce motion and cpu usage
- The plugin is not available after installing the deb package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-face-tracker.