Changed Pi camera resolution and use video port for maximum speed and to avoid black screens.