Abstract
The article deals with the synthesis of the system that performs the stabilization of the container ship in case of emergency shifting of containers on deck. The ballast system controls the roll and pitch of the vessel using the signals of the inertial sensor data and video monitoring systems.