accord-net / framework

Machine learning, computer vision, statistics and general scientific computing for .NET
http://accord-framework.net
GNU Lesser General Public License v2.1
4.48k stars 1.99k forks source link

Just wanna ask about Accord.Net LBP(Answered But Stay Open Until) #458

Open blaisexen opened 7 years ago

blaisexen commented 7 years ago

Hi @cesarsouza

I used opencv LBP, and I think it was used also by emgu as lbph face recognizer http://www.bytefish.de/blog/local_binary_patterns/

I just wanna ask if Accord.Net LBP is same in that LBP?

if not, is it possible to import that in Accord.Net?

or Accord.Net LBP is better than opencv lbp?

cesarsouza commented 7 years ago

Hi @blaisexen

The core of the LBP is supposed to be the same, but the way the final histogram and other representations are extracted from the LBP image can be quite different. I have to admit that the LBP present in the framework has not been exercised enough in real applications, as such might contain issues.

If anyone would like to give a shot, a review on the operations it currently performs would be more than welcome...

Regards, Cesar

blaisexen commented 7 years ago

hi, honestly I really doubt about the performance of this lbp, because using lbp(opencv.emgu) with my face recognition, it's so fast, faster 10x than fisher and eigen. fisher/eigen loads my 2k face database at 10 minutes, but in lbp it's only 1 minute, and the recognition was so good(10x recognizer than both)

anyway I know you have many things to do, but I just want you to know it.

thank you

blaisexen commented 7 years ago

Hi @cesarsouza

in connection with this issue, https://github.com/accord-net/framework/issues/452, blocksize and cellsize.

I will not closed it until it is proven much stable and good than other LBP.

BUT, I hope the SVM has no bugs, I just know that if it's not a compatible kernel for KSVM then the .Learn fails, like "UseKernelEstimation" it's only good when declaring kernel to "Gaussian"

thank you, Good Luck in your Conference. If it's about Accord.Net I hope you can post link here of what's going on this framework.

blaisexen commented 7 years ago

here's the lbp that opencv used as source, I also used this for my face recognition and it's better than bow on svm with chiquare kernel classification. https://github.com/opencv/opencv_contrib/blob/master/modules/face/src/lbph_faces.cpp