1. Technical Field
Embodiments of the present disclosure relate to measuring speed of vehicles, and more particularly to a computing device and a method for measuring a speed of a vehicle.
2. Description of Related Art
Traffic management departments usually use professional speed measurement equipments, such as radar, to measure a speed of a vehicle, and to further identify whether the speed of the vehicle exceeds a speed limit. However, the professional speed measurement equipments are expensive.
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable storage medium or other storage device. Some examples of non-transitory computer-readable storage medium may include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
The computing device 3 further includes, but is not limited, a storage device 12, and at least one processor 14. In one embodiment, the vehicle speed measure system 10 includes a plurality of function modules (see
In the embodiment, the computing device 3 obtains images of the vehicle 7 captured by the camera 2, identifies the license plate number of the vehicle 7 from the captured images, and obtains the length L of the vehicle 7 from the database 6 of the traffic management department according the obtained license plate number.
As shown in a
In another embodiment, the first motion sensor 1 and the first camera 2, as shown in
The communication device 5 is equipped on one pole 4, and connects the first and second couples of motion sensors 1 and cameras 2 to the computing device 3 by a wired or a wireless means.
The storage device 12 may include any type(s) of non-transitory computer-readable storage medium, such as a hard disk drive, a compact disc, a digital video disc, or a tape drive. In the embodiment, the storage device 12 stores computerized codes of the vehicle speed measure system 10.
The at least one processor 14 may include a processor unit, a microprocessor, an application-specific integrated circuit, and a field programmable gate array, for example.
In step S200, the first start module 100 starts the first motion sensor 1 to sense the first position A of the vehicle 7 and controls the first camera 2 to capture the first image of the vehicle 7 when the vehicle 7 reaches the first position A, and records a first time (denoted as “t1”) when the first image of the vehicle 7 is captured by the first camera 2, wherein the first image includes a license plate number of the vehicle 7.
In step S202, the first obtaining module 102 obtains the first image of the vehicle 7 from the first camera 2 through the communication device 5.
In step S204, the first processing module 104 identifies the license plate number from the first image of the vehicle 7, and obtains the length L of the vehicle 7 from the database 6 of the traffic management department according to the obtained license plate number.
In step S206, the second start module 106 starts the second motion sensor 1 to sense the second position B of the vehicle 7 and controls the second camera 2 to capture the second image of the vehicle 7 when the vehicle 7 reaches the second position B, and records a second time (denoted as “t2”) when the second image of the vehicle 7 is captured by the second camera 2, wherein the second image also includes the license plate number of the vehicle 7.
In step S208, the second obtaining module 108 obtains the second image of the vehicle 7 from the second camera 2 through the communication device 5.
In step S210, the second processing module 110 identifies the license plate number from the second image of the vehicle 7.
In step S212, the computing module 112 calculates a moving distance (denoted as “S”) of the vehicle 7 according to the first position A, the second position B and the length L of the vehicle 7, and calculates a speed (denoted as “V”) of the vehicle 7 according to the moving distance S, the first time t1 and the second time t2: V=S/(t2−t1).
In the embodiment, as shown in the
V=S/(t2−t1)=(S1+L)/(t2−t1).
In another embodiment, as shown in the
Although certain embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
| Number | Date | Country | Kind |
|---|---|---|---|
| 201210105242.8 | Apr 2012 | CN | national |