Skip to content

Conversation

neomanic
Copy link

We recently decided to switch from continuous tag detection to upon request, and I was surprised to see that the single image node actually reads and writes files from disk. The way I expected it to work was a service call to trigger a tag detection.

I've implemented a quick version of what I expected here. It extends the ContinuousDetector with a single_shot_detection parameter (default: false), which went set to true only runs tag detection after a service call. The service handler subscribes to the camera topic, and then only allows one image through before unsubscribing.

Comments and changes welcome.

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

Successfully merging this pull request may close these issues.

1 participant