An embodiment of the invention discloses a
camera module, which comprises a lens, an
RGB image sensor, an
infrared image sensor, a first lens and a second lens, wherein the numbers of the lens, the number of the
RGB image sensors and the number of the
infrared image sensors are the same and is in one-to-one correspondence; the first lens is used for dividing incident light into a
first light ray and a second light
ray, and the
first light ray is a visible light ray an is irradiated to the
RGB image sensor for
light sensitive imaging in the
daytime; the second light ray is an
infrared light rayand is reflected to the
infrared image sensor through the second lens for imaging at night; an
optical path difference between an
optical path of the
first light ray incident to the RGB image sensorand an
optical path of the second light ray incident to the
infrared image sensor meets a preset
time condition; and the RGB
image sensor is used for judging whether a current shooting environment isin the
daytime or at night according to the brightness in the external environment. According to the
camera module, a
daytime monitoring mode and a night monitoring mode can be switched, the shootingquality of the
camera module is improved, and high-definition and high-quality pictures can be obtained.