The invention discloses a gluing detection system and method based on deep learning, and the method comprises the following steps: constructing an initial deep residual error network model which is ofa five-layer structure and comprises an input layer, a convolution layer, a residual error layer, a full connection layer and a joint loss function layer; inputting the training sample into the deepresidual network model for training to obtain a gluing detection model; obtaining an original gluing image, and carrying out the preprocessing to obtain a to-be-detected gluing image; and inputting the to-be-detected gluing image into the gluing detection model, obtaining a score of gluing image detection, and judging whether the to-be-detected gluing image is qualified or not according to the score. According to the invention, the gluing of the vehicle window in the gluing workshop is automatically detected by constructing the deep residual network model, the gluing quality can be quickly andaccurately judged, the detection result is uploaded in real time, the timely processing is facilitated, and the automation degree and the production efficiency of the gluing workshop are improved.