Logo detection OpenCV

asked 2014-05-07 15:09:59 -0600

mateusz gravatar image

updated 2014-05-07 15:13:59 -0600

berak gravatar image

I am doing project about logos recognition in input video. I have tried many ways but all of them give me wrong solution. I have used: -SURF/SIFT descriptors/detectors but the number of key points is too small and this fail - any other descriptors/detectors like FAST/ORB/BRIEF but with the same result - matching template, but this is not scale, perspective, angle resistant - i have read about HAAR classifier but this is not good for my project because the set of logos to recognise will be changing and in Haar i must to train with positive and negative images

Is there any other possibilities to solve this problem? The example logo http://pl.tinypic.com/r/2r3jryx/8

edit retag flag offensive close merge delete

Comments

A simple answer: bag of words object recognition.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-08 06:39:08 -0600 )edit

Will bag of words work in app where user can add logos and select videos, then app detect the logos?

mateusz gravatar imagemateusz ( 2014-05-12 14:05:45 -0600 )edit

Yes it will, you only need room to store your vocabulary.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-13 01:40:06 -0600 )edit

How to implement this? any source code are available? i can't find any. I have a folder with images(logos) and video. I must implement app which can recognize the logos on every frame from video. I would be grateful for help.

mateusz gravatar imagemateusz ( 2014-05-13 11:39:07 -0600 )edit

This link is all you need using C++ and JNI to run it on Android!

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-14 01:55:38 -0600 )edit

Thanks, but i know how to use OpenCV and how to run a sample. I would like to know how to implement BOW for my case.

mateusz gravatar imagemateusz ( 2014-05-14 13:54:29 -0600 )edit

By going to the equivalent C++ example which is linked in the documentation, top of the page? Please do put in some effort ...

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-15 02:15:22 -0600 )edit

@StevenPuttemans , btw, i think we need a better code example here. the one you're refering to spends 90% of ~2500 lines of code on parsing extremely useless pascal/voc datastructures

berak gravatar imageberak ( 2014-05-15 02:23:21 -0600 )edit
1

Aha :D Feel free to make a new one! Also, @GilLevi has a site with quite some nice guide on BOW

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-15 02:26:17 -0600 )edit