Error face registration

Hi, I’m trying to register faces using the faceregistration.py example, but I get the error: OSError Progressive JPEG is not supported