Comments (9)
Hi,
could you please provide me the model, which you are using? Because I haven't encountered any problems using many different models yet.
However, I admit, that there are no fail-safe mechanisms in some parts of the code. In this case, I think it depends on the method chosen for learning the model, which has to enforce some conditions on the weight vector.
from clandmark.
Thanks for the quick response back. I'm using the provided flandmark_model.xml
file in the data folder.
from clandmark.
I see, that should be the problem. I am still polishing some parts of the code to publish and I forgot to mention that this model is not suitable for usage with distance transform. It is some old version which replaces the previous library - flandmark.
I will try to upload more models soon. Sorry for the inconvenience.
from clandmark.
Ok, thanks for letting me know. I've just swapped to using the 8Lfrontal_SPLIT_1_init.xml
model, and that looks to be working much much better!
from clandmark.
That one should work with the code, but I am afraid it won't detect anything, since it does not contain the learned weight vector w.
I will try to upload some of the learned models I have as soon as possible.
from clandmark.
Hello uricamic,
I have encounter same problem with ashbash1987, when I replace the xml file to 8Lfrontal_SPLIT_1_init.xml, the program could run smoothly but the result is not accurate at all.
I pretty much follow the static_input example, you said you haven't encountered any problems using many different models yet. Could you give me some hint about how to detect the point accurately?
BTW, I have successfully detect 7 face feature points use old library flandmark, but looks the new library still only could only detect 7 face feature points, could you also give me some instruction about how to generate more points like your webpage post?
Thanks!
from clandmark.
Hi @lizhong323,
the 8Lfrontal_SPLIT_1_init.xml is an init file, which should be used for learning, i.e. it does not contain the learned weight vector. It cannot actually detect anything.
I have uploaded some models (e.g. the multi-view variant detecting 21, 19 or 13 landmarks depending on the yaw angle estimate) which can be used on the project webpage and I will upload some more soon.
It is also possible to use the enclosed 8 landmark model, which replaces the flandmark. However, so far there is just the version, which does not use speed ups for features computation and distance transform. So the initialization of Flandmark class and detection call looks a bit different. I will write about these differences on the webpage as well.
I am finalizing the MATLAB scripts for learning user-defined models when it is finished, I will write a tutorial on the webpage how to define new model and how to learn it from annotated data. It will be only for MATLAB for start, however after fixing the Python interface I would like to prepare the learning scripts for Python as well.
from clandmark.
Hi uricamic,
Thank you for your swift reply!
Yes, I just try two zip file which contain the learned models, it could detect more landmarks, but the result seems not accurate. I just follow the C++ static_input example, do I follow the right example?
I use the face.jpg in data folder. And use this learned model:INDIVIDUAL_FRONTAL_AFLW_SPLIT_1.xml, could give me some hint to fix it?
from clandmark.
Hi @lizhong323,
could you please provide me more information about this issue? Which operating system are you using and what version of OpenCV to compile static_input.cpp? And have you done any modifications to the code?
I have just tried to call static_input example with model: INDIVIDUAL_FRONTAL_AFLW_SPLIT_1.xml as flandmark model on face.jpg and I get quite nice output:
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.