The application discloses a stereovision-based
slurry and
slag identification method, and belongs to the technical field of
tunnel construction, and specifically comprises the following steps: two same cameras are placed above the
slurry and
slag, fixed after being adjusted to the same height and the imaging half-frames are overlapped; a calibration plate is shot to obtain the baseline distance of the optical centers of the two cameras; the
exposure time is determined in combination with the camera accuracy, the
slurry and
slag movement speed and the imaging
magnification; two images of the slurry and slag are synchronously shot, the coordinate
system is established, the
sight distance difference and the imaging point spacing are calculated, the
object distance is solved based on the geometric relationship constructed by the
Gaussian imaging formula and the slurry and slag point position and the imaging plane and the camera optical center; finally, the three-dimensional
point cloud model is established according to the
object distance, and the slurry and slag shape, volume and surface area are output. The application solves the problems of
motion blur, image
distortion and the inability to accurately identify the size of the slurry and slag in the identification of the slurry and slag, can improve the identification accuracy, and meets the intelligent and refined construction requirements of large shield projects.