norihiro / obs-face-tracker

Face tracking plugin for OBS Studio
GNU General Public License v2.0
373 stars 31 forks source link

BUG: 0.5.4 tracking location Y doesn't work #98

Closed BryanCrotaz closed 11 months ago

BryanCrotaz commented 2 years ago

Tracking face successfully. Tracking location X moves the face within the output frame. Location Y does nothing. The face is zoomed in, so there's plenty of pixels top and bottom to use.

Trying to use in combination with a circle mask, so looking to get the face centred vertically no matter how tall the person in front of the camera.

norihiro commented 2 years ago

I tested with steps below and confirmed the cropping area is moving.

Does the issue happen on the version 0.5.4 only? If you have upgraded from older version, could you try removing the filter and add a new filter? If your issue happens in the newly added filter, could you describe a little detailed steps to reproduce it?

BryanCrotaz commented 2 years ago

I've only used 0.5.4 - no upgrade took place.

If the face moves left and right in the camera, the output keeps the face at the correct X position. If the face moves up and down in the camera, the output face moves up and down

This is 100% repeatable

BryanCrotaz commented 2 years ago

More testing - Y tracking only works if zoom is set to 0.2 or higher. I had it set to 0.1.

norihiro commented 2 years ago

I tried chainging Y with Zoom = 0.1 but still it's working. https://youtu.be/Vyy-Kjbwg3M

Could you try to check these 3 checkboxes Show face detection results Stop tracking faces, and Always show information (useful for demo)? Yellow box indicates the region where the plugin will crop. Yellow circle or graticule shows the place where the detected face will be located... If you change X, Y or Zoom, the circle will move or change it's size. (The circle will be displayed if you enable face landmark detection.)