Ask Your Question

Using the code for animal faces recognition

asked 2014-04-01 19:22:02 -0500

AleMoyano gravatar image

updated 2014-04-02 02:10:46 -0500

berak gravatar image

Hello all, how are you? I'm a software engineering student and i'm currently working with some researchers and biologists trying to make a software to identify ants species (using a picture of their heads). Every specie has some particular characteristics, like the size of the eyes, the mouth and those things. Do you think that will be too difficult to do with this code?

edit retag flag offensive close merge delete



Hey. I'm doing something similar to that. Just curious, what college are you attending? I have some private questions for you. Let me know if you're interested in chatting.

Lexi gravatar imageLexi ( 2014-04-02 00:34:19 -0500 )edit

could you clarify, if you need to distinguish several ant species, or if you need like ant=yes, cat=no

berak gravatar imageberak ( 2014-04-02 02:12:28 -0500 )edit

Is the picture provided always from one perspective (e.g., front or side), or will it be from any random perspective? That can make a difference in which detection approach you take.

Will Stewart gravatar imageWill Stewart ( 2014-04-02 05:19:31 -0500 )edit

I'm attending to Universidad Nacional del Sur in Argentina. Sure, i don't know if it's possible to send messages here so just add me in G+ (

AleMoyano gravatar imageAleMoyano ( 2014-04-02 13:28:21 -0500 )edit

Berak: what i need is to distinguish between several ant species.

AleMoyano gravatar imageAleMoyano ( 2014-04-02 13:29:03 -0500 )edit

Will Stewart: At first we want to use only one perspective (front) , then we will try to improve it so it can work with any perspective.

AleMoyano gravatar imageAleMoyano ( 2014-04-02 13:30:41 -0500 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2014-04-01 21:19:14 -0500

MRDaniel gravatar image

It's just a haar classifier. I believe there is already a cat.xml shipped with OpenCV. Learn about haar training.

edit flag offensive delete link more



If the ants look very similar except for some details, then this won't cut it however. Cascade model training is more for focussing on a certain class, which is ants in this case, to be able to locate them. Then you should diverse using other machine learning techniques.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-04-02 02:54:00 -0500 )edit

I'm going to read more about haar classifier but i think it's as StevenPuttemans said. Thank you.

AleMoyano gravatar imageAleMoyano ( 2014-04-02 13:34:30 -0500 )edit

answered 2016-05-19 20:14:47 -0500

I know this question is already 2 years old but how did you manage to do that?

If you wrote any blog post, if you have any resources to share, or better if you wrote a thesis, I would be interested to read it.

Thank you

edit flag offensive delete link more

answered 2014-04-05 17:29:43 -0500

AleMoyano gravatar image

Feel free to add me in G+ if you want to talk with me about the project.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-04-01 19:22:02 -0500

Seen: 1,595 times

Last updated: Apr 05 '14