CN113506386B - Monitoring method for illegal parking, automobile data recorder, program and storage medium - Google Patents
Monitoring method for illegal parking, automobile data recorder, program and storage medium Download PDFInfo
- Publication number
- CN113506386B CN113506386B CN202110741234.1A CN202110741234A CN113506386B CN 113506386 B CN113506386 B CN 113506386B CN 202110741234 A CN202110741234 A CN 202110741234A CN 113506386 B CN113506386 B CN 113506386B
- Authority
- CN
- China
- Prior art keywords
- parking
- monitoring
- vehicle
- road surface
- current road
- 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
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
- G07C5/0866—Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/0875—Registering performance data using magnetic data carriers
- G07C5/0891—Video recorder in combination with video camera
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention discloses a method for monitoring illegal parking, a vehicle recorder, a program and a storage medium, wherein the method comprises the following steps: after the automobile data recorder enters a parking monitoring mode, acquiring a plurality of current road surface images; acquiring the number of corner points in each current pavement image; if the number of the corner points in each current road surface image is smaller than or equal to a preset value and the parking time exceeds a parking time threshold, generating violation reminding information and judging whether a user is in the vehicle or not; if the user is not in the vehicle, the violation reminding information is sent to the mobile terminal of the user; the method solves the problem of illegal parking caused by random parking at the roadside of the vehicle, realizes the real-time monitoring of the illegal parking of the vehicle, and reduces the probability of the illegal parking of the vehicle.
Description
Technical Field
The invention relates to the field of automobile driving, in particular to a method for monitoring illegal parking, an automobile data recorder, a program and a storage medium.
Background
With the effects of rapid economic development, improvement of resident dominant income, national policy pushing and the like, private car conservation amount is pushed to continuously increase, wherein the number of the private cars in 58 cities in the country is more and more, the private cars are more and more, so that the phenomenon of vehicle violations is layered, illegal parking is the most common traffic offending behavior in reality, it is believed that many car owners have the experience of being penalized by random parking at roadsides or not parking in parking spaces, and the illegal parking not only affects traffic, but also brings administrative penalties and economic losses to car owners.
Disclosure of Invention
In view of this, the embodiment of the application provides a method for monitoring illegal parking, a vehicle recorder, a program and a storage medium, which solve the problem of illegal parking caused by random parking of a vehicle at the roadside.
The embodiment of the application provides a method for monitoring illegal parking, which is applied to a vehicle recorder and comprises the following steps:
after the automobile data recorder enters a parking monitoring mode, acquiring a plurality of current road surface images;
acquiring the number of corner points in each current pavement image;
if the number of the corner points in each current road surface image is smaller than or equal to a preset value and the parking time exceeds a parking time threshold, generating violation reminding information and judging whether a user is in the vehicle or not;
if the user is not in the vehicle, the violation reminding information is sent to the mobile terminal of the user; wherein the parking time period is calculated from when the vehicle speed decreases to zero.
In an embodiment, the obtaining the number of corner points in the current road surface image includes:
executing gray scale processing on the pavement image to generate a pavement gray scale image;
performing sliding of a fixed window in an arbitrary direction with respect to the road surface gradation image;
constructing a corner judgment matrix based on the gradient value of the pixels in each fixed window, and acquiring the characteristic value of the corner judgment matrix;
if the characteristic value of the angular point judgment matrix meets a preset condition, judging that the angular point exists in the fixed window;
and counting and averaging the number of the angular points existing in each fixed window.
In an embodiment, the constructing a corner judgment matrix based on gradient values of pixels in each of the fixed windows includes:
acquiring a gradient value of each pixel in the fixed window in the X direction and a gradient value of each pixel in the Y direction, and constructing a pixel gradient matrix;
and generating the corner judgment matrix based on the window function and the pixel gradient matrix.
In an embodiment, the generating the corner judgment matrix based on the window function and the pixel gradient matrix includes:
wherein M is the angular point judgment matrix, w (x, y) is the window function,for the pixel ladderDegree matrix, I x Is the gradient value in the X direction, I y Is the gradient value in the Y direction.
In an embodiment, before the step of acquiring the plurality of current road surface images after the vehicle event data recorder enters the parking monitoring mode, the method includes:
and after the automobile data recorder receives the pre-parking signal, controlling the automobile data recorder to enter a parking monitoring mode.
In an embodiment, the obtaining a plurality of current road surface images after the vehicle event data recorder enters a parking monitoring mode includes:
after the vehicle enters a parking monitoring mode, acquiring a current road surface video;
respectively intercepting video segments with similarity between image frames in the current road surface video higher than a similarity threshold value;
and acquiring at least one image frame in each video segment as the current road surface image.
In an embodiment, after the step of generating the violation reminding information and judging whether the user is in the vehicle or not, the method further includes:
and if the user is in the vehicle, carrying out voice broadcasting on the violation reminding information through the vehicle recorder.
To achieve the above object, there is also provided a computer program product comprising a computer program which, when executed by a processor, implements the steps of any of the above-described method for monitoring for illicit parking.
In order to achieve the above object, there is also provided a computer storage medium, on which a method program for monitoring illegal parking is stored, the method program for monitoring illegal parking implementing the steps of any of the above-mentioned methods for monitoring illegal parking when executed by a processor.
In order to achieve the above purpose, the vehicle event data recorder further provides a vehicle event data recorder, which comprises a memory, a processor and a monitoring method program of the illegal parking, wherein the monitoring method program of the illegal parking is stored in the memory and can run on the processor, and the steps of any one of the monitoring methods of the illegal parking are realized when the processor executes the monitoring method program of the illegal parking.
One or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages: after the automobile data recorder enters a parking monitoring mode, acquiring a plurality of current road surface images; the data support is improved for the follow-up correct judgment of the number of corner points in the current road surface image by correctly acquiring the current road surface image;
acquiring the number of corner points in each current pavement image; and counting the number of the corner points in the current road surface image, so as to judge whether a parking space exists in the current road surface image according to the number of the corner points, and judge the illegal parking.
If the number of the corner points in each current road surface image is smaller than or equal to a preset value and the parking time exceeds a parking time threshold, generating violation reminding information and judging whether a user is in the vehicle or not; if the user is not in the vehicle, the violation reminding information is sent to the mobile terminal of the user; wherein the parking time period is calculated from when the vehicle speed decreases to zero; when the number of the corner points and the parking time length meet the conditions, corresponding generation of the violation reminding information is carried out, so that when a user is not in the vehicle, the violation reminding information is sent to the user mobile terminal, the user is reminded that the vehicle is about to generate a violation, and the vehicle is required to leave as soon as possible or to be processed in time, so that the problem of the violation caused by random parking of the vehicle is solved, real-time monitoring of the vehicle against the regulation is realized, and the probability of the vehicle against the regulation is reduced.
Drawings
FIG. 1 is a flow chart of a first embodiment of a method of monitoring for illicit parking in accordance with the present application;
fig. 2 is a schematic flowchart of step S120 in the first embodiment of the method for monitoring illegal parking in the present application;
fig. 3 is a schematic flowchart of a specific procedure of step S123 of the method for monitoring illegal parking in the present application;
FIG. 4 is a flow chart of a second embodiment of a method of monitoring for illicit parking in accordance with the subject application;
fig. 5 is a schematic flowchart of step S110 in the first embodiment of the method for monitoring illegal parking in the present application;
FIG. 6 is a flow chart of a third embodiment of a method for monitoring for illicit parking in accordance with the present application;
fig. 7 is a schematic diagram of a hardware architecture of a vehicle recorder according to an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are: after the automobile data recorder enters a parking monitoring mode, acquiring a plurality of current road surface images; acquiring the number of corner points in each current pavement image; if the number of the corner points in each current road surface image is smaller than or equal to a preset value and the parking time exceeds a parking time threshold, generating violation reminding information and judging whether a user is in the vehicle or not; if the user is not in the vehicle, the violation reminding information is sent to the mobile terminal of the user; wherein the parking time period is calculated from when the vehicle speed decreases to zero; the method solves the problem of illegal parking caused by random parking of the vehicle, realizes the real-time monitoring of the illegal parking of the vehicle, and reduces the probability of the illegal parking of the vehicle.
In order to better understand the above technical solutions, the following detailed description will refer to the accompanying drawings and specific embodiments.
Referring to fig. 1, fig. 1 is a first embodiment of a method for monitoring illegal parking in the present application, applied to a vehicle recorder, where the method includes:
specifically, the automobile data recorder is a device for recording related information such as images and sounds during running of a vehicle. After the automobile data recorder is installed, video images and sounds of the whole automobile running process can be recorded, evidence can be provided for traffic accidents, and in the embodiment, the automobile data recorder can comprise a front camera and a rear camera and can also be a 360-degree panoramic camera device by utilizing video images shot after the automobile data recorder enters a parking monitoring mode; the current road surface image can be image data shot by a camera contained in the automobile data recorder, and the current road surface image comprises data shot by a front camera and data shot by a rear camera.
Step S110: and after the automobile data recorder enters a parking monitoring mode, acquiring a plurality of current road surface images.
Specifically, the current road surface image may be a plurality of frames in a video shot by the automobile data recorder after entering a parking monitoring mode; the method comprises the steps of judging whether a parking space exists in a current road surface image or not by judging corner features of the parking space in the current road surface image.
It should be noted that, the parking space may be rectangular, so the parking space generally includes four corners; in real life, the parking space is generally formed by a line with a certain width, and in this embodiment, a complete parking space has eight corner points.
Step S120: and obtaining the number of corner points in each current pavement image.
Specifically, the corner detection method may be, but not limited to, corner detection based on a gray image, corner detection based on a binary image, and corner detection based on a contour curve.
The number of the corner points can be the number determined to be the corner points by using a corner point detection method.
Step S130: if the number of the corner points in each current road surface image is smaller than or equal to a preset value and the parking time exceeds a parking time threshold, generating violation reminding information and judging whether a user is in the vehicle or not.
Specifically, the preset value may be 2 or 1, which is not limited herein; when the number of the corner points in each current road surface image is smaller than or equal to 2, judging that no parking space exists in the current road surface image, or when the number of the corner points in each current road surface image is smaller than or equal to 1, judging that no parking space exists in the current road surface image; if no parking space exists in the current road surface image and the parking time exceeds the parking time threshold, generating violation reminding information; the parking time threshold is 3 minutes or 2 minutes, and is adjusted according to the regulations of each city, wherein the parking time threshold is slightly smaller than the temporary parking time allowed by each city so as to give time for a user to timely process the vehicle and avoid the occurrence of illegal parking; wherein, the parking time length is calculated from the time when the vehicle speed is reduced to zero; the timing may also be started from the moment the vehicle is turned off.
Specifically, the violation reminding information comprises a parking place, a parking time, a violation regulation and the like.
Step S140: if the user is not in the vehicle, the violation reminding information is sent to the mobile terminal of the user;
specifically, after a user parks, the user leaves the vehicle, and then the violation reminding information is sent to the user mobile terminal; the user mobile terminal can be a smart phone, a smart watch, a smart bracelet and the like.
In the above embodiment, the following beneficial effects exist: after the automobile data recorder enters a parking monitoring mode, acquiring a plurality of current road surface images; the data support is improved for the follow-up correct judgment of the number of corner points in the current road surface image by correctly acquiring the current road surface image;
acquiring the number of corner points in each current pavement image; and counting the number of the corner points in the current road surface image, so as to judge whether a parking space exists in the current road surface image according to the number of the corner points, and judge the illegal parking.
The number of the corner points is smaller than or equal to a preset value, and the parking time exceeds a parking time threshold, generating violation reminding information, and judging whether a user is in the vehicle or not; if the user is not in the vehicle, the violation reminding information is sent to the mobile terminal of the user; wherein the parking time period is calculated from when the vehicle speed decreases to zero; when the number of the corner points and the parking time length meet the conditions, corresponding generation of the violation reminding information is carried out, so that when a user is not in the vehicle, the violation reminding information is sent to the user mobile terminal, the user is reminded that the vehicle is about to generate a violation, and the vehicle is required to leave as soon as possible or to be processed in time, so that the problem of the violation caused by random parking of the vehicle is solved, real-time monitoring of the vehicle against the regulation is realized, and the probability of the vehicle against the regulation is reduced.
Referring to fig. 2, fig. 2 is a specific implementation step of step S120 in the first embodiment of the method for monitoring illegal parking of the present application, where the obtaining the number of corner points in the current road surface image includes:
step S121: and executing gray scale processing on the pavement image to generate a pavement gray scale image.
Specifically, the gray scale process is to make the values of the three color components R, G, B of the color the same, since the range of the color values is [0, 255]So that the gray scale level is only 256, i.e. the gray scale image can only represent 256 gray scale colors; wherein, a Maximum value method (maximm) may be employed, i.e., r=g=b=max (R, G, B); an Average method (Average) may also be employed, i.e., r=g=b= (r+g+b)/3; a Weighted Average method (Weighted Average), i.e., r=g=b=w, may also be employed r *R+w g *G+w b * B, wherein w r 、w g 、w b Weight of R, G, B respectively; wherein w is r May be 0.299; w (w) g Can be 0.587, w b Can be 0.114, and has good gray scale processing effect.
Step S122: and sliding the fixed window in any direction is performed on the pavement gray scale image.
Specifically, when the center point of the fixed window is the corner point, the gray level change is the largest before and after the movement.
Step S123: and constructing a corner judgment matrix based on the gradient value of the pixels in each fixed window, and acquiring the characteristic value of the corner judgment matrix.
Specifically, sliding in any direction is performed on the pavement gray level image by using fixed windows, a corner judgment matrix can be constructed by gradient values of pixels in each fixed window, and feature values can be solved for the corner judgment matrix.
Step S124: and if the characteristic value of the corner judgment matrix meets a preset condition, judging that the corner exists in the fixed window.
Specifically, the preset condition may be that when the feature values of the corner judgment matrix are all larger, it is judged that the fixed window contains the corner. In addition, when the characteristic values are smaller, the fixed window is in a flat area; if the feature value is larger and smaller, the fixed window contains edge features.
Step S125: and counting and averaging the number of the angular points existing in each fixed window.
In the above embodiment, the number of the corner points in the parking space is obtained and counted to judge whether the parking space exists in the current road surface image, so that whether the parking space exists or not is ensured to be judged correctly, the illegal parking is monitored in real time, and the probability of illegal parking of a user is reduced.
Referring to fig. 3, fig. 3 is a specific implementation step of step S123 in the method for monitoring illegal parking of the present application, where the constructing a corner judgment matrix based on gradient values of pixels in each fixed window includes:
step S1231: and obtaining the gradient value of each pixel in the fixed window in the X direction and the gradient value in the Y direction, and constructing a pixel gradient matrix.
Step S1232: and generating the corner judgment matrix based on the window function and the pixel gradient matrix.
Specifically, the window function may be a constant function, and the simplest case may be that coefficients corresponding to all pixels in the fixed window are all 1; meanwhile, the window function can be set to be binary normal distribution with the center of the window as an origin, the window function is not limited herein, and the window function can be selected and adjusted according to requirements.
In the above embodiment, the following beneficial effects exist: and constructing a pixel gradient matrix by using gradient values of pixels in a fixed window, and generating a corner judgment matrix based on a window function and the pixel gradient matrix, so that the correctness of corner judgment and the correctness of corner quantity statistics are ensured.
In one embodiment, the generating the corner judgment matrix based on the window function and the pixel gradient matrix includes:
wherein M is the angular point judgment matrix, w (x, y) is the window function,for the pixel gradient matrix, I x Is the gradient value in the X direction, I y Is the gradient value in the Y direction.
Referring to fig. 4, fig. 4 is a second embodiment of a method for monitoring illegal parking in the present application, before the step of obtaining a current road surface image after the vehicle recorder enters a parking monitoring mode, the method includes:
step S210: and after the automobile data recorder receives the pre-parking signal, controlling the automobile data recorder to enter a parking monitoring mode.
Specifically, the pre-parking signal may be determined according to a vehicle operation parameter and a driving habit of a user, for example, when the vehicle runs in a long-time D gear, if R gear information is detected, it may be determined that the vehicle starts to be parked, and then the pre-parking signal is sent to the vehicle recorder, and the vehicle recorder is caused to enter a parking monitoring mode to obtain a current road surface video; meanwhile, the method can also be used for learning data generated in the driving process of the user, constructing a parking judgment model, inputting the data generated in the driving process of the current user into the parking judgment model, generating a pre-parking signal to be sent to a vehicle recorder if the judgment result of the parking judgment model is in a ready-to-park state, and controlling the vehicle recorder to enter a parking monitoring mode to acquire the current road surface video.
Step S220: and after the automobile data recorder enters a parking monitoring mode, acquiring a current road surface image.
Step S230: and acquiring the number of corner points in the current road surface image.
Step S240: if the number of the corner points in each current road surface image is smaller than or equal to a preset value and the parking time exceeds a parking time threshold, generating violation reminding information and judging whether a user is in the vehicle or not.
Step S250: if the user is not in the vehicle, the violation reminding information is sent to the mobile terminal of the user; wherein the parking time period is calculated from when the vehicle speed decreases to zero.
The second embodiment includes step S210 compared with the first embodiment, and other steps have been described in the first embodiment, and are not described herein.
In the above embodiment, the following beneficial effects exist: the timing of the vehicle event data recorder entering the parking monitoring mode is controlled through the pre-parking signal, so that the current road surface video acquisition time is determined, the data volume of corner detection is further reduced on the basis of ensuring that the current road surface video is comprehensively acquired in the parking monitoring mode, and the corner detection efficiency is improved.
Referring to fig. 5, fig. 5 is a specific implementation step of step S110 in the first embodiment of the method for monitoring the illegal parking of the present application, where after the driving recorder enters the parking monitoring mode, a plurality of current road surface images are obtained, including:
step S111: and after the vehicle enters a parking monitoring mode, acquiring a current road surface video.
Step S112: and respectively intercepting video segments with similarity between image frames in the current road surface video being higher than a similarity threshold value.
Specifically, the similarity threshold may be greater than or equal to 0.85; if the similarity between the image frames in the current road surface video is higher than 0.85, intercepting the image frames to obtain a plurality of video segments; the similarity threshold is not limited to 0.85 here, and may be dynamically adjusted according to specific situations.
Step S113: and acquiring at least one image frame in each video segment as the current road surface image.
Specifically, one image frame in each video segment may be acquired as a current road surface image; the first frame and the last frame in each video segment can be obtained as the current road surface image; the first frame, the middle frame and the last frame in each video segment can be obtained as the current road surface image; the current road surface image may be one or more.
In the above embodiment, the following beneficial effects exist: the method for monitoring the illegal parking of the vehicle comprises the steps of intercepting video segments with similarity higher than a similarity threshold value between image frames in a current road surface video, acquiring at least one image frame in each video segment as a current road surface image, reducing the calculated amount of angular point acquisition on the basis of comprehensively acquiring image features in the current road surface video, and improving the efficiency of the monitoring method for the illegal parking of the vehicle.
Referring to fig. 6, fig. 6 is a third embodiment of the method for monitoring illegal parking according to the present application, where the number of the corner points is smaller than or equal to a preset value, and the parking duration exceeds a parking duration threshold, and after the step of generating the illegal reminding information and judging whether the user is in the vehicle, the method further includes:
step S310: and after the automobile data recorder enters a parking monitoring mode, acquiring a plurality of current road surface images.
Step S320: and obtaining the number of corner points in each current pavement image.
Step S330: if the number of the corner points in each current road surface image is smaller than or equal to a preset value and the parking time exceeds a parking time threshold, generating violation reminding information and judging whether a user is in the vehicle or not.
Step S340: if the user is not in the vehicle, the violation reminding information is sent to the mobile terminal of the user; wherein the parking time period is calculated from when the vehicle speed decreases to zero.
Step S350: and if the user is in the vehicle, carrying out voice broadcasting on the violation reminding information through the vehicle recorder.
Specifically, the automobile data recorder has a voice broadcasting function, and can remind a user of the illegal reminding information in a voice mode, so that the user is aware of the possibility of illegal parking; in addition, the light prompt of the automobile data recorder, such as regular flashing of red lights, can be used for reminding a user; the vibration function of the automobile data recorder can be used for reminding a user; the light prompt and vibration functions of the automobile data recorder can be combined to remind the user.
Compared with the first embodiment, the third embodiment specifically includes step S350, and other steps are described in the first embodiment, and are not described herein.
In the above embodiment, there are beneficial effects: after the violation reminding information is generated, if the user stays in the vehicle, voice broadcasting is carried out through the automobile data recorder, the user is reminded to drive away as soon as possible, the user can process the violation reminding information in time, and the vehicle violation phenomenon caused by temporary parking at the roadside of the user is further reduced.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of any of the above-described method of monitoring for illicit parking.
The application also provides a computer storage medium, wherein the computer storage medium is stored with a monitoring method program for illegal parking, and the monitoring method program for illegal parking realizes the steps of any one of the monitoring methods for illegal parking when being executed by a processor.
The application also provides a vehicle event data recorder, which comprises a memory, a processor and a monitoring method program of the illegal parking, wherein the monitoring method program of the illegal parking is stored in the memory and can run on the processor, and the steps of any monitoring method of the illegal parking are realized when the processor executes the monitoring method program of the illegal parking.
The present application relates to a vehicle event data recorder 010 including as shown in fig. 7: at least one processor 012, a memory 011.
The processor 012 may be an integrated circuit chip having signal processing capability. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software form in the processor 012. The processor 012 may be 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 device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 011, and the processor 012 reads information in the memory 011 and performs the steps of the above method in combination with its hardware.
It is to be appreciated that memory 011 in embodiments of the present invention can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (Double data rate SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct memory bus RAM (DRRAM). The memory 011 of the systems and methods described by embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (9)
1. The utility model provides a monitoring method of illegal parking, is applied to vehicle event data recorder, characterized in that, the method includes:
after the automobile data recorder enters a parking monitoring mode, acquiring a plurality of current road surface images;
executing gray scale processing on the pavement image to generate a pavement gray scale image;
performing sliding of a fixed window in an arbitrary direction with respect to the road surface gradation image;
constructing a corner judgment matrix based on the gradient value of the pixels in each fixed window, and acquiring the characteristic value of the corner judgment matrix;
if the characteristic value of the angular point judgment matrix meets a preset condition, judging that the angular point exists in the fixed window;
counting the number of angular points existing in each fixed window and averaging;
if the number of the corner points in each current road surface image is smaller than or equal to a preset value and the parking time exceeds a parking time threshold, generating violation reminding information and judging whether a user is in the vehicle or not;
and if the user is not in the vehicle, sending the violation reminding information to the user mobile terminal.
2. The method for monitoring the illegal parking according to claim 1, wherein the constructing a corner judgment matrix based on the gradient values of the pixels in each of the fixed windows comprises:
acquiring a gradient value of each pixel in the fixed window in the X direction and a gradient value of each pixel in the Y direction, and constructing a pixel gradient matrix;
and generating the corner judgment matrix based on the window function and the pixel gradient matrix.
3. The method for monitoring parking violations according to claim 2, wherein the generating the corner judgment matrix based on a window function and the pixel gradient matrix comprises:
4. The method for monitoring the illegal parking according to claim 1, wherein before the step of acquiring a plurality of current road surface images after the event data recorder enters the parking monitoring mode, the method comprises:
and after the automobile data recorder receives the pre-parking signal, controlling the automobile data recorder to enter a parking monitoring mode.
5. The method for monitoring the illegal parking according to claim 1, wherein the step of acquiring a plurality of current road surface images after the vehicle recorder enters a parking monitoring mode comprises:
after the vehicle enters a parking monitoring mode, acquiring a current road surface video;
respectively intercepting video segments with similarity between image frames in the current road surface video higher than a similarity threshold value;
and acquiring at least one image frame in each video segment as the current road surface image.
6. The method for monitoring the illegal parking according to claim 1, wherein after the step of generating the illegal reminding information and judging whether the user is in the car or not, the method further comprises the steps of:
and if the user is in the vehicle, carrying out voice broadcasting on the violation reminding information through the vehicle recorder.
7. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of monitoring for illicit parking as claimed in any one of claims 1-6.
8. A computer storage medium, wherein a method program for monitoring the illegal parking is stored in the computer storage medium, and when the method program is executed by a processor, the method for monitoring the illegal parking is implemented as the steps of the method for monitoring the illegal parking according to any one of claims 1 to 6.
9. The automobile data recorder is characterized by comprising a memory, a processor and a illegal parking monitoring method program which is stored in the memory and can run on the processor, wherein the steps of the illegal parking monitoring method in any one of claims 1-6 are realized when the processor executes the illegal parking monitoring method program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110741234.1A CN113506386B (en) | 2021-06-30 | 2021-06-30 | Monitoring method for illegal parking, automobile data recorder, program and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110741234.1A CN113506386B (en) | 2021-06-30 | 2021-06-30 | Monitoring method for illegal parking, automobile data recorder, program and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113506386A CN113506386A (en) | 2021-10-15 |
CN113506386B true CN113506386B (en) | 2023-05-26 |
Family
ID=78009486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110741234.1A Active CN113506386B (en) | 2021-06-30 | 2021-06-30 | Monitoring method for illegal parking, automobile data recorder, program and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113506386B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115131718B (en) * | 2022-08-30 | 2022-11-11 | 南通浩盛汽车科技有限公司 | Crossing parking violating regulations detection system based on regional speed distribution |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010184606A (en) * | 2009-02-12 | 2010-08-26 | Denso Corp | Vehicle surroundings display device |
CN111753716A (en) * | 2020-06-23 | 2020-10-09 | 中国联合网络通信集团有限公司 | Parking line pressing detection method and server |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5845131B2 (en) * | 2012-04-17 | 2016-01-20 | 株式会社日本自動車部品総合研究所 | Parking space detector |
US9858816B2 (en) * | 2014-05-21 | 2018-01-02 | Regents Of The University Of Minnesota | Determining parking space occupancy using a 3D representation |
CN106157611A (en) * | 2015-04-24 | 2016-11-23 | 石立公 | A kind of parking detecting system and parking detection method thereof |
DE102015015059A1 (en) * | 2015-11-20 | 2017-05-24 | Audi Ag | Method for detection and localization of a garage and motor vehicle |
CN107749166A (en) * | 2017-10-13 | 2018-03-02 | 王宁 | The automatic monitoring processing system of vehicle peccancy parking |
CN110648508A (en) * | 2018-06-27 | 2020-01-03 | 上海擎感智能科技有限公司 | Roadside parking reminding method and system based on vehicle-mounted terminal and vehicle-mounted terminal |
CN112053465B (en) * | 2019-06-05 | 2023-04-07 | 昆山研达电脑科技有限公司 | Parking behavior evaluation method and system |
CN110400464B (en) * | 2019-07-15 | 2021-06-01 | 杭州亿圣信息技术有限公司 | Method for monitoring illegal parking vehicles in community |
CN110443178A (en) * | 2019-07-29 | 2019-11-12 | 浙江工贸职业技术学院 | A kind of monitoring system and its method of vehicle violation parking |
CN112862856A (en) * | 2019-11-27 | 2021-05-28 | 深圳市丰驰顺行信息技术有限公司 | Method, device and equipment for identifying illegal vehicle and computer readable storage medium |
CN112509354B (en) * | 2020-12-08 | 2022-03-11 | 广州小鹏自动驾驶科技有限公司 | Parking space detection method and device, vehicle and readable medium |
-
2021
- 2021-06-30 CN CN202110741234.1A patent/CN113506386B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010184606A (en) * | 2009-02-12 | 2010-08-26 | Denso Corp | Vehicle surroundings display device |
CN111753716A (en) * | 2020-06-23 | 2020-10-09 | 中国联合网络通信集团有限公司 | Parking line pressing detection method and server |
Also Published As
Publication number | Publication date |
---|---|
CN113506386A (en) | 2021-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111368687B (en) | Sidewalk vehicle illegal parking detection method based on target detection and semantic segmentation | |
CN112163543B (en) | Detection method and system for illegal lane occupation of vehicle | |
CN113468967B (en) | Attention mechanism-based lane line detection method, attention mechanism-based lane line detection device, attention mechanism-based lane line detection equipment and attention mechanism-based lane line detection medium | |
US20130004024A1 (en) | Method and system of identifying one or more features represented in a plurality of sensor acquired data sets | |
CN113506386B (en) | Monitoring method for illegal parking, automobile data recorder, program and storage medium | |
CN111339994A (en) | Method and device for judging temporary illegal parking | |
CN114418895A (en) | Driving assistance method and device, vehicle-mounted device and storage medium | |
CN111447405B (en) | Exposure method and device for video monitoring | |
CN112163544B (en) | Method and system for judging random placement of non-motor vehicles | |
CN113469105A (en) | Method and device for monitoring surrounding vehicle and computer readable storage medium | |
US20230071836A1 (en) | Scene security level determination method, device and storage medium | |
Yu et al. | Realization of a real-time image denoising system for dashboard camera applications | |
CN115393803A (en) | Vehicle violation detection method, device and system and storage medium | |
CN115187954A (en) | Image processing-based traffic sign identification method in special scene | |
CN111660928B (en) | Lane departure early warning method and device and electronic equipment | |
CN110807493A (en) | Optimization method and equipment of vehicle classification model | |
CN110033425B (en) | Interference area detection device and method and electronic equipment | |
CN112699862A (en) | Image data processing method, device, equipment and storage medium | |
CN110008957B (en) | District illegal stop warning method based on license plate recognition and image variance algorithm | |
CN116052429A (en) | Road section congestion identification method and device, electronic equipment and medium | |
CN116703780A (en) | Image enhancement method and device for automatic driving, electronic equipment and storage medium | |
CN117893978A (en) | Environment sensing method, device, storage medium and vehicle | |
CN115205801A (en) | Traffic accident prediction method, traffic accident prediction device, electronic device, and storage medium | |
CN115690667A (en) | Flood or ponding detection device and method | |
Yao et al. | VLSI implementation of a real-time vision based lane departure warning system |
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 |