FaceMorpher WE receives the filenames of photos from the command line. It supports the following image file formats: JPG, PNG, GIF and BMP. Photos are specified in the <input_image1> and <input_image2> parameters. FaceMorpher WE has a number of options to control the facial feature recognition process.
Parameters:
--dots1file <dots1filename> – the name of the file with the list of facial feature coordinates associated with <input_image1>. If it is specified to recognize facial features in this file with the --dots1recognize parameter, FaceMorpher WE will save the coordinates of the facial features to <dots1filename> after the recognition. Otherwise these coordinates will be loaded from this file. If this parameter is omitted, FaceMorpher will recognize facial features and will not save them.
--dots2file <dots2filename> – the name of the file with the list of facial feature coordinates associated with <input_image2>. FaceMorpher WE processes this option similar to the --dots1file option.
--dots1recognize – recognize the facial coordinates in <input_image1> and save them to <dots1filename>. If this option is omitted, the facial features in <input_image1> will not be recognized and will be loaded from <dots1filename>.
--dots2recognize – recognize the facial coordinates in <input_image2> and save them to <dots2filename>. If this option is omitted, the facial features in <input_image2> will not be recognized and will be loaded from <dots2filename>.
Example:
> facemorpherwe.exe test1.jpg test2.jpg --dots1file test1.dots --dots2file test2.dots –-dots1recognize --outputdir out\ --videoformat flv --videofilename output_video.flv --videosize 256x392 --videoframes 200 --framerate 24