Patent ID: 11887473
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Control (Instruments)
Classification: CPC G | IPC G

Claim 6:
7. An electronic device realized by a computer, comprising at least one processor and a memory in communication with the at least one processor, wherein the memory is configured to store therein an instruction executed by the at least one processor, and the at least one processor is configured to enable the electronic device to execute the instruction so as to implement a road congestion detection method, comprising:
obtaining K images taken by L cameras corresponding to a first road at a same target time point, the first road comprising M road sections, each road section corresponding to at least one camera, M, L and K each being a positive integer, and L being greater than or equal to M;
performing target detection on each image to obtain area ratio information, the area ratio information representing a ratio of an area of vehicles on a lane of a target road section to an area of the lane of the target road section, the target road section being a road section corresponding to the image in the M road sections; and
determining a first congestion detection result of the first road at the target time point in accordance with K pieces of area ratio information corresponding to the M road sections,
wherein the first congestion detection result represents whether the first road is in a congested state, and the determining the first congestion detection result of the first road at the target time point in accordance with the K pieces of area ratio information corresponding to the M road sections comprises, in the case that the K pieces of area ratio information meet a predetermined condition, determining that the first road is in the congested state at the target time point,
wherein the predetermined condition comprises that there are N pieces of target area ratio information in the K pieces of area ratio information, the N pieces of target area ratio information being area ratio information corresponding to N consecutive road sections in the first road, the target area ratio information is area ratio information where the ratio is greater than a first predetermined threshold, where N is a positive integer smaller than or equal to M, and a ratio of N to M is greater than or equal to a second predetermined threshold.