matically pick up my jpeg libraries. So, I needed to convert my images to PPM format, which is one of those image formats t... ll basically be the same for all of them. We need to pass the source image and the model file, and we tell it to write the face position and to save a drawing wit... t work for this purpose, where I wanted the image to keep it’s dimensions but have one half just be white. So I decided to draw a white rectangle over half of the picture. I apply the image manipulation to the original JPEG file, not the temporary PPM file that I used to detect the face position.
<code>
convert -fill wh