CN112309134B - Vehicle speed detection method and device - Google Patents
Vehicle speed detection method and device Download PDFInfo
- Publication number
- CN112309134B CN112309134B CN201910688572.6A CN201910688572A CN112309134B CN 112309134 B CN112309134 B CN 112309134B CN 201910688572 A CN201910688572 A CN 201910688572A CN 112309134 B CN112309134 B CN 112309134B
- Authority
- CN
- China
- Prior art keywords
- block
- vehicle
- frame
- cache
- matching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/052—Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed
- G08G1/054—Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed photographing overspeeding vehicles
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
The embodiment of the application provides a vehicle speed detection method and device, wherein the method comprises the following steps: detecting a current vehicle block in a foreground block of a current frame of an input image sequence; adjusting the size of the current vehicle block according to the relation between the first lane width of the lane where the buffer vehicle block in the first frame or the previous matching frame of each buffer block in the buffer and the second lane width of the lane where the current vehicle block is located in the current frame; matching the current vehicle block after being adjusted in size with the cache vehicle block to determine whether the current vehicle block is the same vehicle; when the current vehicle block and the cache vehicle block are determined to be the same vehicle, calculating the travel distance of the vehicle in a first time, wherein the first time is equal to the difference between the current frame and the first frame or a previous matching frame; the vehicle speed is calculated based on the first time and the travel distance.
Description
Technical Field
The embodiment of the application relates to the technical field of image processing.
Background
Since most traffic accidents are caused by overspeed, the detection of overspeed events is a very important function in traffic monitoring systems.
Current speed detection methods are based on hardware sensors, such as radar velocimeters, laser velocimeters, infrared speed detectors, toroidal coil speed detectors, and the like. These methods are very expensive and not suitable for large-scale traffic monitoring.
In recent years, surveillance cameras are widely used for road surveillance. Monitoring camera-based traffic event detection is a popular area of research, particularly for vehicle speed detection. The current vehicle speed detection methods can be divided into two categories: one is a detection method based on background modeling, and the speed value is detected by tracking a foreground block, which is low in cost but cannot solve the problem of vehicle occlusion; the second method is a feature-based detection method that takes a part of a vehicle as a feature (e.g., a license plate), then tracks a feature region, and detects a speed, which requires a high-quality image and cannot be applied to various environments. Further, both of the above methods rely on the tracking effect, but when the velocity value is very high, the distance and the ratio are greatly changed, and thus the tracking accuracy is lowered.
It should be noted that the above background description is provided for the sake of clarity and complete description of the embodiments of the present application, and is provided for facilitating understanding of the present invention by those skilled in the art. These solutions are not considered to be known to a person skilled in the art merely because they have been set forth in the background section of the embodiments of the present application.
Disclosure of Invention
The inventor finds that the detection method based on background modeling cannot solve the problem of vehicle occlusion; feature-based detection methods require high quality images and cannot be applied to different environments. And both methods rely on the tracking effect, but when the speed value is very high, the distance and the proportion change greatly, so the tracking precision is reduced, and the accuracy of the vehicle speed detection result is influenced.
The embodiment of the application provides a vehicle speed detection method and device, which do not need to depend on a tracking method, are not influenced by frame skipping, can be suitable for detection of high vehicle speed, and have less calculation amount.
According to a first aspect of embodiments of the present application, there is provided a vehicle speed detection apparatus, wherein the apparatus includes:
a detection unit for detecting a current vehicle block in a foreground block of a current frame of an input image sequence;
a first adjusting unit, configured to adjust a size of the current vehicle block according to a relationship between a first lane width of a lane (lane) in which a buffered vehicle block is located in a first frame or a previous matching frame of each buffered block in a buffer and a second lane width of a lane in which the current vehicle block is located in the current frame;
the matching unit is used for matching the current vehicle block adjusted by the first adjusting unit with the cache vehicle block and determining whether the current vehicle block and the cache vehicle block are the same vehicle;
a calculating unit, configured to calculate a travel distance of the vehicle within a first time when it is determined that the current vehicle block and the cached vehicle block are the same vehicle, where the first time is equal to a difference between the current frame and the first frame or a previous matching frame, and calculate the vehicle speed according to the first time and the travel distance.
According to a second aspect of the embodiments of the present application, there is provided a vehicle speed detection method, wherein the method includes:
detecting a current vehicle block in a foreground block of a current frame of an input image sequence;
adjusting the size of the current vehicle block according to the relation between the first lane width of the lane where the buffer vehicle block in the first frame or the previous matching frame of each buffer block in the buffer and the second lane width of the lane where the current vehicle block is located in the current frame;
matching the current vehicle block after being adjusted in size with the cache vehicle block to determine whether the current vehicle block and the cache vehicle block are the same vehicle;
when the current vehicle block and the cache vehicle block are determined to be the same vehicle, calculating the travel distance of the vehicle in a first time, wherein the first time is equal to the difference between the current frame and the first frame or a previous matching frame;
calculating the vehicle speed from the first time and the travel distance.
One of the benefits of the embodiment of the application is that the size of the detected current vehicle block is adjusted according to the lane width, the current vehicle block is matched with the cache block in the cache, and the vehicle speed is determined according to the travel distance and time of the current vehicle block when the matching is successful, so that the method does not need to depend on a tracking method, is not influenced by frame skipping, can be suitable for detecting higher vehicle speed, and has less calculation amount.
Specific embodiments of the present application are disclosed in detail with reference to the following description and drawings, indicating the manner in which the principles of the application may be employed. It should be understood that the embodiments of the present application are not so limited in scope. The embodiments of the present application include many variations, modifications and equivalents within the scope of the spirit and terms of the appended claims.
Features that are described and/or illustrated with respect to one embodiment may be used in the same way or in a similar way in one or more other embodiments, in combination with or instead of the features of the other embodiments.
It should be emphasized that the term "comprises/comprising" when used herein, is taken to specify the presence of stated features, integers, operations or components but does not preclude the presence or addition of one or more other features, integers, operations or components.
Drawings
Many aspects of the embodiments of the application can be better understood with reference to the following drawings. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of embodiments of the application. For purposes of illustrating and describing certain portions of the embodiments of the present application, corresponding portions of the drawings may be enlarged or reduced. Elements and features described in one drawing or one embodiment of the application may be combined with elements and features shown in one or more other drawings or embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views, and may be used to designate corresponding parts for use in more than one embodiment.
In the drawings:
fig. 1 is a schematic view of a vehicle speed detection device according to embodiment 1 of the present application;
fig. 2 is a schematic diagram of one frame of image in the image sequence acquired in embodiment 1 of the present application;
3A-3C are schematic diagrams of the present vehicle block detection in embodiment 1 of the present application;
4A-4C are schematic diagrams of the current vehicle block matching in embodiment 1 of the present application;
fig. 5 is a schematic diagram of the configuration of the matching unit 103 in embodiment 1 of the present application;
FIG. 6 is a diagram showing a hardware configuration of an image processing apparatus in embodiment 2 of the present application;
fig. 7 is a flowchart of a vehicle speed detection method in embodiment 3 of the present application.
Detailed Description
The foregoing and other features of the embodiments of the present application will become apparent from the following description with reference to the accompanying drawings. These embodiments are merely exemplary and are not intended to limit the present application. Embodiments of the present application will be described below with reference to the drawings.
In the embodiments of the present application, the terms "first", "second", and the like are used for distinguishing different elements by reference, but do not denote a spatial arrangement, a temporal order, or the like of the elements, and the elements should not be limited by the terms. The term "and/or" includes any and all combinations of one or more of the associated listed terms. The terms "comprising," "including," "having," and the like, refer to the presence of stated features, elements, components, or groups, but do not preclude the presence or addition of one or more other features, elements, components, or groups thereof.
Embodiments of the first aspect
Embodiments of a first aspect of the present application provide a vehicle speed detection apparatus; fig. 1 is a schematic view of the configuration of the vehicle speed detection device, and as shown in fig. 1, the vehicle speed detection device 100 includes:
a detection unit 101 for detecting a current vehicle block in a foreground block of a current frame of an input image sequence;
a first adjusting unit 102, configured to adjust a size of a current vehicle block according to a relationship between a first lane width of a lane in which a cached vehicle block in a first frame or a previous matching frame of each cached vehicle block in a cache and a second lane width of the lane in which the current vehicle block is located in the current frame;
a matching unit 103, configured to match the current vehicle block adjusted by the first adjusting unit 102 with the cached vehicle block, and determine whether the current vehicle block is the same vehicle;
a calculating unit 104, configured to, when it is determined that the current vehicle block and the cached vehicle block are the same vehicle, calculate a travel distance of the vehicle within a first time, where the first time is equal to a difference between the current frame and the first frame or a previous matching frame, and calculate the vehicle speed according to the first time and the travel distance.
Therefore, the size of the detected current vehicle block is adjusted according to the lane width, the current vehicle block is matched with the cache block in the cache, and the vehicle speed is determined according to the traveling distance and time of the current vehicle block when the matching is successful.
In the embodiment of the present application, since the vehicle speed in the real world needs to be obtained according to the processing result of the acquired image sequence, before actual detection, a conversion matrix of an image coordinate system and a world coordinate system needs to be acquired in advance, fig. 2 is a schematic diagram of a frame of image in the acquired image sequence, as shown in fig. 2, 4 reference points a, a ', B' in an image can be determined to establish a mapping relationship between a, a ', B' in the image and a, a ', B' in the real world, for example, the distances AA ', BB', AB, a 'B' in the following two reference points in the image and AA ', BB', AB, a 'B' in the real world are measured and substituted into the following formula (1) to obtain a conversion matrix H, where (X, Y) represents coordinates in the world coordinate system, and (X, Y) represents coordinates in the input image coordinate system, and further, real world coordinates corresponding to any point in the input image can be calculated according to the following formula (2).
In this embodiment of the present application, the detecting unit 101 may obtain an input image sequence from a camera of a traffic monitoring system, and detect a foreground block from a current Frame of the input image sequence, where the foreground block may refer to the prior art, such as a Frame differencing method (Frame differentiating), a Gaussian Mixture Model (Mixture of Gaussian Model), a single Gaussian Model (single Gaussian Model), a Vibe algorithm, a color background Model, and the like.
In the embodiment of the present application, after a bounding box of one or more foreground blocks is obtained, a current vehicle block may be extracted using an algorithm such as machine learning, for example, a vehicle classifier is obtained in advance by using histogram of oriented gradients HOG (HOG) features and cascade classifier training, the one or more foreground blocks are input into the vehicle classifier, and the output result is the current vehicle block, where the current frame may include the one or more current vehicle blocks. Thus, by detecting the foreground block to detect the vehicle block, the processing time can be reduced.
In the embodiment of the present application, the appropriate size of the vehicle block may be estimated according to the lane width in the current frame, and therefore, the lane widths of different positions in the current frame may be predetermined, that is, the apparatus 100 further includes:
and a lane width calculation unit (optionally, not shown) for calculating a lane width of a lane in which the vehicle travels corresponding to each position in the input image coordinate system, based on the conversion matrix of the world coordinate system and the input image coordinate system. For example, it can be known in advance that the lane width in the real world is usually 3.75m, as shown in fig. 2, a dotted line l is drawn in the input image, the ordinate y of each position on l is traversed, a target image point in the input image and the current position in the real world, which is 3.75m away, is found by using the transformation matrix H, the distance between the current position and the target image point in the input image coordinate system (i.e., the lane width) is calculated, and then the lane width in the input image coordinate system corresponding to the ordinate y of different positions in the input image is obtained.
In one or more embodiments, in order to make the size of the detected current vehicle block within a predetermined range, the apparatus 100 may further include: a second adjusting unit (optional, not shown) for adjusting the size of the foreground block according to the lane width in the current frame; and, the detection unit 101 detects a current vehicle block from the adjusted foreground block size. For example, for one or more foreground blocks detected, a reference point for the foreground block is determined, y being based on the reference point c Coordinate, the lane width w [ y ] corresponding to the foreground block can be determined c ]For example, the width of the vehicle block may be set to w [ y ] c ]X 2/3 (2/3 is merely an example, and the embodiment of the present application is not limited thereto), and the adjustment factor scale of the foreground block is determined according to the following formula (3):
wherein C _ width represents a reference vehicle width of the vehicle classifier (which may be preset as required), the second adjusting unit may readjust the size of each foreground block according to the ratio of the adjustment factor scale (the original foreground block size is multiplied by the adjustment factor for adjustment), fig. 3A-3C are schematic diagrams of current vehicle block detection, as shown in fig. 3A-3B, a rectangular frame is a foreground block obtained by initial detection, and after the second adjusting unit readjusts the size of each rectangular frame according to the ratio of the adjustment factor, the detecting unit 101 inputs the rectangular frame into the vehicle classifier, so as to obtain a vehicle block detection result as shown in fig. 3C.
In this embodiment of the present application, a template block that is a matching object may be preset for matching with a detected current vehicle block, for example, a buffer may be set, one or more buffer blocks are stored in the buffer, and the buffer block is used as the template block, where the buffer stores related information of each buffer block, including first information of buffered vehicle blocks in the first frame and the first frame of each buffer block and second information of buffered vehicle blocks in the previous matching frame and the previous matching frame of each buffer block, where the first information includes: the frame number of the first frame in the input image sequence, the position of the buffer vehicle block in the first frame and the first frame image; the second information includes: the frame number of the previous matching frame in the input image sequence, the position of the buffered vehicle block in the previous matching frame and the previous matching frame image; optionally, the related information further includes: and matching times. The first frame of the cache block may be determined according to an actual situation, and the previous matching frame of the cache block is determined according to a subsequent matching result, that is, a vehicle block successfully matched last time is stored in the cache as a cached vehicle block in the previous matching frame, and is used for matching of the subsequent vehicle block, which will be described later specifically.
Table 1 below is a schematic table of related information of a cache block, as shown in table 1:
4A-4C are schematic diagrams of a block matching process, as shown in FIGS. 4A-4C, in this embodiment of the present application, since a vehicle is moving, a position of the vehicle in an input image sequence is changing continuously, which results in different sizes of vehicle blocks in different frame images from far to near, in order to perform vehicle block matching more accurately, the first adjusting unit 102 adjusts the size of the current vehicle block according to a relationship between a first lane width of a lane where the buffered vehicle block in a first frame or a previous matching frame of each buffered block in a buffer and a second lane width of the lane where the current vehicle block is located in the current frame; for example, as shown in FIGS. 4A-4B-4C, the ordinate position of the vehicle mass is represented by y 1 Becomes y 2 Becomes y 3 The corresponding lane width position is represented by w [ y ] 1 ]Become w [ y 2 ]Become w [ y 3 ]Thus, the adjustment factor for the vehicle mass is equal to w [ y ] 1 ]/w[y 3 ]Or w [ y 2 ]/w[y 3 ]Assuming that the size of the current vehicle block is W × H, if its matching object is the first frame as shown in fig. 4A, its adjusted current vehicle block size is (W × W [ y ] y 1 ]/w[y 3 ])×(H×w[y 1 ]/w[y 3 ]) If the matching object is the previous matching frame as shown in FIG. 4B, the adjusted current vehicle block size is (W x W y) 2 ]/w[y 3 ])×(H×w[y 2 ]/w[y 3 ]) Wherein y is 3 Corresponding to the ordinate position, y, of the current vehicle block 1 Corresponding to the ordinate position, y, of the block of cached vehicles in the first frame 2 Corresponding to the ordinate position of the cached vehicle block in the previous matching frame.
In the embodiment of the present application, in order to avoid a deviation caused by position detection of the vehicle classifier, the size of the current vehicle block may be appropriately enlarged, as shown in fig. 4C, the inner solid line rectangle is the size of the detected current vehicle block, and the outer dotted line rectangle is the size of the expanded current vehicle block, where the expanded adjustment factor may be determined as needed, for example, the expanded range may be about 0.2 times of the original area, which is not limited in the embodiment of the present application.
In this embodiment of the application, the matching unit 103 may match the resized current vehicle block with the cached vehicle block to determine whether the current vehicle block is the same vehicle; the specific matching algorithm may refer to the prior art, for example, using a template matching algorithm, sliding the cached vehicle block in the resized current vehicle block region, comparing the overlapped region (converting into a grayscale image and then comparing), and saving the comparison result, and specifically may use the following formula (5) to calculate the matching degree between the current vehicle block and the cached vehicle block:
where I denotes the current vehicle block, T denotes the buffer vehicle block, R denotes the matching degree, w denotes the width of the current vehicle block, and h denotes the height of the current vehicle block, in order to avoid errors due to illumination variations, formula (4) may be used to normalize I and T before calculating the matching degree. The R values are in the range of-1 to 1, where 1 means identical, -1 means completely different, and 0 means that there is no linear relationship between the two.
The following describes the matching process of the matching unit 103 with reference to fig. 5, fig. 5 is a schematic diagram of the configuration of an embodiment of the matching unit 103, and as shown in fig. 5, the matching unit 103 includes:
the first calculating module 501 is configured to match the resized current vehicle block with the cache vehicle block in the first frame of each cache block, and calculate a first matching degree of each cache block;
a first determining module 502, configured to determine that the current vehicle block and a cached vehicle block in a first frame of a cached block are the same vehicle when the first matching degree of the cached block is greater than or equal to a first threshold;
a second calculating module 503, configured to, when the first matching degree of each cache block is smaller than a first threshold, match the resized current vehicle block with a cached vehicle block in a previous matching frame of each cache block, and calculate a second matching degree;
a second determining module 504, configured to determine that the current vehicle block is the same vehicle as the cached vehicle block in the previous matching frame of the one cached block when the second matching degree of the one cached block is greater than or equal to the first threshold.
In this embodiment of the present application, the first calculating module 501 calculates a first matching degree of the resized current vehicle block and the first frame cache vehicle block in table 1 of each cache block by using the above formulas (4) - (5), and when the first matching degree of one cache block is greater than or equal to a first threshold, it indicates that the first frame cache vehicle block in the cache block corresponding to the first matching degree is successfully matched with the current vehicle block, that is, the first determining module 502 determines that the current vehicle block and the cache vehicle block in the first frame of the cache block are the same vehicle; when the first matching degree of each buffer block is smaller than the first threshold, it indicates that the current vehicle block does not match the first frame buffer vehicle block of each buffer block, the second calculating module 503 calculates the second matching degree of the resized current vehicle block and the buffer vehicle block in the previous matching frame of each buffer block using the above formulas (4) - (5), and when the second matching degree of one buffer block is greater than or equal to the first threshold, it indicates that the buffer vehicle block in the previous matching frame corresponding to the second matching degree matches the current vehicle block successfully, that is, the second determining module 504 determines that the current vehicle block and the buffer vehicle block in the previous matching frame of the one buffer block are the same vehicle. The first threshold may be determined as needed, for example, set to 0.7, but the embodiment of the present application is not limited thereto. It should be noted that the resized current vehicle block used by the first calculation module 501 is adjusted according to the relationship between the first lane width of the lane where the first frame buffer vehicle block is located and the second lane width, and the resized current vehicle block used by the second calculation module 503 is adjusted according to the relationship between the first lane width of the lane where the previous matching frame buffer vehicle block is located and the second lane width.
In this embodiment of the application, as shown in fig. 5, when the second matching degree of a cache block is greater than or equal to a first threshold, the matching unit 103 further includes:
an updating module 505 (optional) that replaces the current frame with a previous matching frame stored in the one buffer block in the buffer, and replaces the current vehicle block (the current vehicle block without resizing, i.e. the original current vehicle block) with a buffered vehicle block in the previous matching frame stored in the one buffer block in the buffer; namely, the updating module 505 updates columns 4-6 in table 1, that is, the frame number of the previous matching frame in the input image sequence is replaced by the sequence number of the current frame, the position of the buffered vehicle block in the previous matching frame is replaced by the position of the current vehicle block in the current frame, and the image of the previous matching frame is replaced by the image of the current frame.
And when the second matching degree of each buffer block is smaller than the first threshold, it indicates that the current vehicle block is a new vehicle, and the updating module 505 stores the current frame and the current vehicle block into the buffer as a first frame and a first frame buffer vehicle block of a new buffer block. That is, a new buffer block is created, and the updating module 505 updates columns 1 to 3 in table 1 (columns 4 to 6 are empty), that is, the frame number of the first frame in the input image sequence is set as the sequence number of the current frame, the position of the buffer vehicle block in the first frame is set as the position of the current vehicle block in the current frame, and the first frame image is set as the current frame image.
In the embodiment of the present application, when the first determination module 502 or the second determination module 504 determines that the vehicle is the same vehicle, indicating that the matching is successful, the matching unit 103 adds 1 to the number of matching times in table 1.
As shown in fig. 4A, the vehicle block is a new vehicle block detected for the first time, and is stored in the buffer as a first frame buffer vehicle block of the new buffer block, as shown in fig. 4B, the vehicle block is a vehicle block successfully matched for the previous time, and is stored in the buffer as a previous matching frame buffer vehicle block of the buffer block, as shown in fig. 4C, the vehicle block is a current vehicle block, the size of the current vehicle block is adjusted according to the lane width of the buffer vehicle block in fig. 4A, and then the current vehicle block is matched with the buffer vehicle block, if the matching is not successful, the size of the current vehicle block is re-adjusted according to the lane width of the buffer vehicle block in fig. 4B, and then the current vehicle block is matched with the buffer vehicle block, if the matching is not successful, the current vehicle block is stored in the buffer as a new buffer block, and if the matching is successful, the current vehicle block and the current vehicle block replace the previous matching buffer frame and the previous matching frame in the buffer, and the number of times is increased by 1.
In one or more embodiments, to save storage space, the apparatus further comprises:
a deleting unit (optionally, not shown) configured to delete a buffer block from the buffer when a difference between the current frame and a first frame of the buffer block exceeds a second threshold. For example, the second threshold is set to 2s, but the embodiment of the present application is not limited thereto.
In the embodiment of the present application, the calculating unit 104 calculates, according to the transformation matrix of the world coordinate system and the coordinate system of the input image, a first position of the vehicle in the world coordinate system corresponding to the current vehicle block position in the current frame, and a second position of the vehicle in the world coordinate system corresponding to the cached vehicle block position in the first frame or the previous matching frame (the first frame or the previous matching frame is a frame that is successfully matched); the distance between the first position and the second position is taken as the travel distance. Wherein, one reference pixel point in the current vehicle block can be selected as the position of the current vehicle block, as shown in fig. 4C, position (3) is the position of the current vehicle block, and p is selected 2 As a reference pixel point, the position (1) is the position of the first frame buffer vehicle block (the buffer vehicle block successfully matched), and p is selected 1 As a reference pixel point, p is calculated according to the formula (2) 2 Position P in the corresponding world coordinate system 2 And p is 1 Position P in the corresponding world coordinate system 1 Calculating P 1 And P 2 Distance | P between 1 -P 2 Additionally, a first time is calculated, the first time being equal to the current frame and the current frameThe difference of the first frame or the previous matching frame (the first frame or the previous matching frame is the frame with successful matching) divides the travel distance by the first time to obtain the vehicle speed.
In this embodiment, optionally, when the number of matching times of one buffer block in the buffer is greater than or equal to a fourth threshold and the tracked duration (the current frame minus the first frame) is greater than or equal to a fifth threshold, the calculating unit 104 calculates the speed of the vehicle so as to improve the accuracy, where the fourth threshold and the fifth threshold may be determined as needed, for example, the fourth threshold is 0.5 times the frame rate, and the fifth threshold is 0.6 times the frame rate, but this embodiment of the present application is not limited thereto.
In the embodiment of the application, the vehicle is determined to overspeed when the calculated vehicle speed is greater than or equal to the third threshold value according to comparison between the calculated vehicle speed and the third threshold value, and the overspeed result can be notified to the server.
The above embodiments are merely illustrative of the embodiments of the present application, but the present application is not limited thereto, and appropriate modifications may be made on the basis of the above embodiments. For example, the above-described embodiments may be used alone, or one or more of the above-described embodiments may be combined.
Through the device of the embodiment of the application, the size of the detected current vehicle block is adjusted according to the lane width, the current vehicle block is matched with the cache block in the cache, and the vehicle speed is determined according to the travel distance and time of the current vehicle block when the matching is successful, so that the device is not dependent on a tracking method, is not influenced by frame skipping, can be suitable for detecting high vehicle speed, and has less calculation amount.
Embodiments of the second aspect
Embodiments of the second aspect of the present application also provide an image processing device, which may be, for example, a computer, a server, a workstation, a laptop, a smartphone, or the like; the embodiments of the present application are not limited thereto.
Fig. 6 is a schematic diagram of a hardware configuration of an image processing apparatus 600 according to an embodiment of the present application, and as shown in fig. 6, the image processing apparatus 600 may include: an interface (not shown), a Central Processing Unit (CPU) 620, a memory 610; the memory 610 is coupled to the central processor 620. Wherein the memory 610 may store various data; further, a program 603 for vehicle speed detection is stored, and the program 603 is executed under the control of the central processor 620, and various preset values and predetermined conditions and the like are stored.
In the embodiment of the present application, the functions of the vehicle speed detection apparatus 100 may be integrated into the central processor 620. Wherein the central processor 620 may be configured to: detecting a current vehicle block in a foreground block of a current frame of an input image sequence; adjusting the size of the current vehicle block according to the relation between the first lane width of the lane where the buffer vehicle block in the first frame or the previous matching frame of each buffer block in the buffer and the second lane width of the lane where the current vehicle block is located in the current frame; matching the current vehicle block after being adjusted in size with the cache vehicle block to determine whether the current vehicle block and the cache vehicle block are the same vehicle; when the current vehicle block and the cached vehicle block are determined to be the same vehicle, calculating the travel distance of the vehicle in a first time, wherein the first time is equal to the difference between the current frame and the first frame or a previous matched frame; the vehicle speed is calculated based on the first time and the travel distance.
In this embodiment, the central processor 620 may be further configured to: adjusting the size of the foreground block according to the lane width in the current frame; and detecting the current vehicle block according to the adjusted foreground block size.
In this embodiment, the central processor 620 may be further configured to: matching the current vehicle block after being adjusted in size with the cache vehicle blocks in the first frame of each cache block, and calculating to obtain a first matching degree of each cache block; when the first matching degree of one cache block is larger than or equal to a first threshold value, determining that the current vehicle block and a cache vehicle block in a first frame of the cache block are the same vehicle; when the first matching degree of each cache block is smaller than a first threshold value, matching the current vehicle block after being adjusted in size with a cache vehicle block in a previous matching frame of each cache block, and calculating to obtain a second matching degree; when the second matching degree of the one cache block is larger than or equal to a first threshold value, determining that the current vehicle block and a cache vehicle block in a previous matching frame of the one cache block are the same vehicle.
In this embodiment, the central processor 620 may be further configured to: when the second matching degree of one cache block is larger than or equal to a first threshold value, replacing a previous matching frame stored by the cache block in the cache with the current frame, and replacing a cached vehicle block in the previous matching frame stored by the cache block in the cache with the current vehicle block; and when the second matching degree of each cache block is smaller than a first threshold value, the current frame and the current vehicle block are stored into the cache as a first frame and a cache vehicle block of a new cache block.
In this embodiment, the central processor 620 may be further configured to: when the difference between the current frame and the first frame of a buffer block in the buffer exceeds a second threshold, the buffer block is deleted from the buffer.
In this embodiment, the central processor 620 may be further configured to: according to a conversion matrix of a world coordinate system and an input image coordinate system, calculating a first position of the vehicle in the world coordinate system corresponding to the current vehicle block position in the current frame and a second position of the vehicle in the world coordinate system corresponding to the cached vehicle block position in the first frame or a previous matching frame; the distance between the first position and the second position is taken as the travel distance.
In this embodiment, the central processor 620 may be further configured to: and calculating the lane width of a lane where the vehicle corresponding to each position in the input image coordinate system travels according to the conversion matrix of the world coordinate system and the input image coordinate system.
The embodiment of the cpu 620 can refer to embodiment 1, and will not be repeated here.
In another embodiment, the vehicle speed detecting device may be disposed on a chip (not shown) connected to the central processing unit 620, and the function of the vehicle speed detecting device may be realized by the control of the central processing unit 620.
It is noted that the image processing apparatus 600 may also comprise a display 605 and an I/O device 604, or may not necessarily comprise all components shown in fig. 6, e.g. may further comprise a camera (not shown) for acquiring a sequence of input images; furthermore, the image processing apparatus 600 may also include components not shown in fig. 6, which may be referred to in the prior art.
Through the device of the embodiment of the application, the size of the detected current vehicle block is adjusted according to the lane width, the current vehicle block is matched with the cache block in the cache, and the vehicle speed is determined according to the travel distance and time of the current vehicle block when the matching is successful, so that the device does not need to depend on a tracking method, is not influenced by frame skipping, can be suitable for detecting higher vehicle speed, and has less calculation amount.
Examples of the third aspect
Embodiments of the third aspect of the present application provide a vehicle speed detection method, and since the principle of solving the problem of the method is similar to that of the apparatus of the first aspect, specific implementation thereof may refer to implementation of the apparatus of the first aspect, and description thereof is not repeated where the same matters.
Fig. 7 is a flowchart of an embodiment of a vehicle speed detection method according to an embodiment of the present application, and referring to fig. 7, the method includes:
operation 701, detecting a current vehicle block in a foreground block of a current frame of an input image sequence;
in operation 704, upon determining that the current vehicle block and the cached vehicle block are the same vehicle, a distance traveled by the vehicle within a first time equal to a difference between the current frame and the first frame or a previous matching frame is calculated.
In this embodiment, reference may be made to the determining unit 101, the first adjusting unit 102, the matching unit 103, and the calculating unit 104 in the embodiment 1 for specific embodiments of operations 701 to 704, which are incorporated herein by reference, and repeated descriptions thereof are omitted.
In an embodiment of the present application, the method may further include: (optionally, not shown) adjusting the size of the foreground block according to the lane width in the current frame; and, in operation 701, a current vehicle block is detected according to the adjusted foreground block size.
In this embodiment of the present application, in operation 703, a current vehicle block is matched with a cached vehicle block in a first frame of each cache block, a first matching degree of each cache block is obtained through calculation, and when the first matching degree of one cache block is greater than or equal to a first threshold, it is determined that the current vehicle block and a cached vehicle block in the first frame of the cache block are the same vehicle; when the first matching degree of each cache block is smaller than a first threshold value, matching the current vehicle block after being adjusted in size with a cache vehicle block in a previous matching frame of each cache block, calculating to obtain a second matching degree, and when the second matching degree of the cache block is larger than or equal to the first threshold value, determining that the current vehicle block and the cache vehicle block in the previous matching frame of the cache block are the same vehicle. For example, when the second matching degree of one cache block is greater than or equal to a first threshold, the current frame may replace a previous matching frame stored in the one cache block in the cache, and the current vehicle block may replace a cached vehicle block in the previous matching frame stored in the one cache block in the cache; and when the second matching degree of each cache block is smaller than the first threshold, the current frame and the current vehicle block may be stored into the cache as a first frame and a cache vehicle block of a new cache block.
In this embodiment of the present application, the buffer stores therein relevant information of each buffer block, including first information of a buffered vehicle block in the first frame and the first frame of each buffer block and second information of a buffered vehicle block in the previous matching frame and the previous matching frame of each buffer block, where the first information includes: the frame number of the first frame in the input image sequence, the position of the buffer vehicle block in the first frame and the first frame image; the second information includes: the frame number of the previous matching frame in the input image sequence, the position of the buffered vehicle block in the previous matching frame and the previous matching frame image; the related information further comprises: and matching times, wherein when the matching is successful, the matching times are added by 1.
In an embodiment of the present application, the method may further include: (optionally, not shown) when the difference between the current frame and the first frame of a buffer block in the buffer exceeds a second threshold, the buffer block is deleted from the buffer.
In an embodiment of the present application, the method may further include: (optionally, not shown) calculating a first position of the vehicle in the world coordinate system corresponding to the current vehicle block position in the current frame and a second position of the vehicle in the world coordinate system corresponding to the buffered vehicle block position in the first frame or a previous matching frame according to the conversion matrix of the world coordinate system and the input image coordinate system; the distance between the first position and the second position is taken as the travel distance.
In an embodiment of the present application, the method may further include: (optionally, not shown) the lane width of the lane where the vehicle travels corresponding to each position in the input image coordinate system is calculated from the conversion matrix of the world coordinate system and the input image coordinate system.
It should be noted that fig. 7 above is only a schematic illustration of the embodiment of the present application, but the present application is not limited thereto. For example, the order of execution of various operations may be appropriately adjusted, and other operations may be added or some of the operations may be subtracted. Those skilled in the art can appropriately modify the above description without being limited to the description of fig. 7.
According to the method, the size of the detected current vehicle block is adjusted according to the lane width, the current vehicle block is matched with the cache block in the cache, and the vehicle speed is determined according to the travel distance and time of the current vehicle block when the matching is successful.
Embodiments of the present application also provide a computer-readable program, wherein when the program is executed in a vehicle speed detection apparatus, the program causes a computer to execute the vehicle speed detection method in the embodiment of the third aspect as above in the vehicle speed detection apparatus.
Embodiments of the present application also provide a storage medium storing a computer-readable program, where the computer-readable program causes a computer to execute the vehicle speed detection method in the embodiment of the third aspect above in a vehicle speed detection device.
The method for vehicle speed detection in a vehicle speed detection apparatus described in connection with the embodiments of the present application may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. For example, one or more of the functional block diagrams and/or one or more combinations of the functional block diagrams illustrated in the figures may correspond to individual software modules, or may correspond to individual hardware modules of a computer program flow. These software modules may correspond to respective operations shown in the figures. These hardware modules may be implemented, for example, by solidifying these software modules using a Field Programmable Gate Array (FPGA).
A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. A storage medium may be coupled to the processor such that the processor can read information from, and write information to, the storage medium; or the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The software module may be stored in the memory of the vehicle speed detection device, or may be stored in a memory card that is insertable into the vehicle speed detection device.
One or more of the functional block diagrams and/or one or more combinations of the functional block diagrams described in the figures can be implemented as a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any suitable combination thereof designed to perform the functions described in the embodiments of the present application. A combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP communication, or any other such configuration, may also be implemented with respect to one or more of the functional block diagrams and/or one or more combinations of functional block diagrams depicted in the figures.
The embodiments of the present application have been described in conjunction with specific embodiments, but it should be clear to those skilled in the art that these descriptions are intended to be illustrative and not to limit the scope of the present application. Various modifications and adaptations of the present application may occur to those skilled in the art based on the spirit and principles of the application and are within the scope of the application.
With regard to the above embodiments, the following remarks are also disclosed.
Supplementary note 1, a vehicle speed detecting apparatus, characterized in that the apparatus comprises:
a detection unit for detecting a current vehicle block in a foreground block of a current frame of an input image sequence;
a first adjusting unit, configured to adjust a size of a current vehicle block according to a relationship between a first lane width of a lane in which a cached vehicle block in a first frame or a previous matching frame of each cached block in a cache and a second lane width of the lane in which the current vehicle block is located in the current frame;
the matching unit is used for matching the current vehicle block adjusted by the first adjusting unit with the cache vehicle block and determining whether the current vehicle block and the cache vehicle block are the same vehicle;
a calculating unit, configured to, when it is determined that a current vehicle block and a cached vehicle block are the same vehicle, calculate a travel distance of the vehicle within a first time, where the first time is equal to a difference between the current frame and the first frame or a previous matching frame, and calculate the vehicle speed according to the first time and the travel distance.
2. The apparatus according to supplementary note 1, wherein the apparatus further comprises:
a second adjusting unit, configured to adjust the size of the foreground block according to a lane width in the current frame;
and the detection unit detects the current vehicle block according to the adjusted foreground block size.
3. The apparatus according to supplementary note 1, wherein the matching unit includes:
the first calculation module is used for matching the current vehicle block after being adjusted in size with the cache vehicle blocks in the first frame of each cache block, and calculating to obtain a first matching degree of each cache block;
a first determining module, configured to determine that the current vehicle block and a cached vehicle block in a first frame of a cached block are the same vehicle when the first matching degree of one cached block is greater than or equal to a first threshold;
the second calculation module is used for matching the current vehicle block after being adjusted in size with the cache vehicle block in the previous matching frame of each cache block when the first matching degree of each cache block is smaller than a first threshold value, and calculating to obtain a second matching degree;
a second determining module, configured to determine that the current vehicle block and a cached vehicle block in a previous matching frame of the one cached block are the same vehicle when the second matching degree of the one cached block is greater than or equal to a first threshold.
4. The apparatus according to supplementary note 3, wherein when the second matching degree of one cache block is greater than or equal to a first threshold, the matching unit further includes:
an updating module, configured to replace the current frame with a previous matching frame stored in the one cache block in the cache, and replace the current vehicle block with a cached vehicle block in the previous matching frame stored in the one cache block in the cache;
and when the second matching degree of each cache block is smaller than a first threshold, the updating module stores the current frame and the current vehicle block into the cache as a first frame and a cache vehicle block of a new cache block.
5. The apparatus according to supplementary note 1, wherein the buffer stores therein relevant information of each buffer block, including first information of a buffered vehicle block in the first frame and first frame of each buffer block and second information of a buffered vehicle block in the previous matching frame and previous matching frame of each buffer block, wherein the first information includes: a frame number of the first frame in a sequence of input images, a location of the cached vehicle block in the first frame, and the first frame image; the second information includes: a frame number of the previous matching frame in the sequence of input images, a position of the buffered vehicle block in the previous matching frame, and the previous matching frame image;
the related information further comprises: and matching times, wherein when the matching is successful, the matching unit adds 1 to the matching times.
6. The apparatus according to supplementary note 5, wherein the apparatus further comprises:
a deleting unit configured to delete a buffer block from the buffer when a difference between a current frame and a first frame of the buffer block exceeds a second threshold.
7. The apparatus according to supplementary note 1, wherein the calculation unit calculates a first position of the vehicle in a world coordinate system corresponding to a current vehicle block position in a current frame and a second position of the vehicle in the world coordinate system corresponding to a cached vehicle block position in the first frame or a previous matching frame, based on a conversion matrix of the world coordinate system and an input image coordinate system; taking the distance of the first position and the second position as the travel distance.
8. The apparatus according to supplementary note 1, wherein the apparatus further comprises:
and a lane width calculation unit for calculating a lane width of a lane in which the vehicle travels corresponding to each position in the input image coordinate system, based on the conversion matrix of the world coordinate system and the input image coordinate system.
9. A vehicle speed detection method, characterized by comprising:
detecting a current vehicle block in a foreground block of a current frame of an input image sequence;
adjusting the size of the current vehicle block according to the relation between the first lane width of the lane where the cache vehicle block is located in the first frame or the previous matching frame of each cache block in the cache and the second lane width of the lane where the current vehicle block is located in the current frame;
matching the current vehicle block after being adjusted in size with the cache vehicle block to determine whether the current vehicle block and the cache vehicle block are the same vehicle;
when the current vehicle block and the cache vehicle block are determined to be the same vehicle, calculating the travel distance of the vehicle in a first time, wherein the first time is equal to the difference between the current frame and the first frame or a previous matching frame;
calculating the vehicle speed from the first time and the travel distance.
10. The method according to supplementary note 9, wherein matching the current vehicle block with the cached vehicle block includes:
matching a current vehicle block with a cache vehicle block in a first frame of each cache block, calculating to obtain a first matching degree of each cache block, and when the first matching degree of one cache block is greater than or equal to a first threshold value, determining that the current vehicle block and the cache vehicle block in the first frame of the cache block are the same vehicle;
when the first matching degree of each cache block is smaller than a first threshold value, matching the current vehicle block after size adjustment with a cache vehicle block in a previous matching frame of each cache block, calculating to obtain a second matching degree, and when the second matching degree of one cache block is larger than or equal to the first threshold value, determining that the current vehicle block and the cache vehicle block in the previous matching frame of the cache block are the same vehicle.
11. The method according to supplementary note 9, wherein the method further comprises:
adjusting the size of the foreground block according to the lane width in the current frame;
and detecting the current vehicle block according to the adjusted foreground block size.
12. According to the method described in supplementary note 10, when the second matching degree of one cache block is greater than or equal to a first threshold, replacing a previous matching frame stored in the one cache block in the cache with the current frame, and replacing a cached vehicle block in the previous matching frame stored in the one cache block in the cache with the current vehicle block;
and when the second matching degree of each cache block is smaller than a first threshold value, storing the current frame and the current vehicle block into the cache as a first frame and a cache vehicle block of a new cache block.
13. The method according to supplementary note 9, wherein the buffer stores therein relevant information of each buffer block, including first information of a buffered vehicle block in the first frame and first frame of each buffer block and second information of a buffered vehicle block in the previous matching frame and previous matching frame of each buffer block, wherein the first information includes: a frame number of the first frame in a sequence of input images, a location of the cached vehicle block in the first frame, and the first frame image; the second information includes: a frame number of the previous matching frame in the sequence of input images, a position of the buffered vehicle block in the previous matching frame, and the previous matching frame image;
the related information further comprises: and matching times, wherein when the matching is successful, the matching times are added by 1.
14. The method according to supplementary note 13, wherein the method further comprises:
and when the difference between the current frame and the first frame of one cache block in the cache exceeds a second threshold value, deleting the cache block from the cache.
15. The method according to supplementary note 9, wherein calculating the travel distance of the vehicle within the first time includes: according to a conversion matrix of a world coordinate system and an input image coordinate system, calculating a first position of the vehicle in the world coordinate system corresponding to the current vehicle block position in the current frame and a second position of the vehicle in the world coordinate system corresponding to the cached vehicle block position in the first frame or a previous matching frame; taking the distance of the first position and the second position as the travel distance.
16. The method according to supplementary note 9, wherein the method further comprises:
and calculating the lane width of a lane where the vehicle corresponding to each position in the input image coordinate system travels according to the conversion matrix of the world coordinate system and the input image coordinate system.
Claims (8)
1. A vehicle speed detection apparatus, characterized by comprising:
a detection unit for detecting a current vehicle block in a foreground block of a current frame of an input image sequence;
a first adjusting unit, configured to adjust a size of a current vehicle block according to a relationship between a first lane width of a lane in which a buffered vehicle block in a first frame or a previous matching frame of each buffered block in a buffer is located and a second lane width of the lane in which the current vehicle block is located in the current frame;
the matching unit is used for matching the current vehicle block adjusted by the first adjusting unit with the cache vehicle block and determining whether the current vehicle block and the cache vehicle block are the same vehicle;
a calculation unit for calculating a travel distance of the vehicle within a first time, the first time being equal to a difference between the current frame and the first frame or a previous matching frame, and calculating the vehicle speed from the first time and the travel distance, when it is determined that the current vehicle block and the cached vehicle block are the same vehicle,
wherein the matching unit includes:
the first calculation module is used for matching the current vehicle block after the size adjustment with the cache vehicle blocks in the first frame of each cache block, and calculating to obtain a first matching degree of each cache block;
a first determining module, configured to determine that the current vehicle block is the same vehicle as a cached vehicle block in a first frame of a cache block when the first matching degree of a cache block is greater than or equal to a first threshold;
the second calculation module is used for matching the current vehicle block after being adjusted in size with the cache vehicle block in the previous matching frame of each cache block when the first matching degree of each cache block is smaller than a first threshold value, and calculating to obtain a second matching degree;
a second determining module, configured to determine that the current vehicle block and a cached vehicle block in a previous matching frame of the one cached block are the same vehicle when the second matching degree of the one cached block is greater than or equal to a first threshold.
2. The apparatus of claim 1, wherein the apparatus further comprises:
a second adjusting unit, configured to adjust the size of the foreground block according to a lane width in the current frame;
and the detection unit detects the current vehicle block according to the adjusted foreground block size.
3. The apparatus of claim 1, when the second matching degree of a cache block is greater than or equal to a first threshold, the matching unit further comprising:
an updating module, configured to replace the current frame with a previous matching frame stored in the one cache block in the cache, and replace the current vehicle block with a cached vehicle block in the previous matching frame stored in the one cache block in the cache;
and when the second matching degree of each cache block is smaller than a first threshold, the updating module stores the current frame and the current vehicle block into the cache as a first frame and a cache vehicle block of a new cache block.
4. The apparatus of claim 1, wherein the buffer stores therein information about each buffer block, including first information about buffered vehicle blocks in the first frame and first frame of each buffer block and second information about buffered vehicle blocks in the previous matching frame and previous matching frame of each buffer block, wherein the first information includes: a frame number of the first frame in a sequence of input images, a location of the cached vehicle block in the first frame, and the first frame image; the second information includes: a frame number of the previous matching frame in the sequence of input images, a position of the buffered vehicle block in the previous matching frame, and the previous matching frame image;
the related information further comprises: and matching times, wherein when the matching is successful, the matching unit adds 1 to the matching times.
5. The apparatus of claim 4, wherein the apparatus further comprises:
a deleting unit configured to delete a buffer block from the buffer when a difference between a current frame and a first frame of the buffer block exceeds a second threshold.
6. The apparatus according to claim 1, wherein the calculation unit calculates a first position of the vehicle in a world coordinate system corresponding to a current vehicle block position in a current frame and a second position of the vehicle in the world coordinate system corresponding to a cached vehicle block position in a first frame or a previous matching frame, based on a conversion matrix of the world coordinate system and an input image coordinate system; taking the distance of the first position and the second position as the travel distance.
7. The apparatus of claim 1, wherein the apparatus further comprises:
and a lane width calculation unit for calculating a lane width of a lane in which the vehicle travels corresponding to each position in the input image coordinate system, based on the conversion matrix of the world coordinate system and the input image coordinate system.
8. A vehicle speed detection method, characterized by comprising:
detecting a current vehicle block in a foreground block of a current frame of an input image sequence;
adjusting the size of the current vehicle block according to the relation between the first lane width of the lane where the cache vehicle block is located in the first frame or the previous matching frame of each cache block in the cache and the second lane width of the lane where the current vehicle block is located in the current frame;
matching the current vehicle block after being adjusted in size with the cache vehicle block to determine whether the current vehicle block and the cache vehicle block are the same vehicle;
when the current vehicle block and the cache vehicle block are determined to be the same vehicle, calculating the travel distance of the vehicle in a first time, wherein the first time is equal to the difference between the current frame and the first frame or a previous matching frame;
calculating the vehicle speed from the first time and the travel distance,
wherein matching the current vehicle block with the cached vehicle block comprises:
matching a current vehicle block with a cache vehicle block in a first frame of each cache block, calculating to obtain a first matching degree of each cache block, and when the first matching degree of one cache block is greater than or equal to a first threshold value, determining that the current vehicle block and the cache vehicle block in the first frame of the cache block are the same vehicle;
when the first matching degree of each cache block is smaller than a first threshold value, matching the current vehicle block after being adjusted in size with a cache vehicle block in a previous matching frame of each cache block, calculating to obtain a second matching degree, and when the second matching degree of one cache block is larger than or equal to the first threshold value, determining that the current vehicle block and the cache vehicle block in the previous matching frame of the cache block are the same vehicle.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910688572.6A CN112309134B (en) | 2019-07-29 | 2019-07-29 | Vehicle speed detection method and device |
JP2020092429A JP7435258B2 (en) | 2019-07-29 | 2020-05-27 | Vehicle speed detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910688572.6A CN112309134B (en) | 2019-07-29 | 2019-07-29 | Vehicle speed detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112309134A CN112309134A (en) | 2021-02-02 |
CN112309134B true CN112309134B (en) | 2022-12-16 |
Family
ID=74329240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910688572.6A Active CN112309134B (en) | 2019-07-29 | 2019-07-29 | Vehicle speed detection method and device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7435258B2 (en) |
CN (1) | CN112309134B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102810250A (en) * | 2012-07-31 | 2012-12-05 | 长安大学 | Video based multi-vehicle traffic information detection method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877174B (en) * | 2009-09-29 | 2012-07-25 | 杭州海康威视软件有限公司 | Vehicle speed measurement method, supervisory computer and vehicle speed measurement system |
CN104575003B (en) * | 2013-10-23 | 2017-07-18 | 北京交通大学 | A kind of vehicle speed detection method based on traffic surveillance videos |
US10015394B2 (en) * | 2015-10-06 | 2018-07-03 | Genetec Inc. | Camera-based speed estimation and system calibration therefor |
CN109509345A (en) * | 2017-09-15 | 2019-03-22 | 富士通株式会社 | Vehicle detection apparatus and method |
CN109979206B (en) * | 2017-12-28 | 2020-11-03 | 杭州海康威视***技术有限公司 | Vehicle speed measuring method, device and system, electronic equipment and storage medium |
CN109147341B (en) * | 2018-09-14 | 2019-11-22 | 杭州数梦工场科技有限公司 | Violation vehicle detection method and device |
-
2019
- 2019-07-29 CN CN201910688572.6A patent/CN112309134B/en active Active
-
2020
- 2020-05-27 JP JP2020092429A patent/JP7435258B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102810250A (en) * | 2012-07-31 | 2012-12-05 | 长安大学 | Video based multi-vehicle traffic information detection method |
Also Published As
Publication number | Publication date |
---|---|
JP7435258B2 (en) | 2024-02-21 |
CN112309134A (en) | 2021-02-02 |
JP2021022366A (en) | 2021-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7509040B2 (en) | Apparatus and method for tracking objects in roadway surveillance video | |
US10261515B2 (en) | System and method for controlling navigation of a vehicle | |
JP2013537661A (en) | Automatic detection of moving objects using stereo vision technology | |
US10984264B2 (en) | Detection and validation of objects from sequential images of a camera | |
JP6439757B2 (en) | Image processing apparatus and image processing method | |
JP2022513214A (en) | How to track objects in the scene | |
CN111626275A (en) | Abnormal parking detection method based on intelligent video analysis | |
JP2019530924A (en) | Object detection from camera images | |
CN113516853A (en) | Multi-lane traffic flow detection method for complex monitoring scene | |
CN112862856A (en) | Method, device and equipment for identifying illegal vehicle and computer readable storage medium | |
JP6116765B1 (en) | Object detection apparatus and object detection method | |
CN113029185A (en) | Road marking change detection method and system in crowdsourcing type high-precision map updating | |
CN104834886A (en) | Method and device for detecting video image | |
JP2011064639A (en) | Distance measuring device and distance measuring method | |
CN112309134B (en) | Vehicle speed detection method and device | |
JP2007188269A (en) | On-image mobile object tracking method and device | |
CN114037977B (en) | Road vanishing point detection method, device, equipment and storage medium | |
JP4469980B2 (en) | Image processing method for tracking moving objects | |
CN111415369B (en) | Target real-time speed measurement method based on road-side monocular camera | |
CN113160299A (en) | Vehicle video speed measurement method based on Kalman filtering and computer readable storage medium | |
KR20220043316A (en) | License plate detection apparatus and method using image warping | |
CN118015567B (en) | Lane dividing method and related device suitable for highway roadside monitoring | |
CN111598906A (en) | Vehicle detection method, system, device and storage medium | |
JP4573590B2 (en) | Moving object measuring method and apparatus by image processing | |
CN114779271B (en) | Target detection method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |