Face tracking distance

General discussion about topics related to OpenMV.
Posts: 5
Joined: Sun Sep 23, 2018 2:00 pm

Face tracking distance

Postby gahigg1 » Tue Oct 02, 2018 3:55 pm

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?
User avatar
Posts: 4111
Joined: Sun May 24, 2015 2:10 pm

Re: Face tracking distance

Postby kwagyeman » Wed Oct 03, 2018 12:06 pm

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/m ... aar.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...

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 4 guests