Lentinula edodes logs are susceptible to sundry bacteria contamination during the culture process, and manual identification of contaminated is difficult, untimely, inaccurate. Aiming solve this problem, paper proposes a method for based on deep learning model Ghost–YOLOv4. Firstly, data set log was constructed. Secondly, in view problems that YOLOv4 network parameters too large detection speed...