# Is it possible to do lip detection using OpenMV?

**URL:** <https://forums.openmv.io/t/is-it-possible-to-do-lip-detection-using-openmv/1177>\
**Category:** OpenMV Boards\
**Created:** [March 27, 2019, 12:01am UTC](https://forums.openmv.io/t/is-it-possible-to-do-lip-detection-using-openmv/1177 "2019-03-27T00:01:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucy](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@lucy](https://forums.openmv.io/u/lucy)\
**Post date:** [March 27, 2019, 12:01am UTC](https://forums.openmv.io/t/is-it-possible-to-do-lip-detection-using-openmv/1177/1 "2019-03-27T00:01:27Z")

</div>

Hello 🙂 I just purchased OpenMV to solve the project using lip detection. Looking for a way, I found OpenMV provides ‘find\_blobs’ function instead findContour.  
is it possible to use ‘find\_blobs’ to find lip? If it’s not, how could I solve that problem?  
and I also found the way to add ‘c code file’ in OpenMV project. so is this way can possibly do it??  
(I attach the example pictures)

I look forward to your response. Thank you!  
 ![mouth detection.PNG](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/1X/402e0ad05ece20a8b82538a06fd6b07abe9e6c41.png)  
 ![lip detection.PNG](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/1X/dba9b2a0fa54268d069586f4835e175d1a3c19ed.png)

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [March 27, 2019, 4:27pm UTC](https://forums.openmv.io/t/is-it-possible-to-do-lip-detection-using-openmv/1177/2 "2019-03-27T16:27:12Z")

</div>

Hi, we don’t have a built-in haar cascade for this. I don’t know how to quite use our Haar Cascade conversion script to convert the OpenCV lip cascade.

> **[opencv/data/haarcascades at master · opencv/opencv](https://github.com/opencv/opencv/tree/master/data/haarcascades)**
>
> master/data/haarcascades

Sorry, I don’t know how you can easily do this with the system right now. It’s not out of it’s processing power. But, the right algorithm needs to be ported.

---

<div class="post-metadata">

**Author:** ![lucy](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@lucy](https://forums.openmv.io/u/lucy)\
**Post date:** [April 18, 2019, 1:18pm UTC](https://forums.openmv.io/t/is-it-possible-to-do-lip-detection-using-openmv/1177/3 "2019-04-18T13:18:02Z")

</div>

Thank you for your reply.  
I’m trying! 🙂
