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

Gesture recognition - multiple drawings per pattern to teach it and other questions #16

Open
blurymind opened this issue Aug 7, 2017 · 3 comments

Comments

@blurymind
Copy link

blurymind commented Aug 7, 2017

Another similar plugin in javascript here:
https://www.scirra.com/forum/plugin-unistroke-gesture-recognizer_t66773

is using this popular method:
http://depts.washington.edu/madlab/proj/dollar/index.html
(link contains implementation in javascript and C#), if you keep scrolling you will find implementations in python

It has the ability to recognize a pattern by scanning through multiple recorded gestures for each pattern.
You can improve the detection by giving a pattern a number of draw examples

Looking at the syntax of your recognizer- you can give a pattern only a single example in yours :( .

My question is - is your pattern recognizer based on the same principle?
If not - would it be possible to port it over from one the implementations in my link?

Also can you please add the ability to check more than one drawing example per pattern

@blurymind
Copy link
Author

A downside to your method is that the gesture wont get recognised if the user hasnt spawned 8 swipe points - doing the swipe too short will result in it's shape not being recognized

@blurymind
Copy link
Author

blurymind commented Aug 7, 2017

also see multistroke recogniser
http://depts.washington.edu/madlab/proj/dollar/ndollar.html

or point cloud, which has python version
http://depts.washington.edu/madlab/proj/dollar/pdollar.html
https://github.com/sonovice/dollarpy

both are better, because they support more than one stroke

@arypbatista
Copy link
Owner

@blurymind the pattern recognition algorithm I have implemented is veeeeeeery simple, and it is based on strategies from the image recognition area.

It would be great to have someone to help me adding a more complex algorithm, more precise and flexible. Right now I don't have the time, didn't have the time a year+ ago when you posted!

Thanks for contributing!

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

No branches or pull requests

2 participants