The invention discloses a control method and device, imaging equipment, computer equipment and a non-volatile computer readable storage medium. The imaging equipment comprises a pixel unit array, andthe pixel unit array comprises multiple pixel units; the control method comprises the following steps: acquiring a gain index value according to an ambient brightness value of the current environmentand the preset target brightness value; when the gain index value is less than the preset gain index value, photographing by using a light mode to obtain a target image; when the gain index value is greater than the preset gain index value, photographing by using a dark mode to obtain the target image. Trough the control method and device, imaging equipment, computer equipment and the non-volatilecomputer readable storage medium disclosed by the invention, the light-dark situation of the current environment is judged by acquiring the gain index value for representing the light-dark of the environment, furthermore, the appropriate working mode is selected according to the judgment result to shoot the target image with excellent imaging effect, and the shooting experience of the user is improved.