The invention relates to a stereoscopic
vision based acquisition method of the congestion degree of
bus passenger flow, comprising the following steps of: (1) obtaining a left synchronous
video image and a right synchronous
video image by a left parallel synchronous camera and a right parallel synchronous camera, and
processing left and right synchronous
video image sequences by a synchronous video image collection module; (2) computing a
parallax image of a passenger flow scene by a
parallax computation module according to the left and right synchronous video image sequences, and prestoring a background
parallax image; (3) judging the sort of a current frame by a foreground object generation module according to the
frame difference motion characteristic of the passenger flow scene, dynamically updating the parallax image of a background frame, and computing the parallax image of a foreground object in the scene according to a foreground frame; (4) carrying out position mapping for the foreground object by a oreground object mapping module so as to obtain a
ground plane mapping image of the foreground object; (5) carrying out object characteristic statistics for the
ground plane mapping image by a congestion degree
estimation module, obtaining a congestion degree
estimation value according to an object area and an edge characteristic; and repeatedly and circularly executing the steps from step (1) to the step (5) to complete the real-time collection of the congestion degree of the passenger flow.