From 19c942ce2e2cb8765a129a2a81a0f734f0ca72d2 Mon Sep 17 00:00:00 2001 From: Norihiro Kamae Date: Fri, 5 May 2023 11:28:15 +0900 Subject: [PATCH 1/2] Decrease face detection period Discussed on an issue as below. https://github.com/norihiro/obs-face-tracker/issues/126#issuecomment-1533743062 --- src/face-tracker-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/face-tracker-manager.cpp b/src/face-tracker-manager.cpp index f3597fb..d71da3d 100644 --- a/src/face-tracker-manager.cpp +++ b/src/face-tracker-manager.cpp @@ -318,7 +318,7 @@ void face_tracker_manager::tick(float second) } if (detect_tick==tick_cnt) - next_tick_stage_to_detector = tick_cnt + (int)(2.0f/second); // detect for each _ second(s). + next_tick_stage_to_detector = tick_cnt + (int)(0.5f/second); // detect for each _ second(s). tick_cnt += 1; From 9659a8d7428f1e699b0fac6bf0c045a1e6d7b1c6 Mon Sep 17 00:00:00 2001 From: Norihiro Kamae Date: Fri, 5 May 2023 11:29:37 +0900 Subject: [PATCH 2/2] Build this branch --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a820014..05a904e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: paths-ignore: - '**.md' branches: - - main + - '*' tags: - '*' pull_request: