Find specific shape drawn by user

asked 2017-06-19 13:20:53 -0600

nicolagrosu gravatar image

I work on a project where user draw a predefined shape, then program scan source image and try to predict this shape on image so program then can use this shape just like an aruco marker.

This is the shape i try to predict and use as marker:

image description

First time i try to predict shape with match shape function but precition fails because of shape from source mostly is distort or perspective is not correct.

Then i try SVM training with 1000 images. This time prediction is more good compare to match shape but not enough accurate.

My question is; I'm on right way? and should continue with SVM training, or there is a better way to predict this shape? Or maybe i should change shape?

Please help me in this regard.

And sorry for my bad english.

edit retag flag offensive close merge delete

Comments

ARToolkit had support for hand drawn markers. maybeyou give it a try, instead of reinventing the wheel.

berak gravatar imageberak ( 2017-06-19 20:04:01 -0600 )edit

Thank for your answer, i'm examined ARToolkit before start using OpenCV. Their marker recognition is better than Vuforia or other AR libs, even if hand drawn marker can be detected it still be inside a black thick border. What i try to acchive is just like in this application.

nicolagrosu gravatar imagenicolagrosu ( 2017-06-20 06:42:18 -0600 )edit