Ask Your Question
0

pictogram recognition in Android app

asked 2016-12-01 06:48:34 -0600

Hello,

I would like to use an algorithm of OPEN CV to be able to recognize pictograms or words on a label - The label would have a dark or a clear background - It could be in paper or in tissue (which could lead to slight light reflection) - The printing of the characters or picto use only one coulour - in fact the lable would be in B&W style, but there could be grey printings on black background for example.

It would be embedded in an application for Android.

Which algorithm do you advise me to use ? Which constraints would there be ? Would it be able to recognize them within 2 or 3 seconds ?

Thank you by advance,

Olivier

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-01 08:03:21 -0600

Vintez gravatar image

updated 2016-12-01 12:11:31 -0600

If you want a strong Recognition I would suggest you the nonfree Descriptors like SIFT and SURF (note the nonfree descriptors are patented but free for research). I was playing with SIFT a little bit on Android until now. There I made an app, where the user captures a photo of a Object or scene which should be recognized and tracked.

At the moment, I get a recognition in 1,5ms using FAST Corner Detection, Sift Description and BruteForceMatching.

Unfortunately you can't use them in plain Java. SIFT did't survive it into the latest OpenCV4Android SDK (AFAIK). So you have to use the android NDK and JNI with the OpenCV c++ library. If you want to know, how to build an connect it look at my Answer here.

Probably there are other possibilities to solve your Problem but SIFT for example is rotation, scale, transformation invariant, and can still recognize objects with a little reflection on it. And when your limit of processing is 2 or 3 seconds it will be good enough. Also I'm sure, that it would detect pictograms, but I'm not quite sure, how good it would work with words.

EDIT: Looking a Little bit through the Q&A here, I found a Question, where sb. wants to use Tesseract to detect Texts or Labels. And wanted to know, what preprocessing on the Image can be done to get a better Result

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-12-01 06:48:34 -0600

Seen: 603 times

Last updated: Dec 01 '16