OpenCV Resolution

Is there a way to increase the default resolution the face detection is using ? I always seem to get a small default and cant find the location to make it higher.  thanks

GroG's picture

Hello DVSguy, I'm not sure

Hello DVSguy,
I'm not sure what your asking  - perhaps you could post a picture (they say its worth a 1000 words).
Are you talking about the resolution of the video stream ?

theDVSguy's picture

Hi Grog thanks for the

Hi Grog thanks for the reply.  Yes thats what I am talking about the resolution of the stream.  It seems to be at a minimal and I see no where that I can increae it up.  Is that not controlled by MRL ?

GroG's picture

Cameras are not very uniform

Cameras are not very uniform on how this is done.  There is a way to "suggest" to change resoltion, but no guarantee from the camera that it will change - this is done programmatically...

I suspect that you are using someones script which probably uses a PyramidDown filter.
This filter will reduce the resolution of the video stream.  The reason the probably did this, is Face Detecting is "faster" when it searches a smaller resolution.

You can probably remove the PyramidDown filter and you will get a bigger video stream and slower Face Detection.

theDVSguy's picture

ok

ok thanks for the tip ;)