Bus passenger safe get off automatic detection method

The invention provides a bus passenger safe get off automatic detection method. When a bus stops at a station, a CPU acquires a first frame of the image received by a first camera, processes the received image, extracts the outside edge information of a get off passenger outside the bus and the bus, and estimates the minimum distance d between the get off passenger outside the bus and the bus. If the minimum distance d is greater than a safe distance L, whether a driver close command exists is judged. If the driver close command exists, a door is shut. If the driver close command does not exist, voice prompting is carried out until the driver close command is received. If the minimum distance d is less than or equal to the safe distance L, whether the driver close command exists is judged. If the driver close command exists, the close command is not accepted; voice prompting is carried out; and the door is open. If the driver close command does not exist, the door is open; the CPU continues to collect the next frame of image of the first camera; and the above process is repeated until the door is closed. The bus passenger safe get off automatic detection method provided by the invention can automatically help a driver to judge whether the get off passenger safely leaves the bus.