Build model for image captchas