A geometric model with stochastic error for abnormal motion detection of portal crane bucket grab

Hansheng Wang, Baichen Yu, Xiao Wang, Hansheng Wang 0002

Abstract

Abnormal swing angle detection of bucket grabs is crucial for efficient harbor operations. In this study, we develop a practically convenient swing angle detection method for crane operation, requiring only a single standard surveillance camera at the fly-jib head, without the need for sophisticated sensors or markers on the payload. Specifically, our algorithm takes the video images from the camera as input. Next, a fine-tuned 'the fifth version of the You Only Look Once algorithm' (YOLOv5) model is used to automatically detect the position of the bucket grab on the image plane. Subsequently, a novel geometric model is constructed, which takes the pixel position of the bucket grab, the steel rope length provided by the Programmable Logic Controller system, and the optical lens information of the camera into consideration. The key parameters of this geometric model are statistically estimated by a novel iterative algorithm. Once the key parameters are estimated, the algorithm can automatically detect swing angles from video streams. Being analytically simple, the computation of our algorithm is fast, as it takes about 0.01 seconds to process one single image generated by the surveillance camera. Therefore, we are able to obtain an accurate and fast estimation of the swing angle of an operating crane in real-time applications. Simulation studies are conducted to validate the model and algorithm. Real video examples from Qingdao Seaport under various weather conditions are analyzed to demonstrate its practical performance.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Qingdao Seaport validation datasetFine-tuned YOLOv5 (SGD; initial learning rate 0.01, final OneCycle learning rate 0.005)mAP@50:9594.5split: val · fine-tuned · model=YOLOv5 · selection=best learning-rate combination
Source quote
L171: 0.01 │ 93.8 │ 94.5 │ 94.2 │ 90.1 │ 90.5 │ 90.5
Nighttime Qingdao Seaport video under light snow (testing split)Fine-tuned YOLOv5mAP@50:950.950split: test · fine-tuned · model=YOLOv5 · subset=220 images; 80/20 train-test split · condition=nighttime, light snow
Source quote
L270: Specifically, we randomly extract a total of 220 images from each of the two video records. Bounding boxes are then provided for each image in each dataset. Both datasets are then randomly split into a training dataset with 80% samples and a testing dataset with 20% samples. Subsequently, the YOLOv5 model can be fine-tuned on the training datasets with excellent performance on the testing datasets (i.e., mAP@50:95s of 0.950 and 0.964 for each video record). Next, we apply the iterative estimating algorithm (\ref{est-1}, \ref{est-2}, \ref{est-3}) to both datasets. The algorithm converges in a total of T=7 and T=9 iterations for each dataset, respectively. The final estimators are given by \Hat{\beta}=3.005 (\circ) and \Hat{\sigma} = 3.020 (\circ) for the first video record, and \Hat{\beta}=4.221 (\circ) and \Hat{\sigma} = 3.177 (\circ) for the second one. The results from the first video record are quite close to the estimator obtained in the previous video record as reported in Section \ref{EDA}. The estimated camera angle from the second experiment is much larger than the other two due to the heavy windy condition.
Daytime Qingdao Seaport video under heavy snow and wind (testing split)Fine-tuned YOLOv5mAP@50:950.964split: test · fine-tuned · model=YOLOv5 · subset=220 images; 80/20 train-test split · condition=daytime, heavy snow, wind
Source quote
L270: Specifically, we randomly extract a total of 220 images from each of the two video records. Bounding boxes are then provided for each image in each dataset. Both datasets are then randomly split into a training dataset with 80% samples and a testing dataset with 20% samples. Subsequently, the YOLOv5 model can be fine-tuned on the training datasets with excellent performance on the testing datasets (i.e., mAP@50:95s of 0.950 and 0.964 for each video record). Next, we apply the iterative estimating algorithm (\ref{est-1}, \ref{est-2}, \ref{est-3}) to both datasets. The algorithm converges in a total of T=7 and T=9 iterations for each dataset, respectively. The final estimators are given by \Hat{\beta}=3.005 (\circ) and \Hat{\sigma} = 3.020 (\circ) for the first video record, and \Hat{\beta}=4.221 (\circ) and \Hat{\sigma} = 3.177 (\circ) for the second one. The results from the first video record are quite close to the estimator obtained in the previous video record as reported in Section \ref{EDA}. The estimated camera angle from the second experiment is much larger than the other two due to the heavy windy condition.
BibTeX
@article{wang2025geometric,
  author = {Hansheng Wang and Baichen Yu and Xiao Wang and Hansheng Wang},
  title = {{A geometric model with stochastic error for abnormal motion detection of portal crane bucket grab}},
  journal = {Engineering Applications of AI},
  year = {2025},
  doi = {10.1016/j.engappai.2024.109481},
}

Loading related content...

Figure