主权项 |
1. A method for controlling shutter speed and digital gain of a digital camera, comprising:
detecting, by a camera controller, if a luminance level of light entering the digital camera is below a predefined luminance threshold; detecting, by a camera controller, if motion meeting a predefined motion criteria is present in image frames captured by the digital camera; responsive to detecting that the luminance level is not below the predefined luminance threshold or determining that the motion meeting the predefined motion criteria is not present in the image frames, controlling, by the camera controller, the digital camera to operate with a default shutter speed and a default digital gain; responsive to detecting that the motion meeting the one or more predefined motion criteria is present in the images frames captured by the digital camera, controlling, by the camera controller, the digital camera to operate with an adjusted shutter speed and an adjusted digital gain, the adjusted shutter speed adjusted in a first direction from the default shutter speed and the adjusted digital gain adjusted in a second direction from the default digital gain, the second direction opposite the first direction. |