Start for Object Recognition

First of all hello to everyone as I am a very new user here.

I am a newbie to cpp but as I have experience in programming in other languages I dont find it too difficult. I was told about oF by my friend and I am really impressed how people are utilizing this for different purposes. Kudos to all.

Anyway I am really new to computer vision and I aim to learn object recognition. Please guide me where do I start , small examples . Any help would be appreciated :). My point is to do realtime object recognition :). Thanks

hi Amit,

object recognition can be achieved a number of ways

  • you can look for a particular colour
  • you can look for a particular shape (this is where AAM’s can help) - the problem is there’s not really any good math for dealing with the shape of things
  • you can train a Haar cascade or something similar to find what you are looking for, but you need >3000 positive example images to train a good one.

what are you hoping to recognise?

in addition to what damian mentioned, there’s also hu moments (rotation / translation independent statistics for images and contours), template matching (for finding sub images in larger images), pch (piecewise contour histogram)… I’d take a look at the opencv book that has some good information on this.

take care,
zach

[quote author=“damian”]hi Amit,

object recognition can be achieved a number of ways

  • you can look for a particular colour
  • you can look for a particular shape (this is where AAM’s can help) - the problem is there’s not really any good math for dealing with the shape of things
  • you can train a Haar cascade or something similar to find what you are looking for, but you need >3000 positive example images to train a good one.

what are you hoping to recognise?

[/quote]

Hi damian,zach

Thanks for the reply.
My purpose of learning oF is to learn computer vision. I have seem some videos of object recognition. I have seen some videos like (http://code.google.com/p/aam-opencv/). I have been impressed by the work. I want to start something like that using OF. I have no purpose but to learn vision through OF. So please just give me some links, examples, work done by people who have documented their work, So that I go in right direction. And as I said, I want to learn CV out of my own interest in this subject. :). Please give me some link for gettiing started.

Thanks
Amit

if you’r interested in aam also have a look here: http://code.google.com/p/aam-library/ but as zach already mentioned - there are many other ways in object detection as this is a hot topic in computer vision. the opencv book is definitely a good entrance into this topic.

… there is also asm (active shape models) around:

http://code.google.com/p/asmlibrary/
http://www.milbo.users.sonic.net/stasm/

and a good overview of what all this asm, aam, cam … is all about:
http://personalpages.manchester.ac.uk/staff/timothy.f.cootes/

Hello everyone,
I am very very sorry to be late. Actually I was traveling and my computer had some problem. in these time I was going through different of programs. I am loving it.

By the way coming to my problem, I have some particular patterns. I want to detect these patterns in real time. Please guide me. Thanks :).

you should provide us some more infos about what you wanna do otherwise it’s hard to point you in the right detection. anyway, a good starting point would be to look into the opencv examples here http://forum.openframeworks.cc/t/opencv-basics—sources-for-beginners/2738/0 (or opencv in general). there is a template matching example which maybe does what you’r searching for.

good luck
m9d

Thanks, I think that should be a start for now. I will be going through the book and the examples to be better. Thanks. I will post any further doubts :slight_smile: