This is a quick sample using F# and Accord.NET to do face detection. The method uses the provided Haar-like feature detection. The results aren’t particularly good, but for little effort it’s an ok start. At a minimum, it does reasonably well at detecting potential regions of interest. For the test images, the best improvements were found when constraining the min/max range based on the known sizes of faces in the pictures.
About Codesuji
Read Time: 1 minutesPrimarily, codesuji.com is an experiment. As time progresses, it (like code) will flow in several directions. For the moment, my immediate focus is to bring practical and interesting examples of F# and functional programming to the masses (that’s you).