Yes sir you’re right , my model totally can make predictions from JPEG images but webcam images is a different thing . I wonder these mismatch errors come from this line “image        = frame[100:450,150:570]” , doesn’t it ? And i dont know what exactly it is. Could you explain it for me ?