pendulum_detection_recognition: