SNFaceCrop 1.4 is released

SNFaceCrop 1.4 is now released. It is available for download at http://sourceforge.net/projects/snfacecrop/ (binary and source code) or http://www.softpedia.com/get/Multimedia/Graphic/Graphic-Others/SNFaceCrop.shtml (binary)

The changes in this version are:
  • New layout of user interface. SNFaceCrop's user interface is now simplified. The detected faces and the original image are now located in the same tab/window so you can view the original image and the faces at the same time. When you hover the mouse at a detected face in the original image, the corresponding face will be selected in the list view.
  • Export/import face detection results. The detection results can be saved in an XML file. If you want to view the detected faces in an image that you have detected before, you can open the previous detection results and get the detected faces marked immediately without having to repeat detection process. It makes viewing the detected faces faster.
  • Enable user to manually reject detected face(s). If you get some false positives (non-face object that is incorrectly detected as a face), you can right click on the detected area and reject that area from being identified as a face.
  • Improved performance when browsing the detected faces.
  • Source codes in C#. The face detection engine is still using C++ and OpenCV library but the user interface codes is now using C#. All of the source codes are freely available for download at http://sourceforge.net/projects/snfacecrop/
  • Enable user to specify how much the area of the detected face should extend in batch mode detection.
    It can be done by using the new -ex and -ey command line arguments.
    The syntax is:

    SNFaceCrop -d <directory> -ex <num_ex> -ey <num_ey> -f <filename1> <filename2> ...
      <num_ex> is the amount of the horizontal extension to the face area to crop (in per cent of the detected face width)
      <num_ey> is the amount of the vertical extension to the face area to crop (in per cent of the detected face height)


        SNFaceCrop -d c:\myphotos -f *.bmp -ex 50 -ey 50

    In this case the resulted image will be 50% higher and 50% wider than the original area of the detected face.
Some screenshots of SNFaceCrop 1.4:

Main window:

User can manually select false positives and reject it:

Saved detection results:


SNFaceCrop 1.2 is released

SNFaceCrop 1.2 is released. The new feature in this version is the ability to do batch mode detection.

There are two detection modes in SNFaceCrop: interactive mode and batch mode.

In interactive mode, you use the menus and user interfaces available in SNFaceCrop application window.

In batch mode, you run SNFaceCrop from command line. Batch mode detection is particularly useful if you want to detect faces in a large number of images. With batch mode detection you can let SNFaceCrop do the detection on multiple images and comeback later to get the results.


To detect faces in an image in interactive mode:
  1. On the File menu, choose Open Image... and select the image to be detected.
    The currently supported image formats are BMP, PNG, and JPG.
  2. On the Detect menu, choose Start Detection... and wait until the detection is finished.
  3. After the detection is completed, if one or more faces are found, you can examine the detected face(s) in the Face tab.
By using the Tools menu., you can then select a face and copy it to clipboard or save all detected


To detect faces in a single or multiple image files in batch mode:

  1. Open command prompt and go to the directory where SNFaceCrop.exe is located.
  2. Run SNFaceCrop by using the following syntax:

    SNFaceCrop -d -f ...

    is the location of the image files
    ,,... are the image file names
    You can also use wildcard for the image file names.


    SNFaceCrop -d c:\myphotos -f photo1.jpg
    SNFaceCrop -d c:\myphotos -f photo1.jpg photo2.jpg photo3.jpg
    SNFaceCrop -d c:\myphotos -f *.bmp

  3. When the detection is finished, SNFaceCrop will open the directory where the detected face(s) are saved.
    The results will be saved in the subdirectory cropped_faces under the image file directory.
The current latest version (1.2.4312.6914) can be downloaded from https://sourceforge.net/projects/snfacecrop/
The source code is also available from the same web site.


SN FaceCrop, face detection and face cropping software

SNFaceCrop is a Windows-based application to detect and crop faces from image files. The detected faces can be automatically saved into files or copied into the Windows clipboard. SNFaceCrop uses OpenCV library.

SNFaceCrop is very easy to use. You only need to follow these steps to use it:

1. Select an image:

2. Start the detection:

3. Get the detected faces.

4. You can select a face and copy it to clipboard, or save all of them as separate image files.

SNFaceCrop can be downloaded from http://sourceforge.net/projects/snfacecrop/ or http://www.softpedia.com/get/Multimedia/Graphic/Graphic-Others/SNFaceCrop.shtml

SNFaceCrop's source code is also available in C++ at the above site.
To build SNFaceCrop you need Visual Studio 2008 and OpenCV. OpenCV is available at http://opencv.willowgarage.com/).
Web hosting