-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filling the color ? #23
Comments
Any update on this? @saturngod |
There is a function in Dlib called You would use this with all points from the detector I guess instead of this code:
|
I found a fork for this: https://github.com/stanchiang/face-landmarking-ios He use SpriteKit to draw from swift, it's faster than draw it with uibezierpath and use it as sublayer, maybe you need to modify some of the code at:
and also you need to modify which node you need to draw at: because in his case, he only extract inside mouth part Note: var center |
@zweigraf @seebeb we cannot use that code because the point is missing base on the phone. Example not working well iPhone 7 and iPad. |
@saturngod Have you found a way to draw a polygon using the facial landmark points? I am also looking for a way to accomplish this. I'll let you know if I find anything as well. |
@saturngod can you help out with this? |
How can I fill the color ? I try to use with uibezierpath and Point position are not same. I cloudn't find a way to draw polygon with dlib.
Is it possible to draw line and fill like uibezierpath in dlib or I need to recalculate the pixel ?
The text was updated successfully, but these errors were encountered: