Face Detection
From left to right:
elf: min_scale = 0.5, max_scale = 0.5, step = 0.1
me: min_scale = 0.34, max_scale = 0.34, step = 0.1
group31: min_scale = 0.5, max_scale = 0.5, step = 0.1
family: min_scale= 0.6, max_scale = 0.6, step = 0.1
My code creates a very large array which is sorted using bubble sort. When several steps are checked, the array becomes prohibitively large. I instead ran the method manually at different scales for each image until I found a good fit.
The algorithm works well for images that resemble the training images (light background and no teeth), but failed on the last image. It probably failed because the background is close to skin color in many places, and because everyone in the picture is smiling.
|
|