Patent attributes
The present disclosure provides a method for controlling a dual camera unit and a device, the dual camera unit includes a first camera, a second camera and a driving component. The second camera is movable relative to the first camera. The method includes determining whether current ambient-light intensity reaches a preset threshold; controlling the driving component to deform, thereby to drive the second camera to move and change the distance between the first camera and the second camera to a first preset distance, when the current ambient-light intensity fails to reach the preset threshold; controlling the first camera and the second camera to be in a first imaging mode corresponding to the first preset distance; and controlling the first camera and the second camera to shoot in the first imaging mode, and outputting a first image in the first imaging mode.