# Face tracking distance

**URL:** <https://forums.openmv.io/t/face-tracking-distance/921>\
**Category:** OpenMV Boards\
**Created:** [October 2, 2018, 7:55pm UTC](https://forums.openmv.io/t/face-tracking-distance/921 "2018-10-02T19:55:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gahigg1](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@gahigg1](https://forums.openmv.io/u/gahigg1)\
**Post date:** [October 2, 2018, 7:55pm UTC](https://forums.openmv.io/t/face-tracking-distance/921/1 "2018-10-02T19:55:01Z")

</div>

I am using a pan/tilt servo control with the face tracking code. It only detects accurately up to 5ft. Is this a limitation for the camera? or how can I make it detect at further ranges?

---

<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:** [October 3, 2018, 4:06pm UTC](https://forums.openmv.io/t/face-tracking-distance/921/2 "2018-10-03T16:06:20Z")

</div>

Hi, yes, adjust the scale parameter. Basically, when the algorithm is running it’s resizing the detection window based on the scale parameter value: [https://github.com/openmv/openmv/blob/master/src/omv/img/haar.c#L108](https://github.com/openmv/openmv/blob/master/src/omv/img/haar.c#L108)

As you can see… if you make the scale value very close to 1.0 the algorithm will run very slowly but exhaustively. Make sure scale is \> 1.0. So, try a scale value of like 1.1…
