Check the image size captured by webcam

TODO: Add an API to webcam/v4l2, which returns the current capture size.

Signed-off-by: kfei <kfei@kfei.net>