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

Hold for shape recognition #1421

Open
2 tasks done
Robin-Sch opened this issue Feb 6, 2025 · 1 comment
Open
2 tasks done

Hold for shape recognition #1421

Robin-Sch opened this issue Feb 6, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Robin-Sch
Copy link

Before submitting an issue, please check the following

  • I have searched for similar issues (both open and closed) and cannot find a duplicate
  • I agree to follow the Code of Conduct

Motivation

It would be very useful to not have to switch between tools when for example drawing squares and circles, which would make drawing diagrams much faster

Solution

If you are drawing using for example the pen, holding the pen still in one position (for e.g. 1+ seconds) will try to recognise what object was drawn using this stroke and then turn it into this shape

Alternatives

No response

Saber version

v0.25.3

Device

Not relevant

Anything else?

No response

@Robin-Sch Robin-Sch added the enhancement New feature or request label Feb 6, 2025
@Robin-Sch
Copy link
Author

Robin-Sch commented Feb 6, 2025

FYI: this is already possible (even without holding the pen still) for lines as described here: #1019

However, I guess when trying to recognise circles/squares this would either create too many false positives or take up too much resources. So instead in my opinion it should only convert it into a circle/square after holding it for some time (to make sure the drawer really wants to convert it into a circle/square).

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

No branches or pull requests

1 participant