Ask Your Question
1

LBP algorithm of OpenCV

asked 2014-03-21 10:03:38 -0600

mainul gravatar image

HI Everyone,

I am working on LBP based face detection on openCV. I wanted to understand the algorithm clearly but I could not find any clear documents on these algorithm or their implementation. I have some very specific questions. Here they are:

  1. In lbpCascade_frontal_face.xml: what is maxCatCount, maxWeakCount, minHitRate, maxFalseAlarm, weightTrimRate, maxDepth, internalNodes, leafValues, tree etc? I know they are used in the algorithm. But I do not understand the meaning of each one of them. For example, why we take a particular feature and not the other for a particular stage? how we are deciding which feature/ node to choose?

2.What is feature values in the LBP_frontal_face_classifier.xml? I know they are a vector of 4 integers. But how should I use this features? I though stage 0 access to the first feature but access is not in this pattern. What is the access pattern to this features?

  1. All the papers in literature give a high level overview only. Their descriptions mainly consist of LBP calculation from neighborhood pixels. But how this LBP values is used against those elements in the classifier?

  2. How does intergral image help in calculating LBP value of a pixel? Please do not give reference/answer using HAAR features. I know how HAAR is used. I need to understand LBP.

I read some papers, articles. But none clearly describes how LBP based face detection works or the algorithm in details. If someone wants to develop a face detection program on his own,what are the steps he should follow- no document describes that.

If anyone can help me with the answers it would be a great help for me. -you can answer the questions or you can direct me to someone who knows the answers or you can give me some link of articles/documents/papers that would help me to understand this algorithm.

Thanks a lot for reading. Eagerly waiting for your answers. I am badly in need of those.

-Hassan

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-03-23 14:12:43 -0600

updated 2014-03-23 14:16:15 -0600

Not much as a thoughtful answer, but hope this help:

  1. You can get more details of these arguments from this report of Rainer Lienhart. Some comments about them can be seen here.

  2. About the algorithm of using LBP for face detection, this paper is the most preferable. Other documents are from this link and this report (http://upcommons.upc.edu/pfc/bitstream/2099.1/10772/1/PFC_LauraSanchez_(LBP_applied_to_FaceDetection%26Recognition).pdf).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-03-21 10:03:38 -0600

Seen: 1,087 times

Last updated: Mar 23 '14