CameraFrame contains the frame from the camera and the dimensions of the
This is also used for saving the frames from the camera, since it can be
serialized. Instead of saving the whole BufferInfo to the disk,
just the frame from the camera is needed. So that is why it is a separated
from the BufferInfo.