# Is there any code/library to draw these lines (or measure their lengths) on a face without using dlib?

**URL:** <https://forum.opencv.org/t/is-there-any-code-library-to-draw-these-lines-or-measure-their-lengths-on-a-face-without-using-dlib/7033>\
**Category:** Python\
**Created:** [January 8, 2022, 5:32am UTC](https://forum.opencv.org/t/is-there-any-code-library-to-draw-these-lines-or-measure-their-lengths-on-a-face-without-using-dlib/7033 "2022-01-08T05:32:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frob](https://avatars.discourse-cdn.com/v4/letter/f/8e8cbc/32.png) [@frob](https://forum.opencv.org/u/frob)\
**Post date:** [January 8, 2022, 5:32am UTC](https://forum.opencv.org/t/is-there-any-code-library-to-draw-these-lines-or-measure-their-lengths-on-a-face-without-using-dlib/7033/1 "2022-01-08T05:32:53Z")

</div>

Hi there

Is there any code/library to draw these four lines (or measure their lengths) on a face with OpenCV, and without dlib? The angle of the jaw if available will be great as well.

 ![face-lines](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/c/c44a8ba507ba6d49b6191f38b52a58921d9f1704.jpeg)

Thank you.

---

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [January 8, 2022, 8:17am UTC](https://forum.opencv.org/t/is-there-any-code-library-to-draw-these-lines-or-measure-their-lengths-on-a-face-without-using-dlib/7033/2 "2022-01-08T08:17:45Z")

</div>

there are 68 point [Facemark classes](https://docs.opencv.org/4.x/db/dd8/classcv_1_1face_1_1Facemark.html) in the contrib repo, similar to what dlib does

> <https://github.com/opencv/opencv_contrib/blob/4.x/modules/face/samples/landmarks_demo.py>
