The invention relates to a detecting 
system and method for 
spin locks of containers. A visual field of a collecting 
system covers four corners of the container bottoms of the containers with a plurality of sizes, an IO module collects video data output by the collecting 
system, and analysis is carried out to generate image data; if a detecting module outputs an 
alarm signal, the IO module outputsthe 
alarm signal of the detecting module to a 
gantry crane control system; and the detecting module reads the image data analyzed by the IO module after receiving a crane 
signal, whether the 
spin locks exist in the container bottoms of the containers or not is judged, and if so, the 
alarm signal is output. According to the detecting system and method for the 
spin locks of the containers, 
machine visual technology is used, automatic detecting, recognizing and tracking of the spin locks not removed of the container bottoms of the containers are realized, and the working efficiency is improved. Adetecting result is connected to a hanger 
control circuit, a hanger is controlled to stop working under the abnormal working conditions, and accidents are prevented. A crane state and container typescan be automatically recognized, the change of a gantry control device is reduced, and the universality is good.