Using Python to write the Face++ upload photos and training script