For automated quayside container cranes, accurate measurement of the three-dimensional positioning and attitude of the container spreader is crucial for the safe and efficient transfer of containers. This paper proposes a high-precision measurement method for the spreader’s three-dimensional position and rotational angles based on a single vertically mounted fixed-focus visual camera. Firstly, an image preproce...