The invention discloses application of deep learning in product appearance defect detection, and relates to the technical field of defect detection. The objective of the invention is to solve problemsof accuracy and real-time performance of a detection system, a hardware platform, a software detection platform, a data labeling module, an image partitioning module, a data enhancement module, a network training module, a parallel detection module and a defect segmentation module are included; the hardware platform comprises a precise object carrying control platform and an image acquisition platform. According to the invention, segmentation is realized based on the detection technology; the types and positions of the flaws can be obtained; the specific shape can be obtained; a data enhancement operation is used to greatly reduce the cost required by data set making, deep learning parallel detection is adopted, the detection precision is guaranteed, the detection speed is improved, manual visual inspection is replaced, the working efficiency is improved, the waste of human resources caused by manual visual inspection is avoided, and the invention can automatically and quickly detectdefects, and marks the positions and types of the defects.