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

Object Recognition Source should have enable disable option #166

Open
bruden01 opened this issue May 21, 2019 · 2 comments
Open

Object Recognition Source should have enable disable option #166

bruden01 opened this issue May 21, 2019 · 2 comments

Comments

@bruden01
Copy link

In a discussion with @markejfmunro we were talking about the use case in which the object detection might not need to be running constantly. Rather from VANTIQ a way in which to disconnect and reconnect the stream.

For example, lets say we want to monitor an area from 10-pm to 6-am.

It would be ideal to be able to publish a command that stops object recognition, and then another that could start it again.

@namirfa
Copy link
Contributor

namirfa commented May 21, 2019

Hey @bruden01,

This is definitely something that we can look into.

Currently, this behavior could be accomplished by simply editing the Source Configuration, and removing the pollTime config option. This will trigger the Object Recognition Source to reconfigure, at which point it will deactivate polling and sit idly. Then, you can edit the Source Configuration again by adding the pollTime option back, and things will return to normal.

  • NOTE: The source will shut down if there is no pollTime option and the allowQueries option is not defined or set to false in the Source Configuration. As a result, this solution assumes that you have defined allowQueries as true.

Would this solution work for you?

@bruden01
Copy link
Author

bruden01 commented May 22, 2019 via email

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