You try to imshow an empty Mat. Now, you need to figure out how to check that the read() succeeded before doing anything with the frame
You try to imshow an empty Mat. Now, you need to figure out how to check that the read() succeeded before doing anything with the frame