Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7679997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:00:28+00:00 2026-05-31T18:00:28+00:00

I need to recognize some elements drawn with user’s finger on device’s screen. For

  • 0

I need to recognize some elements drawn with user’s finger on device’s screen. For the start say they are circle, horizontal line, diagonal line, box, and a few more complicated, like lightning sign.

Not only I need to say what element is more likely to be, but also I need to recognize if element is drawn wrong, so it’s not one of those I recognize.

I wonder what algorithm is best for that, and also what is the best way to collect data for it.

For now I am using OpenCV, algorithm is Support vector machine. I collect data by counting distance from from center coordinate to 10 points of image. It doesn’t works well.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T18:00:30+00:00Added an answer on May 31, 2026 at 6:00 pm

    Sounds like you need to extract a feature vector to describe your “gesture”. Ideally the features must be scale and translation invariant. That is: they distinguish the gesture irrespective of the size or angle it is created at.

    You might like to consider using Velocity Moments as the features to use if the motion itself is important.

    Or, if you treat with only the finished shape of the gesture, you could just use the image based methods provided by OpenCV. You might be particularly interested in the matchShapes() method – based on the Hu Moments.

    If you are already using a SVM then that is your supervised classifier into which you feed your extracted feature vector for each gesture (with a label) to train it. Apart from the choice of classifier (PCA, Naive Bayes, ANN’s, etc, etc.) – the crux of the matter is in the quality of your training data.

    When I have done something similar in the past I have simply collected training data using a small script to capture motion of the mouse (when the button is held down). I seem to remember at the time using the UNIX command ‘xev’ to capture the window mouse events.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

there are some apps that seem to recognize the iPhone's iTunes user. I need
I am working on a on-screen keyboard for Android, and I need to recognize
I need to find some method to recognize images with a single digital number
I asked a similar question yesterday, but recognize that i need to rephase it
I'm curious, why does sed need 3 \ just to recognize one? I'd understand
need ask you about some help. I have web app running in Net 2.0.
Need some help about with Memcache. I have created a class and want to
I am learning C++ and need some help with compile error messages. I have
We've probably all seen this screen when testing, all you need is a HTTPS
I have some customized string formats of double values. I need to convert these

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.