javacv compare 2 custom shapes

asked 2014-06-03 04:21:34 -0500

zorta gravatar image

updated 2014-06-03 04:23:42 -0500

berak gravatar image

I'm trying to let an user drawing a canvas with this code After draw, a java service will save it as png. So, if the same user will login again he will use the own "shape" as second security phase (i.e: fill the login form and draw your personal shape to perform login).

I want to create a simple service, like "compare 2 images and set a threshold to decide if the images are same or not".


edit retag flag offensive close merge delete


look at findContours() and matchShapes(), but don't expect too much help on javacv's api, since that's a 3rd party one, opencv comes with its own java wrappers.

berak gravatar imageberak ( 2014-06-03 04:26:13 -0500 )edit