The Integrated Catflap : Best cascade for under cat mouth identification? [closed]

asked 2017-01-21 19:46:40 -0600

BigJinge gravatar image

Hello,

I've built into a standard Petsafe cat flap, the innards to be able to take a photo underneath the cats mouth, to see if has an item of prey in it.

If it does then the flap will trigger a servo and lock the flap.

I've had the flap recording since September each time the cat goes back and forth through it. I now have 500+ pictures of prey in different positions in the cat mouth.

The plan is to create an Open CV Haar Cascade from these images which Open CV will use to lock the flap.

Question is, is using a Haar Cascade the best option for recognition? Would LBP be better?

Many thanks

BigJinge

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-11-05 12:31:01.774829

Comments

Trying to do the same here!! I'm using HaarCascade with a different approach. I am trying to detect a clean snout but pics are a bit blurry for the thing to work well. we can join efforts if you want

nicoenz gravatar imagenicoenz ( 2017-02-24 01:32:03 -0600 )edit

Hi Nicoenz,

Sorry for not getting back to you earlier but I wasn't notified that someone had replied to my question.

If you are getting results then I take it you've built the cascade. I'm at the point where I now have nearly 10000 negative pics and am going to build mine.

I had read that it's best not to include blurry pics in the positives as the recognition isn't great. I was going to go for the "prey in the mouth" front under shot but as I found over the months of the picture capture being active that the cat very rarely approaches straight towards the flap. I've got plenty of side head tilts, face down etc. What has been noticeable within the prey pics is mouse feet and the shape of the mouse at different angles. I'm going to highlight those.

BigJinge gravatar imageBigJinge ( 2017-03-02 18:38:36 -0600 )edit

In theory the benefit of only having mouse parts detected rather than the cat per se is there may be reuse of the cascade XML for people who don't have the same cat facial features.

I got hold of Cascade Trainer GUI by Amin Ahmadi. I'm going to use that to make both a Haar and LBP cascade to see which gives better results.

Of course, if we can help each other, that would be great.

Best wishes

BigJinge

BigJinge gravatar imageBigJinge ( 2017-03-02 18:43:36 -0600 )edit