help LBP and Random Forest

asked 2013-09-02 02:26:52 -0600

piaoye123 gravatar image

updated 2013-09-02 03:38:07 -0600

sorry..... you give me the link, I have see, the train function base on Random Forest?what is the train Algorithm? I'm new hand in openCV

edit retag flag offensive close merge delete

Comments

It is wonderfull to see how much a google search on 'opencv + local binary patterns' can do for you. I think the third link gives you a complete explanation on how to do it. Check this out!

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-02 02:29:10 -0600 )edit

Also, the way you pose your question, gets me wondering if you actually grasp the concepts of what you are about to do? I suggest reading the papers of both LBP and Random Forests.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-02 02:35:25 -0600 )edit

Ok so basically take the time to investigate the links I have shown you, there is premade code available, just have to put some effort in looking for it. Do not expect people to supply you with premade codes, we do not encourage this here... Also, if you have updates, use the edit button instead of pushing code in comments.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-02 03:26:02 -0600 )edit

sorry..... you give me the link, I have see, the train function base on Random Forest?what is the train Algorithm? I'm new hand in openCV

piaoye123 gravatar imagepiaoye123 ( 2013-09-02 03:41:56 -0600 )edit

This exact code was in the first link supplied and show how to calculate LBP histograms ... If you would describe your application, we could help out more ...

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-02 04:13:14 -0600 )edit

manito, I want to user LBP and Random Forest to do face detect(not FaceRecognizer). For Random Forest, the openCV has train and predict funtion ,now I want Random Forest to train LBP feature, and I'm weak in face detect, so I want to have some code to consult.I know the basic principles of LBP,but I don't know how to combine them

piaoye123 gravatar imagepiaoye123 ( 2013-09-02 04:32:25 -0600 )edit

Actually this code gives you the possibility to train features and internally it calculates the LBP or HAAR features of windows/image. Diving in the code of the file (in sourcefolder) you have files like lbpfeatures.cpp. I suggest diving into them and look how they calculate it.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-02 04:55:18 -0600 )edit

thank you very much

piaoye123 gravatar imagepiaoye123 ( 2013-09-02 20:02:25 -0600 )edit