2016-05-15 20:18:27 -0600 | commented question | Add a public function to face recognition src-file Ok I see, but it helped me so thanks :) |
2016-05-15 09:12:51 -0600 | commented question | Add a public function to face recognition src-file @berak answered my question but it is only visible under my notification, don't know why... Anyway his first suggestion worked fine! 1: the easy way, have a base implementation: |
2016-05-15 07:37:51 -0600 | asked a question | Add a public function to face recognition src-file I have a c++ program from where I can create a LBPHFaceRecognizer, train it with with data, send an image for prediction etc. But now I want to customize lbph_faces.cpp. I can change/add private stuff in it, build and compile, and it works fine but when I try to add something public I get lost. Can someone tell me, if I want to add a public function in lbph_faces.cpp, what do I have to do? Which headerfiles do I have to update? Example: lbph_faces.cpp My program has And if I try to add the test-function in face.hpp like this for example: I get: |