The present invention provides an
image processing method and device. The method comprises the steps of: in a night-scene shooting mode, if it is detected that the current shaking degree of a
camera module is larger than a first threshold value, detecting whether images collected by the
camera module at present comprise faces or not; if yes, according to the current shaking degree of the
camera module, determining standard sensitivity corresponding to each image to be collected; according to the
illuminance of the current shooting camera, the standard sensitivity corresponding to each image tobe collected and a preset
exposure compensation mode, determining the
exposure duration corresponding to each image to be collected; and according to the standard sensitivity corresponding to each image to be collected and the
exposure duration, collecting the plurality of images in order and performing combination
processing so as to generate a target image. Therefore, the
image processing method improves the whole
dynamic range and a face brightening effect of the portrait night-scene shooting images, avoids that the scene bright area generates overexposure and brightness
distortion and improves the user experience.