Closed Vivianstats closed 6 years ago
Vivian, I only used this package for image recognition, not on optimisation. If you have questions on the C++ part, I believe you should better redirect your question to the dlib mailing list.
Thanks for the information. Since I'm just using the examples codes given in the dlib library, I think the problem might be in the interface between R and Rcpp, but I didn't figure out the solution yet.
Blindly copy-pasting the examples also did not work out for me when I implemented image.dlib on top of dlib https://github.com/bnosac/image/tree/master/image.dlib. Your error indicates that there is no matching constructor. That looks like you did not load the right header files but again I'm not an expert in the optimisation header.
Closing as no active feedback given in last month.
Thank you very much for this package! I want to do constrained optimization with Rcpp and found this package helpful.
I would like to test the examples given in optimization_ex.cpp.html (http://dlib.net/optimization_ex.cpp.html) in Rcpp but got the following message:
Below are my codes:
Can you provide me with some guidance on the problem? Thanks.