The invention discloses a port container loading and unloading
positioning system and method based on
visual identification, and relates to the technical field of
port logistics automation. The method comprises the following steps: acquiring a container surface image through an
image acquisition device on a sling, and detecting an initial
angular point through a
deep learning model; when the angular points are missing or the confidence coefficient is insufficient, edge features are extracted, and sub-pixel coordinates are predicted through a reconstruction network so as to complement the angular points; sorting the complete
angular point set to form closed-loop vectors, and calculating cross products of adjacent vectors to verify the topological effectiveness; and when the topology is effective, through coordinate conversion and
pose optimization, outputting three-dimensional coordinates of the angular points in a world coordinate
system, and further determining the position of the container and feeding back the position to a lifting appliance
control system to guide loading and unloading. The
system correspondingly comprises an
image acquisition and
corner detection module, a corner completion module, a corner sorting and cross product calculation module, a topology
verification and coordinate conversion module and a positioning feedback module. The problem of inaccurate positioning caused by lifting tool shaking, stacking deviation and the like is solved, and the precision and efficiency of container loading and unloading are improved.