norihiro / obs-face-tracker

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

Add a feature to limit range of pan, tilt, and zoom #115

Open norihiro opened 1 year ago

norihiro commented 1 year ago

Related post on the forum is below (maybe Jimcom also suggested the feature previously).

It also requires modifying obs-ptz.

JVWake1 commented 8 months ago

Hello, I tested your plugin and found it very good, but I noticed one thing, the face tracking goes beyond some limits if you crop the camera image, for example, I want the plugin to track my face, but if I get close to something that I don't want to appear (for example a monitor) or something else. Is there a possibility to implement a dead zone in tracking? like the dead zone would be defined "by pixels" and when the AI reaches that point where it can't show it, it stops tracking or simply the movement, and if I go back to some area other than the dead zone, it goes back tracking and following my face, for the points that are not considered a dead zone, there could be 4 areas, like top, bottom, left and right, put a percentage from the end to the center so the tracking doesn't miss it, my camera is a fisheye, and the plugin kind of goes crazy and zooms out of nowhere, if I move a little, it navigates to areas that could be avoided if they were confirmed as dead zones. Thank you for understanding

norihiro commented 6 months ago

Hello, I tested your plugin and found it very good, but I noticed one thing, the face tracking goes beyond some limits if you crop the camera image, for example, I want the plugin to track my face, but if I get close to something that I don't want to appear (for example a monitor) or something else. Is there a possibility to implement a dead zone in tracking? like the dead zone would be defined "by pixels" and when the AI reaches that point where it can't show it, it stops tracking or simply the movement, and if I go back to some area other than the dead zone, it goes back tracking and following my face, for the points that are not considered a dead zone, there could be 4 areas, like top, bottom, left and right, put a percentage from the end to the center so the tracking doesn't miss it, my camera is a fisheye, and the plugin kind of goes crazy and zooms out of nowhere, if I move a little, it navigates to areas that could be avoided if they were confirmed as dead zones. Thank you for understanding

I think this is a different improvement. Please create another issue. Something i cannot understand is which type(s) of filter or source you are using. Especially PTZ or not would be important for your case.