Go to Device Manager and manually remove the driver for the camera then install it again. If anything goes well, you should have camera functionality because in most cases, this is simply a bug. Alternatively, try to change the camera settings. It's possible that the brightness is turned down to minimum.