Comments (5)
Hi @lddm,
if I remember correctly, this can happen only when the inappropriate weight vector W is used. Looking at the code this line seems to be suspicious:
typedef float fl_double_t;
both the CDPM.xml
and FDPM.xml
are double
. There is no check in the code for this so, I guess that causes the problem. The fl_double_t
type should be propagated through the CMake compilation. But for now, just please check whether compiling with
typedef double fl_double_t;
works. Or you can change the .xml
models. However this can be done now only through MATLAB interface...
from clandmark.
Hi @lddm,
I have also noticed that you use
CDPM->detect(&img_gray, &bbox[0]);
FDPM->detect(&img_gray, &bbox_corrected[0]);
please use
CDPM->detect_optimized(&img_gray, &bbox[0]);
FDPM->detect_optimized(&img_gray, &bbox_corrected[0]);
the models are generated for the optimized detection only. It won't work as expected with detect
.
I have checked it now and it works with the changes I mentioned.
from clandmark.
Hi @uricamic ,
Thanks very much for your quick and complete response. I was reviewing your comments and will try the proposed changes as soon as I have a free minute.
I changed the typedef of the fl_double_t
type because in the first test I done the propagation from the CMake wasn't working correctly. Maybe this was caused by an error from my side when configuring the project that consumes the library), now I believe this line is not necessary.The other change of using detect
and not detect_optimized
was a last minute idea, I will try to rollback that change.
I will let you know the results,
Best regards and thanks again
from clandmark.
Hi @uricamic ,
I have verified and corrected both the definition of the fl_double_t
type and the use of the detect_optimized
function. Now the demo application that I developed is working correctly. The landmarks position accuracy is really good.
I made some changes in the CMake configuration of the library in order to automate the integration of the library in another project.
I would like to thank you again for the assistance. Please let me know if I can be of any help or if it's useful for you to have the CMake configuration changes or code of the demo application.
Best regards,
from clandmark.
Hi @lddm,
glad to hear that.
If you want, you can share the project or the modifications you made to CMake configuration. Any kind of help is always welcome :)
from clandmark.
Related Issues (20)
- Running Clandmark webcam example HOT 15
- Truecaller_api
- Tru
- Truecaller_api HOT 1
- matlab interface HOT 2
- matlab interface HOT 5
- missing -lopencv_imgcodecs for libopencv 3.1.0 HOT 3
- Using code in video processing,how can I speed up it? HOT 2
- Error in `./video_input': double free or corruption (out): 0x0000000000b56020 ***Aborted (core dumped) HOT 1
- Face Rectangle size HOT 11
- Relocation error when compiling Python interface on Ubuntu HOT 23
- cannot openfile CDPM.xml HOT 9
- Building python_binding HOT 2
- Ask some questions for using "C2F-DPM.xml" HOT 5
- How to build a new face model based on Rhesus monkey ?
- Matlab interface on linux
- Can I use this lib to detect smile ? HOT 2
- Using clandmark in Android app with native c++ HOT 6
- Question for unstable landmark points according to new input frames.
- Multi-view face landmark extraction in Python HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clandmark.