The integrated imaging module is a highly integrated product based on the two-dimensional line scanning module and the three-dimensional scanning imaging module. It can simultaneously collect two-dimensional and three-dimensional information of the tested object, solving the problem of insensitivity of two-dimensional images to depth information and the detection accuracy of three-dimensional images in the two-dimensional direction. It also uses a foldable optical path design, making the overall module size much smaller than the superposition of the two modules, And a joint calibration method is adopted to reduce the preprocessing operations for image processing in the backend, integrating the advantages of two-dimensional and three-dimensional, and improving the overall accuracy and accuracy of visual detection.