Image Marker Recognition - ANDROID

asked 2017-06-24 05:34:11 -0500

chrichri gravatar image

Hello! I am not OpenCV expert! I need to develop an Android App that recognizes images of Marker saved in memory.

I have developed an App that uses the "public Mat onCameraFrame(CvCameraViewFrame inputFrame)" method, to capture the frames by the camera.

In this metod I have got two Mat object: - inputFrame--> the actual frame captured from the camera - markerImage--> a Mat object that load an image marker from tablet memory

How can I check if in the inputFrame there is the markerImage and so do anything? Is my approach correct?

Thank you very much! Best Regard

edit retag flag offensive close merge delete

Comments

what kind of markers ? if you're free to choose, opencv has nice support for aruco Markers

also, please do not post duplicate questions here (i deleted the last one)

berak gravatar imageberak ( 2017-06-24 05:53:53 -0500 )edit

Thank you very much for your answer!

Yes, I am free to choose and the Aruco Markers are very good!

I think that I must use C++ code in my Android Application. But I can not find tutorial on how to import Aruco Library and use it.

Can you help me?

thank you very much!

chrichri gravatar imagechrichri ( 2017-06-24 14:14:42 -0500 )edit

tutorials are only for eclipse (kinda outdated), unfortunately

please use the search box, e.g. like this

i don't think, that you have to use jni code for the aruco markers (iirc, java bindings were recently added), but you might have to build the whole thing locally. (since it needs modules from opencv_contrib)

again, can't help much further, not using android at all here.

berak gravatar imageberak ( 2017-06-25 04:26:40 -0500 )edit

Ok thanks! unfortunately I do not know where to start to learn how to implement an Android Studio Marker Recognition..

chrichri gravatar imagechrichri ( 2017-06-25 06:15:22 -0500 )edit

is there anybody that can help me? I can not find a good and easy tutorial to do this app..

chrichri gravatar imagechrichri ( 2017-06-25 10:29:52 -0500 )edit