help LBP and Random Forest
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
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
Asked: 2013-09-02 02:26:52 -0600
Seen: 278 times
Last updated: Sep 02 '13
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!
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.
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.
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
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 ...
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
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.
thank you very much