Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending PTZ plugin to support AI functionality and automation #180

Open
devinbost opened this issue Oct 29, 2023 · 1 comment
Open

Extending PTZ plugin to support AI functionality and automation #180

devinbost opened this issue Oct 29, 2023 · 1 comment

Comments

@devinbost
Copy link

I'd like to have some way to subscribe to events from this plugin like when a camera preset is saved or when a preset is renamed so I can take actions, either programmatically or with the advanced scene Switcher.

Case 1 - subscribe to PTZ actions:
If someone renames a preset from one of the default names, I want to generate a new scene that contains an action to move the camera to that preset.

Case 2 - programmatically trigger PTZ actions:
I'd like to be able to extend this plugin to where I can use custom python code or Advanced Scene Switcher actions to move cameras.
For example, I can use AI to detect when the preview camera has a person whose head is off the screen. In this case, I want to trigger the PTZ action to move that camera until the AI detects the person as being back on screen. I can easily do the AI part, but I need a way to trigger the PTZ actions.

How would I do either of these with this plugin? I'm happy to contribute code but just need to know where to start.

@normen
Copy link

normen commented Nov 20, 2023

I do this by simply running the detection in a separate app and sending VISCA to the camera directly. You also need to have a way to get the camera image which is out of the scope of this plugin anyway. I do that via NDI and webcam emulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants