An image processing device, comprising an input unit, a display unit, a communication unit, a storage unit, a processor, at least one first camera, and at least one second camera,
- wherein the first camera comprises an infrared light filter and a switch configured for controlling the first camera to switch between a first mode and a second mode, when the first camera is in the first mode, the infrared light filter is turned off by the switch;
- when the first camera is in the second mode, the infrared light filter is turned on by the switch,
- wherein the storage unit stores one or more programs, when executed by the processor, the one or more programs causing the processor to:
- control the switch to switch the first camera to the first mode;
- control the first camera to capture a first image in the first mode;
- control the second camera to capture a second image;
- obtain a depth image by performing frame synchronization processing on the first image and the second image;
- and
- output the depth image.