Ask Your Question
0

How to recognize a door condition (open or close)

asked 2017-07-29 05:23:13 -0600

AlexGr gravatar image

Good morning. I have a project where the robot recognizes the doors of house. I have succeeded in recognizing them with haar cascade method, but after that, I have become stuck in recognizing the condition of them such as if it is open or closed. Can you give me some idea? Thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-07-29 05:32:21 -0600

berak gravatar image

updated 2017-07-29 05:46:18 -0600

a binary classifier (such as theCascadeClassifier) can only detect presence or absence of 1 thing.

unfortunately, you have 3 classes already here, door-open, door-closed and not-a-door.

a single binary classifier won't be able to solve this.

probably the best idea is a 2 stage approach, first train a cascade classifier to detect doors in general (both open/closed), against all other parts of a house, then,

train another classifier (maybe an SVM) to distinguish between open or closed door from the detected region .

edit flag offensive delete link more

Comments

Oh if I might do a suggestion, if your dataset of open <--> closed doors is limited and SVM does not reach satisfactory results,try a simple NaiveBayes classifier. It keeps amazing me how powerful it is in cases with less data. And its quick at evaluation time!

StevenPuttemans gravatar imageStevenPuttemans ( 2017-07-29 07:52:20 -0600 )edit

Thank you very much !

AlexGr gravatar imageAlexGr ( 2017-08-02 04:49:18 -0600 )edit

@AlexGr I am also working on a similar task and looking for sample dataset for doors' images. Can you share with me any repository from where I can get lots of training images of doors, or maybe a pre-trained xml file for doors ? Thanks

muhammad.umar600 gravatar imagemuhammad.umar600 ( 2017-09-21 10:06:14 -0600 )edit

@muhammad.umar600 Dear Muhammad i send you the link with photos. https://github.com/ESDA-LAB/Door-dete...

AlexGr gravatar imageAlexGr ( 2017-09-30 04:39:43 -0600 )edit

Hii @AlexGr were you able to solve this. I have a similar problem could you help me out.

el_diablo gravatar imageel_diablo ( 2020-12-19 12:32:23 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-07-29 05:23:13 -0600

Seen: 1,869 times

Last updated: Jul 29 '17