We want to detect all the faces within a given image and we are going to do that for two different images, with the same face template. To get started on that, do the following in the python script file 'matchFaces.py':
Implement the function 'scale_down(image, resize_ratio)'.
Given an image, use a Fourier transform to scale down the image (optimal interpolation, remember?). Leave ratio*size from the original image(Also, consider possibly blurring the image before scaling it down).
Tips:
• Assume the ratio is between 0 and 1.
• Try to implement at first with ratio = 0.5 to get a feel for it.



Answer :

Other Questions