Unable to use vision.Cas​cadeObject​Detector function in gui model

4 views (last 30 days)
I am trying to recognise a face using matlab.When i am using vision.CascadeObjectDetector in a normal .m file i am able to get output.But when i am trying to interface it with gui model the bounding box is returning a matrix of size 0 i.e, face is not being recognised.Please help me in solving this problem.Please state any alternatives will be there to recognise face with gui
  5 Comments
saideep
saideep on 18 Mar 2015
Thanks for your help.Yes i applied vision.cascadeObjectDetector on same image.I am writing GUI in matlab. Sorry i cannot post the code.
Dima Lisin
Dima Lisin on 18 Mar 2015
If you are indeed using the same image, and you get different output, then you should make sure that you are using vision.CascadeObjectDetector with exactly the same parameters. There may also be a bug in your code. This is about all I can tell you from the information that you have provided. I would suggest going through your code with a debugger and checking the values of all the variables.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 14 Mar 2015
  4 Comments
Image Analyst
Image Analyst on 15 Mar 2015
You have a face detection problem rather than a face recognition problem. I don't do that so all I can suggest is to look at the Computer Vision System Toolbox which does do that.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!