Git Product home page Git Product logo

Comments (13)

jpage386 avatar jpage386 commented on June 16, 2024 1

Thanks for all the assistance, I'm a bit of a GitNoob, so I wasn't sure what you meant above. I've created a fork and made the changes you recommended, and it compiles wonderfully.

Thanks for all the help
Jon

from obs-face-tracker.

norihiro avatar norihiro commented on June 16, 2024

is there any way to disable zoom and just track x & y?

max-zoom-zero
If you set Max control (zoom) to 0, the zoom will not change at all.

it doesn't move the PTZ only moves a small amount (maybe 8m side to side). The cameras has a much wider movement range.

I'm afraid this might be the limitation of your PTZ camera. It depends models. I'm mainly testing with SRG-120DH. When shooting from 20m away, the slowest speed is still not so smooth. Some other models has slower speed settings.

If that's the case, you might need to find another model or put the camera more front side. As a workaround, what I can suggest is use the pause feature when the camera is live.

from obs-face-tracker.

jpage386 avatar jpage386 commented on June 16, 2024

from obs-face-tracker.

norihiro avatar norihiro commented on June 16, 2024

I didn't see that zoom control in the face tracker menu.

  1. Please open a filter dialog of your source.
  2. Select Face Tracker PTZ
  3. Scroll the list of the properties

I hope you can find that property.
Screenshot_2023-03-19_08-49-47a

from obs-face-tracker.

jpage386 avatar jpage386 commented on June 16, 2024

from obs-face-tracker.

norihiro avatar norihiro commented on June 16, 2024

What I'm finding strange, is when using the camera one, if I have only show
face detection results, I don't see the green box, but if I turn on the
always show, it does.

I'm sorry that my description on the dialog was not so good.
When enabling only Show face detection results, the rectangle will be displayed when the source is not in Live, eg. preview, projector, or source dock.
When both Show face detection results and Always show information (useful for demo) are enabled, the rectangle will be displayed even when the source is in live.

from obs-face-tracker.

jpage386 avatar jpage386 commented on June 16, 2024

from obs-face-tracker.

jpage386 avatar jpage386 commented on June 16, 2024

Everything is working ok, I wonder if there is an easy way to increase the polling interval for face detection?

from obs-face-tracker.

norihiro avatar norihiro commented on June 16, 2024

I wonder if there is an easy way to increase the polling interval for face detection?

Currently, it's a 2.0-second interval hard coded in the source code.

next_tick_stage_to_detector = tick_cnt + (int)(2.0f/second); // detect for each _ second(s).

from obs-face-tracker.

jpage386 avatar jpage386 commented on June 16, 2024

Hi,
I don't know what I'm doing wrong. I can't get this to build based on the directions on the site. I finally got dlib to build, and now I'm getting issues about libvisca. Can you let me know what source you used for libvisca? At this point I'm willing to pay to have someone compile this with a 1 second poll and provide the dll.

from obs-face-tracker.

norihiro avatar norihiro commented on June 16, 2024

The libvisca is pointing to https://github.com/norihiro/libvisca-ip.git.
You can pull libvisca and dlib by a command git submodule update --init. I'm sorry that the instruction on README.md was not up to date.

Alternatively, if you are changing very small amount, you can just push to your branch with a change below so that GitHub Actions will run the build flow.

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index adee83c..dcdc39e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -5,7 +5,7 @@ on:
     paths-ignore:
       - '**.md'
     branches:
-      - main
+      - '*'
     tags:
       - '*'
   pull_request:

from obs-face-tracker.

jpage386 avatar jpage386 commented on June 16, 2024

Thanks, I finally got it compiled.
I had to add find_package(Qt5 COMPONENTS Widgets) to the top of the visca\CMakeLists.txt
I also had to change the debug value in libvisca.c (to remove the stderr errors on compile)
and had to use a different CMAKE than the .md to get it to compile:
cmake ^
-DCMAKE_BUILD_TYPE=Release ^
-Dlibobs_DIR="%OBSPath%\build64\libobs" ^
-Dlibobs_INCLUDE_DIR="%OBSPath%\libobs" ^
-Dlibobs_LIB="%OBSPath%\build64\libobs%build_config%\obs.lib" ^
-Dw32-pthreads_DIR="%OBSPath%\build64\deps\w32-pthreads" ^
-Dw32-pthreads_LIB="%OBSPath%\build64\deps\w32-pthreads%build_config%\w32-pthreads.lib" ^
-Dobs-frontend-api_DIR="%OBSPath%\build64\UI\obs-frontend-api" ^
-DQt5_DIR="%OBSPath%..\obs-build-dependencies\windows-deps-qt5-2023-04-12-x64\lib\cmake\Qt5" ^
-DOBS_FRONTEND_LIB="%OBSPath%\build64\UI\obs-frontend-api%build_config%\obs-frontend-api.lib" ..
make

from obs-face-tracker.

norihiro avatar norihiro commented on June 16, 2024

It's a little weird. Qt6 should be linked and Qt5 is not necessary.

If I remember correctly, OBS 28 and later will reject plugins that link Qt5.

If it does not work, you can download from this site. I set 0.5 second in another branch.

from obs-face-tracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.