CN115083170A - Image capturing method and device of camera, electronic equipment and storage medium - Google Patents

Image capturing method and device of camera, electronic equipment and storage medium Download PDF

Info

Publication number
CN115083170A
CN115083170A CN202210787937.2A CN202210787937A CN115083170A CN 115083170 A CN115083170 A CN 115083170A CN 202210787937 A CN202210787937 A CN 202210787937A CN 115083170 A CN115083170 A CN 115083170A
Authority
CN
China
Prior art keywords
vehicle
snapshot
determining
information
camera
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.)
Pending
Application number
CN202210787937.2A
Other languages
Chinese (zh)
Inventor
许成荣
周德善
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chuang'an Shixun Technology Co ltd
Original Assignee
Shenzhen Chuang'an Shixun Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Chuang'an Shixun Technology Co ltd filed Critical Shenzhen Chuang'an Shixun Technology Co ltd
Priority to CN202210787937.2A priority Critical patent/CN115083170A/en
Publication of CN115083170A publication Critical patent/CN115083170A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/06Arrangements for road pricing or congestion charging of vehicles or vehicle users, e.g. automatic toll systems
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/015Detecting movement of traffic to be counted or controlled with provision for distinguishing between two or more types of vehicles, e.g. between motor-cars and cycles

Abstract

The present disclosure relates to the field of camera capturing technologies, and in particular, to a method and an apparatus for capturing an image of a camera, an electronic device, and a storage medium. The method comprises the following steps: determining a vehicle type; substituting the vehicle type into a preset vehicle database for comparison, and determining a snapshot mode corresponding to the vehicle type; when a vehicle corresponding to the vehicle type reaches the position of the ground induction coil, generating a snapshot instruction; and controlling the snapshot camera to snapshot the vehicle according to the snapshot mode and the snapshot instruction. The vehicle license plate information capturing method and device have the effect of further improving the success rate of license plate information of the vehicle obtained from the image captured by the capturing camera.

Description

Image capturing method and device of camera, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of camera capturing technologies, and in particular, to a method and an apparatus for capturing an image of a camera, an electronic device, and a storage medium.
Background
In recent years, vehicles are in blowout type growth, and in order to better manage the vehicles, a large number of cameras with different functions are arranged on urban roads, expressways and the like, so that related workers are assisted to manage the road vehicles; for example, a camera installed at the entrance and exit of a high-speed toll station is used to obtain information such as the type and license plate of a vehicle, so as to facilitate the entrance and exit of the vehicle and the toll management.
Generally, cameras installed in high-speed toll stations shoot at fixed positions, and the cameras are mainly divided into lane cameras and snapshot cameras; the lane camera is mainly used for obtaining images in each lane of the high-speed toll station, uploading the images of each lane to a monitoring center of the toll station and dynamically monitoring each lane by related workers; the snapshot camera is mainly used for snapshot of images of vehicles entering and exiting the high-speed toll station so as to obtain license plate information of the vehicles; specifically, an image recognition area is configured inside the snapshot camera; when a vehicle triggers a ground induction coil arranged on the ground, a master control computer generates a snapshot instruction, then a snapshot camera starts to snapshot to obtain an image containing the vehicle, license plate information of the vehicle located in an image recognition area is recognized in the image, then relevant information such as the high-speed access time and the charging standard of the vehicle is obtained through the image and the license plate information of the vehicle and fed back to a display device for displaying, and a toll collector finishes the work of vehicle passing and charging according to the displayed relevant information of the vehicle. The image recognition area of the snapshot camera installed in the traditional high-speed toll station is manually configured by technicians according to the field condition of the lane, and the image recognition area is a two-dimensional area.
However, in different types of vehicles, the positions of the license plates of the vehicles appearing in the images captured by the capture camera are different, so that when the image recognition area is unreasonably configured, when a certain type of vehicle triggers capture, the obtained license plate of the vehicle is not in the set image recognition area, at this time, the license plate information of the vehicle cannot be obtained from the captured image, or at least two pieces of license plate information appear in the image recognition area, and the accurate license plate information of the vehicle cannot be obtained.
Disclosure of Invention
In order to further improve the success rate of obtaining the license plate information of the vehicle from the image captured by the capturing camera, the application provides an image capturing method and device of the camera, an electronic device and a storage medium.
In a first aspect, the present application provides a method for capturing an image of a camera, which adopts the following technical scheme:
an image capturing method of a camera, comprising:
determining a vehicle type;
substituting the vehicle type into a preset vehicle database for comparison, and determining a snapshot mode corresponding to the vehicle type;
when the vehicle corresponding to the vehicle type reaches the position of the ground induction coil, generating a snapshot instruction;
and controlling a snapshot camera to snapshot the vehicle according to the snapshot mode and the snapshot instruction.
By adopting the technical scheme, after the vehicle type of the vehicle running into the lane of the toll station is determined, the vehicle type is substituted into the preset vehicle database for comparison, and then the snapshot mode of the vehicle type is determined; then, when the vehicle runs to a position where the ground induction coil is installed, generating a snapshot instruction; then, the snapshot camera makes corresponding adjustment when the vehicle is snapshot based on the snapshot mode, and responds to the snapshot instruction to start snapshot; and obtaining the license plate information of the vehicle from the image captured by the capturing camera. The vehicle is subjected to type division, the snapshot modes of the vehicles which accord with different types are determined, the license plate of the vehicle in the image captured by the snapshot camera can accurately fall in the image recognition area, so that the extraction of the license plate information of the vehicle is completed, and the success rate of obtaining the license plate information of the vehicle from the image captured by the snapshot camera is improved.
In one possible implementation, the determining the vehicle type includes:
acquiring first image information representing image information of a vehicle in a lane photographed by a lane camera;
determining size information of the vehicle contained in the first image information according to the first image information;
and determining the type of the vehicle according to the size information of the vehicle and preset vehicle size information contained in the first image information.
By adopting the technical scheme, when the vehicle enters the lane of the toll station, namely the vehicle enters the shooting range of the lane camera, the lane camera acquires the image information containing the vehicle, namely the first image information, and then the size information corresponding to the vehicle is determined according to the first image information, and the vehicle type of the vehicle can be accurately determined according to the determined size information of the vehicle.
In one possible implementation, the determining the vehicle type further includes:
acquiring vehicle axle number information and vehicle weight information;
determining a vehicle type based on the vehicle axle count information and the vehicle weight information.
By adopting the technical scheme, the vehicle type is determined according to the image shot by the lane camera, and meanwhile, the parameter information for determining the vehicle type is used as the parameter information based on the vehicle axle number information and the vehicle weight information, so that the vehicle can be more accurately classified into the vehicle types.
In one possible implementation, the substituting the vehicle type into a preset vehicle database for comparison previously includes:
acquiring a plurality of historical image information, wherein the historical image information represents the image information of the vehicle captured by the capturing camera;
determining a plurality of historical vehicle types according to a plurality of historical image information;
determining a snapshot mode corresponding to each historical vehicle type respectively based on a plurality of historical vehicle types;
and constructing a preset vehicle database by using a plurality of historical vehicle types and the snapshot modes respectively corresponding to the historical vehicle types.
By adopting the technical scheme, the plurality of pieces of historical image information are acquired, the vehicle types of all the contained vehicles are determined from the plurality of pieces of historical image information, meanwhile, the plurality of snapshot modes are determined based on the plurality of vehicle types, and the preset vehicle database is constructed based on the plurality of vehicle types and the plurality of snapshot modes, so that when any vehicle enters a lane of the toll station, the snapshot mode corresponding to the vehicle is determined, the calculation amount of electronic equipment is reduced, and meanwhile, the high efficiency of toll station management is guaranteed.
In one possible implementation manner, the determining, based on a plurality of historical vehicle types, a snapshot mode corresponding to each of the historical vehicle types includes:
determining license plate height information corresponding to each historical vehicle type according to the plurality of historical vehicle types;
determining an image recognition area of a snapshot camera according to the license plate height information;
and determining a snapshot mode based on the identification area of the snapshot camera.
By adopting the technical scheme, after a plurality of historical vehicle types are determined, various parameter information of the vehicle corresponding to each vehicle type is determined according to the plurality of historical vehicle types, wherein the parameter information comprises the height information of the license plate; and then determining an image recognition area according to the height information of the license plate, and further determining a snapshot mode corresponding to the historical vehicle type according to the snapshot image recognition area.
In one possible implementation, the determining the snapshot mode corresponding to each of the historical vehicle types previously includes:
acquiring a shooting angle of a snapshot camera;
determining the shooting range of the snapshot camera according to the shooting angle of the snapshot camera;
and determining the snapshot mode corresponding to each historical vehicle type based on the shooting range of the snapshot camera.
By adopting the technical scheme, although the installation mode of the snapshot camera is fixed installation and the shooting mode is fixed range shooting, the shooting position and the shooting range of the snapshot camera will change due to the influence of factors such as human collision or vehicle scratch and the like along with the passage of time, so that the shooting angle of the snapshot camera is obtained before the snapshot mode corresponding to the historical vehicle type is determined, the shooting range of the snapshot camera is determined, the snapshot mode corresponding to each historical vehicle type is determined based on the shooting range of the snapshot camera, and the accuracy of determining the snapshot mode corresponding to each historical vehicle type is improved.
In a possible implementation manner, the generating a snapshot instruction when the vehicle corresponding to the vehicle type reaches the position of the ground induction coil includes:
when a vehicle corresponding to the vehicle type reaches the position of the ground induction coil, acquiring first speed information of the vehicle;
when the preset unit time length is finished, second speed information of the vehicle is obtained;
determining acceleration information of the vehicle according to the first speed information and the second speed information;
determining the vehicle stopping duration according to the first speed information and the vehicle acceleration information;
and generating a snapshot instruction after the vehicle stop duration is finished.
By adopting the technical scheme, when the vehicle runs to the position of the ground induction coil, the first speed information of the vehicle is obtained, and after the preset time is over, the second speed information of the current vehicle is obtained, so that the acceleration information of the current vehicle is determined; based on the first speed information and the vehicle acceleration information, the time length required when the current vehicle stops running, namely the vehicle stopping time length, is determined, and a snapshot instruction is generated after the vehicle stopping time length is finished, so that the aim of improving the success rate of obtaining the accurate license plate of the vehicle is fulfilled.
In a second aspect, the present application provides an image capturing device for a camera, which adopts the following technical solution:
an image capturing device of a camera comprises a first vehicle type determining module, a mode determining module, an instruction generating module and a capturing control module, wherein,
a first vehicle type determination module for determining a vehicle type;
the first mode determining module is used for substituting the vehicle type into a preset vehicle database for comparison and determining a snapshot mode corresponding to the vehicle type;
the first instruction generation module is used for generating a snapshot instruction when the vehicle corresponding to the vehicle type reaches the position of the ground induction coil;
and the snapshot control module is used for controlling a snapshot camera to snapshot the vehicle according to the snapshot mode and the snapshot instruction.
By adopting the technical scheme, after the first vehicle type determining module determines the vehicle type of the vehicle running into the lane of the toll station, the first mode determining module substitutes the vehicle type into the preset vehicle database for comparison, and then the snapshot mode of the vehicle type is determined; when the vehicle runs to a position provided with a ground induction coil, a first instruction generation module generates a snapshot instruction; then, the snapshot control module makes corresponding adjustment when the snapshot camera takes a snapshot of the vehicle based on the snapshot mode, and responds to the snapshot instruction to start the snapshot; at the moment, the license plate information of the vehicle is obtained from the image captured by the capturing camera. The vehicle is subjected to type division, the snapshot modes of the vehicles which accord with different types are determined, the license plate of the vehicle in the image captured by the snapshot camera can accurately fall in the image recognition area, so that the extraction of the license plate information of the vehicle is completed, and the success rate of obtaining the license plate information of the vehicle from the image captured by the snapshot camera is improved.
In a possible implementation manner, the image capturing apparatus of the camera further includes: an image acquisition module, a size acquisition module, and a second vehicle type determination module, wherein,
the system comprises a first image acquisition module, a second image acquisition module and a display module, wherein the first image acquisition module is used for acquiring first image information which represents image information of vehicles in a lane shot by a lane camera;
the size acquisition module is used for determining size information of the vehicle contained in the first image information according to the first image information;
and the second vehicle type determining module is used for determining the vehicle type according to the size information of the vehicle contained in the first image information and preset vehicle size information.
In a possible implementation manner, the image capturing apparatus of the camera further includes: a first obtaining module and a third vehicle type determining module, wherein,
the first acquisition module is used for acquiring the information of the number of axles of the vehicle and the information of the weight of the vehicle;
and the third vehicle type determining module is used for determining the vehicle type based on the vehicle axle number information and the vehicle weight information.
In a possible implementation manner, the image capturing apparatus of the camera further includes: a second image acquisition module, a fourth vehicle type determination module, a second mode determination module, and a database construction module, wherein,
the second image acquisition module is used for acquiring a plurality of historical image information, and the historical image information represents the image information of the vehicle captured by the capturing camera;
the fourth vehicle type determining module is used for determining a plurality of historical vehicle types according to a plurality of pieces of historical image information;
the second mode determining module is used for determining a snapshot mode corresponding to each historical vehicle type based on a plurality of historical vehicle types;
and the database construction module is used for constructing a preset vehicle database according to the plurality of historical vehicle types and the snapshot modes respectively corresponding to the historical vehicle types.
In a possible implementation manner, the image capturing apparatus of the camera further includes: an altitude determination module, a region determination module, and a third mode determination module, wherein,
the height determining module is used for determining license plate height information corresponding to each historical vehicle type according to the multiple historical vehicle types;
the region determining module is used for determining an image recognition region of the snapshot camera according to the license plate height information;
and the third mode determining module is used for determining a snapshot mode based on the identification area of the snapshot camera.
In a possible implementation manner, the image capturing apparatus of the camera further includes: a second acquisition module, a range determination module, and a fourth mode determination module, wherein,
the second acquisition module is used for acquiring the shooting angle of the snapshot camera;
the range determining module is used for determining the shooting range of the snapshot camera according to the shooting angle of the snapshot camera;
and the fourth mode determining module is used for determining the snapshot mode corresponding to each historical vehicle type based on the shooting range of the snapshot camera.
In a possible implementation manner, the image capturing apparatus of the camera further includes: a first speed acquisition module, a second speed acquisition module, an acceleration determination module, a duration determination module and a second instruction generation module, wherein,
the first speed acquisition module is used for acquiring first speed information of the vehicle when the vehicle corresponding to the vehicle type reaches the position of the ground induction coil;
the second speed acquisition module is used for acquiring second speed information of the vehicle when the preset unit time length is finished;
the acceleration determining module is used for determining the acceleration information of the vehicle according to the first speed information and the second speed information;
the duration determining module is used for determining the vehicle stopping duration according to the first speed information and the vehicle acceleration information;
and the second instruction generating module is used for generating a snapshot instruction after the vehicle stopping duration is finished.
In a third aspect, the present application provides an electronic device, which adopts the following technical solutions:
an electronic device, comprising:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, the at least one application to: a method of performing image capture of the camera described above.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium, comprising: a computer program is stored which can be loaded by a processor and which performs the image capturing method of the camera described above.
To sum up, the application comprises the following beneficial technical effects:
after the vehicle type of a vehicle driving into a lane of a toll station is determined, substituting the vehicle type into a preset vehicle database for comparison, and further determining a snapshot mode of the vehicle type; subsequently, when the vehicle runs to a position where the ground induction coil is installed, generating a snapshot instruction; then, the snapshot camera makes corresponding adjustment when the vehicle is snapshot based on the snapshot mode, and responds to the snapshot instruction to start snapshot; at the moment, the license plate information of the vehicle is obtained from the image captured by the capturing camera. The vehicle is subjected to type division, the snapshot modes of the vehicles which accord with different types are determined, the license plate of the vehicle in the image captured by the snapshot camera can accurately fall in the image recognition area, so that the extraction of the license plate information of the vehicle is completed, and the success rate of obtaining the license plate information of the vehicle from the image captured by the snapshot camera is improved.
Drawings
Fig. 1 is a schematic flowchart of an image capturing method of a camera according to an embodiment of the present application;
fig. 2 is a block diagram schematically illustrating an image capturing apparatus of a camera according to an embodiment of the present application;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to figures 1-3.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an image capturing method of a camera, which is executed by electronic equipment, wherein the electronic equipment is a charging industrial personal computer in a toll station sentry box, and referring to fig. 1, the method comprises the following steps: step S101, step S102, step S103, and step S104, wherein,
and S101, determining the type of the vehicle.
By adopting the technical scheme, the vehicles are mainly divided into two categories of cars and trucks; although the license plates of different types of vehicles are installed at almost the same position on the vehicle, the license plates of different types of vehicles have different positions in the image captured by the capturing camera for the capturing camera which is fixedly installed and captures images in a fixed range; if the vehicle type is not considered, the license plate of any type of vehicle is not in the image recognition area in the image of any type of vehicle captured by the capturing camera, and the license plate of any type of vehicle cannot be recognized through the image.
When any vehicle enters a lane in a toll station, the vehicle enters a shooting range of a lane camera installed on an island surface of the toll station, the electronic equipment performs characteristic recognition processing on an image shot by the lane camera to determine the type of the vehicle, and then the electronic equipment uses the type of the vehicle as parameter information for improving the success rate of the snapshot camera for the any vehicle.
And S102, substituting the vehicle type into a preset vehicle database for comparison, and determining a snapshot mode corresponding to the vehicle type.
By adopting the technical scheme, the high-speed toll station has more vehicles and uncertain in the access and exit sequence of different types of vehicles in the process of managing the access and exit of the vehicles; if the electronic equipment acquires the vehicle type of each vehicle, the electronic equipment performs corresponding processing on each vehicle based on the vehicle type, and further in the process of determining the snapshot mode of the snapshot camera corresponding to each vehicle, the electronic equipment has a large calculation amount of processing based on each arriving vehicle, and if a plurality of vehicles of the same type continuously drive in, the electronic equipment determines the corresponding snapshot mode for each vehicle respectively, namely, the vehicles of the same type perform repeated processing for a plurality of times, which causes excessive unnecessary time waste and is not beneficial to efficient management of toll stations; therefore, before the vehicle is managed to enter and exit, the preset vehicle database is firstly established, namely after the electronic device acquires the vehicle type of the vehicle, the corresponding parameters are called from the preset vehicle database according to the vehicle type, so that the repeated calculation amount of the electronic device is reduced, and the toll station can carry out efficient vehicle management.
Specifically, the preset vehicle database comprises a plurality of vehicle types and a snapshot mode corresponding to each vehicle type, wherein the snapshot mode comprises configuration parameters of an image identification area of a snapshot camera; after the electronic equipment obtains the vehicle type, substituting the vehicle type into a preset vehicle database, comparing the vehicle type with the vehicle type in the vehicle database, determining a snapshot mode corresponding to the matched vehicle type in the vehicle database, and after the corresponding snapshot mode is determined, controlling a snapshot camera to snapshot the vehicle by the electronic equipment based on the snapshot mode.
And S103, generating a snapshot instruction when the vehicle corresponding to the vehicle type reaches the position of the ground induction coil.
By adopting the technical scheme, the lane camera is mainly used for shooting the vehicle running condition in the lane of the toll station, so that the single lane area of the corresponding toll station can be covered by the installation position and the shooting angle of the lane camera; in order to ensure that a snapshot camera fixedly arranged on the toll island surface can snapshot an image of any vehicle and obtain license plate information of any vehicle according to the snapshot image, a ground induction coil is arranged on the ground in a lane of the toll station and is used as a trigger device for judging whether any vehicle accords with the snapshot camera to snapshot; when the vehicle reaches the position of the ground induction coil, the electronic equipment judges that the position of the vehicle can meet the position requirement of the snapshot camera for image snapshot, and then a snapshot instruction is generated.
And S104, controlling the snapshot camera to snapshot the vehicle according to the snapshot mode and the snapshot instruction.
By adopting the technical scheme, when a vehicle enters a lane of a toll station, the electronic equipment acquires the type of the vehicle through an image shot by a lane camera, determines a snapshot mode corresponding to the vehicle based on the type of the vehicle, and when the vehicle reaches a position where a ground induction coil is installed, the electronic equipment sends a generated snapshot instruction and the determined snapshot mode to the snapshot camera, so that the snapshot camera responds to the snapshot instruction and follows the snapshot mode to complete a snapshot action, and further acquires an image containing the vehicle and license plate information of the vehicle located in an image recognition area range. The purpose of correspondingly adjusting the image recognition area of the snapshot camera aiming at different types of vehicles is achieved, so that the license plate of the vehicle in the image snapshot by the snapshot camera can be located in the image recognition area, and the success rate of snapshot of the license plate of the vehicle is improved.
Further, the snapshot camera sends the image information obtained by snapshot of the snapshot camera to the electronic device, performs feature recognition on the image, further obtains license plate information corresponding to the vehicle, and then feeds the license plate information back to a display in a toll booth for display, so as to achieve the purpose of displaying the license plate information of the vehicle for a toll collector.
Further, if the image recognition area of the snapshot camera is set to be the full range of the snapshot camera, at least two vehicles exist in the image snapshot by the snapshot camera, and the license plate recognition is performed based on the image, the interference of other vehicles exists, and the license plate content uploaded to the display device in the toll booth of the toll booth is inaccurate.
The embodiment of the application provides an image capturing method of a camera,
the method comprises the steps that the electronic equipment obtains the vehicle type of a current vehicle based on an image shot by a lane camera arranged on an island surface of a toll station, then the vehicle type of the current vehicle is substituted into a preset vehicle database for comparison, and a snapshot mode capable of accurately obtaining license plate information of the vehicle from the image snapshot by the snapshot camera is determined, namely the snapshot mode corresponding to the current vehicle is determined; later, when waiting that current vehicle goes to installing in the ground induction coil on toll station lane ground, electronic equipment then judges that present coming accords with the position of taking a candid photograph through the snapshot camera, generate the instruction of taking a candid photograph promptly, afterwards, electronic equipment sends the mode of taking a candid photograph of confirming to the snapshot camera to make the snapshot camera can take a candid photograph current vehicle based on this mode of taking a candid photograph, and simultaneously, electronic equipment sends the instruction of taking a candid photograph to the snapshot camera, and the snapshot camera responds the instruction of taking a candid photograph and begins to take a candid photograph the action based on the mode of taking a candid photograph of confirming. The vehicle is subjected to type division, the snapshot modes of the vehicles which accord with different types are determined, the license plate of the vehicle in the image captured by the snapshot camera can accurately fall in the image recognition area, extraction of the license plate information of the vehicle is completed, and therefore toll collectors are helped to complete access management of the current vehicle, and meanwhile the success rate of obtaining the license plate information of the vehicle from the image captured by the snapshot camera is improved.
In step S101, determining a vehicle type includes: acquiring first image information representing image information of a vehicle in a lane shot by a lane camera; determining size information of the vehicle contained in the first image information according to the first image information; and determining the type of the vehicle according to the size information of the vehicle contained in the first image information and the preset vehicle size information.
By adopting the technical scheme, the size information is the size information of the front side of the head of the vehicle; the snapshot camera needs to snapshot the front end of the head of the vehicle in order to obtain an image containing the license plate of the vehicle. When the snapshot camera is used for shooting in a fixed range, the size difference of vehicles of the same type is small, the size difference of vehicles of different types is large, and if the size of a car is smaller than that of a truck, the proportion in an image is different; when a vehicle enters a lane of a toll station, namely the vehicle enters a shooting range of a lane camera, the electronic equipment acquires image information containing the vehicle, namely first image information, through the lane camera, and then the electronic equipment determines size information corresponding to the vehicle by performing feature recognition on the first image information, and the electronic equipment can accurately determine the vehicle type of the corresponding vehicle according to the determined size information of the vehicle.
In a possible implementation manner of the embodiment of the present application, in step S101, determining a vehicle type further includes: acquiring vehicle axle number information and vehicle weight information; the vehicle type is determined based on the vehicle axle count information and the vehicle weight information.
By adopting the technical scheme, the overload control system is arranged in the toll station from the perspective of safe driving of high-speed vehicles, when the vehicles pass through the ground scale device of the overload control system, the electronic equipment obtains the axle number information and the weight information of the vehicles and feeds the information back to the display in the toll station sentry box for displaying, and toll collectors judge whether the vehicles are overloaded or not and allow the vehicles to drive into the high speed or not based on the axle number information and the weight information of the vehicles.
The electronic equipment judges whether the vehicle is overloaded or not according to the information of the number of axles of the vehicle and the information of the weight of the vehicle, and meanwhile, the information of the number of axles of the vehicle and the information of the weight of the vehicle are used as determining parameters for determining the type of the vehicle. In particular, trucks are also classified into minitrucks, medium trucks, and large trucks; the first image information is subjected to feature recognition to determine the size information, so that the success rate of determining the accurate vehicle type is reduced; therefore, the vehicle type is determined according to the images shot by the lane cameras, and the information of the number of vehicle axles and the information of the vehicle weight are used as the parameter information for determining the vehicle type, so that the vehicle can be divided into more accurate and detailed vehicle types.
In a possible implementation manner of the embodiment of the present application, in step S102, substituting the vehicle type into the preset vehicle database for comparison includes: acquiring a plurality of pieces of historical image information, wherein the historical image information represents the image information of the vehicle captured by the capturing camera; determining a plurality of historical vehicle types according to the plurality of historical image information; determining a snapshot mode corresponding to each historical vehicle type based on a plurality of historical vehicle types; and constructing a preset vehicle database by a plurality of historical vehicle types and snap-shooting modes respectively corresponding to each historical vehicle type.
By adopting the technical scheme, the historical image information is the image information which is captured by the capturing camera and contains the vehicle. The electronic equipment firstly acquires a plurality of pieces of historical image information before substituting the vehicle types into a preset vehicle database for comparison to determine corresponding snapshot modes, determines a plurality of vehicle types of all vehicles contained in the images from the plurality of pieces of historical image information, stores the plurality of vehicle types, simultaneously determines a plurality of snapshot modes based on the plurality of vehicle types, then stores the plurality of snapshot modes, and one-to-one corresponds the plurality of vehicle types and the plurality of snapshot modes.
One possible implementation manner of the embodiment of the present application, determining, based on a plurality of historical vehicle types, a snapshot mode corresponding to each of the historical vehicle types, includes: determining license plate height information corresponding to each historical vehicle type according to a plurality of historical vehicle types; determining an image recognition area of the snapshot camera according to the height information of the license plate; determining a snapshot mode based on the identified region of the snapshot camera.
By adopting the technical scheme, after the corresponding vehicle type is determined by the electronic equipment through the historical image information, the electronic equipment determines each phase parameter of the vehicle corresponding to each vehicle type according to a plurality of historical vehicle types, wherein the license plate height information comprises the license plate height information, because various parameters such as the size of the vehicle body, the height of a chassis, the installation position of the license plate relative to the vehicle body and the like among vehicles of different types have larger differences, and the license plate height information is a main parameter influencing the image presentation position of the license plate of the vehicle captured by the capturing camera; and then the electronic equipment determines configuration parameters, namely an image recognition area, of the snapshot camera containing the head of the historical vehicle and the license plate according to the license plate height information, and further determines a snapshot mode corresponding to the type of the historical vehicle according to the snapshot image recognition area.
In a possible implementation manner of the embodiment of the present application, determining the snapshot modes corresponding to each historical vehicle type respectively includes: acquiring a shooting angle of a snapshot camera; determining the shooting range of the snapshot camera according to the shooting angle of the snapshot camera; and determining the snapshot mode corresponding to each historical vehicle type based on the shooting range of the snapshot camera.
By adopting the technical scheme, although the installation mode of the snapshot camera is fixed installation and the shooting mode is fixed range shooting, the shooting position and the shooting range of the snapshot camera will change due to factors such as human collision or vehicle scratch and the like along with the passage of time, therefore, before the snapshot mode corresponding to each historical vehicle type is determined, the electronic equipment acquires the shooting angle of the snapshot camera, the shooting range of the snapshot camera is determined, the snapshot mode corresponding to each historical vehicle type is determined based on the shooting range of the snapshot camera, and the accuracy of determining the snapshot mode corresponding to each historical vehicle type is improved.
In a possible implementation manner of the embodiment of the present application, in step S103, when a vehicle corresponding to a vehicle type reaches a position of the ground induction coil, a snapshot instruction is generated, which includes: when a vehicle corresponding to the type of the vehicle reaches a position corresponding to a preset ground induction coil, acquiring first speed information of the vehicle; when the preset unit time length is finished, second speed information of the vehicle is obtained; determining acceleration information of the vehicle according to the first speed information and the second speed information; determining the vehicle stopping duration according to the first speed information and the vehicle acceleration information; and when the vehicle stop time length is over, generating a snapshot instruction.
By adopting the technical scheme, the snapshot camera can adjust the focal length in the process of triggering shooting to finish shooting action so as to ensure that an image containing clear content can be obtained, if a moving object exists in the shooting range in the process of focusing the snapshot camera, the snapshot camera cannot finish focusing within preset time aiming at the moving object, and finally the object can be in a fuzzy state in the captured image so as to process the later-stage image and obtain related information, so that adverse effects can be caused; therefore, when the vehicle runs to the position of the ground induction coil, the electronic equipment acquires the current vehicle speed, namely first speed information, through the speed sensor arranged on the toll station lane, the electronic equipment starts timing at the preset time, and after the preset time is over, acquires the current vehicle speed, namely second speed information, through the speed sensor arranged on the toll station lane again, and then determines the current vehicle acceleration information through calculation; calculating the time length required by the current vehicle to stop, namely the vehicle stopping time length, based on the first speed information and the vehicle acceleration information; when the vehicle stop duration is over, the electronic equipment generates a snapshot instruction and controls the snapshot camera to snapshot so as to obtain an image containing clear vehicle information, and therefore the success rate of obtaining the accurate license plate of the vehicle is improved.
The above embodiments describe a method for capturing an image of a camera from the perspective of a method flow, and the following embodiments describe an apparatus for capturing an image of a camera from the perspective of a virtual module or a virtual unit, which are described in detail in the following embodiments.
Referring to fig. 2, the image capturing apparatus 100 of the camera may specifically include: a first vehicle type determination module 1001, a mode determination module 1002, an instruction generation module 1003, and a snapshot control module 1004, wherein,
a first vehicle type determination module 1001 for determining a vehicle type;
the first mode determining module 1002 is configured to substitute a vehicle type into a preset vehicle database for comparison, and determine a snapshot mode corresponding to the vehicle type;
the first instruction generation module 1003 is used for generating a snapshot instruction when a vehicle corresponding to the vehicle type reaches the position of the ground induction coil;
and the snapshot control module 1004 is used for controlling the snapshot camera to snapshot the vehicle according to the snapshot mode and the snapshot instruction.
In a possible implementation manner of the embodiment of the present application, the image capturing apparatus 100 of the camera further includes: an image acquisition module, a size acquisition module, and a second vehicle type determination module, wherein,
the first image acquisition module is used for acquiring first image information, and the first image information represents the image information of the vehicle in the lane shot by the lane camera;
the size acquisition module is used for determining size information of the vehicle contained in the first image information according to the first image information;
and the second vehicle type determining module is used for determining the vehicle type according to the size information of the vehicle contained in the first image information and the preset vehicle size information.
In a possible implementation manner of the embodiment of the present application, the image capturing apparatus 100 of the camera further includes: a first obtaining module and a third vehicle type determining module, wherein,
the first acquisition module is used for acquiring the information of the number of axles of the vehicle and the information of the weight of the vehicle;
and the third vehicle type determining module is used for determining the vehicle type based on the vehicle axle number information and the vehicle weight information.
In a possible implementation manner of the embodiment of the present application, the image capturing apparatus 100 of the camera further includes: a second image acquisition module, a fourth vehicle type determination module, a second mode determination module and a database construction module, wherein,
the second image acquisition module is used for acquiring a plurality of historical image information, and the historical image information represents the image information of the vehicle captured by the capturing camera;
the fourth vehicle type determining module is used for determining a plurality of historical vehicle types according to the plurality of historical image information;
the second mode determining module is used for determining a snapshot mode corresponding to each historical vehicle type based on a plurality of historical vehicle types;
and the database construction module is used for constructing a preset vehicle database by a plurality of historical vehicle types and snap-shooting modes respectively corresponding to each historical vehicle type.
In a possible implementation manner of the embodiment of the present application, the image capturing apparatus 100 of the camera further includes: a height determination module, a region determination module, and a third mode determination module, wherein,
the height determining module is used for determining license plate height information corresponding to each historical vehicle type according to a plurality of historical vehicle types;
the region determining module is used for determining an image recognition region of the snapshot camera according to the height information of the license plate;
and the third mode determining module is used for determining a snapshot mode based on the identification area of the snapshot camera.
In a possible implementation manner of the embodiment of the present application, the image capturing apparatus 100 of the camera further includes: a second acquisition module, a range determination module, and a fourth mode determination module, wherein,
the second acquisition module is used for acquiring the shooting angle of the snapshot camera;
the range determining module is used for determining the shooting range of the snapshot camera according to the shooting angle of the snapshot camera;
and the fourth mode determining module is used for determining the snapshot modes corresponding to the historical vehicle types respectively based on the shooting ranges of the snapshot cameras.
In a possible implementation manner of the embodiment of the present application, the image capturing apparatus 100 of the camera further includes: a first speed acquisition module, a second speed acquisition module, an acceleration determination module, a duration determination module and a second instruction generation module, wherein,
the system comprises a first speed acquisition module, a second speed acquisition module and a control module, wherein the first speed acquisition module is used for acquiring first speed information of a vehicle when the vehicle corresponding to the vehicle type reaches the position of a ground induction coil;
the second speed acquisition module is used for acquiring second speed information of the vehicle when the preset unit time length is finished;
the acceleration determining module is used for determining the acceleration information of the vehicle according to the first speed information and the second speed information;
the time length determining module is used for determining the vehicle stopping time length according to the first speed information and the vehicle acceleration information;
and the second instruction generating module is used for generating a snapshot instruction when the vehicle stopping time length is finished.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiment of the present application also introduces an electronic device from the perspective of a physical apparatus, as shown in fig. 3, an electronic device 1100 shown in fig. 3 includes: a processor 1101, and a memory 1103. The processor 1101 is coupled to the memory 1103, such as by a bus 1102. Optionally, the electronic device 1100 may also include a transceiver 1104. It should be noted that the transceiver 1104 is not limited to one in practical applications, and the structure of the electronic device 1100 is not limited to the embodiment of the present application.
The Processor 1101 may be a CPU (Central Processing Unit), a general purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 1101 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
Bus 1102 may include a path that transfers information between the above components. The bus 1102 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 1102 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
The Memory 1103 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other storage medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
The memory 1103 is used for storing application program codes for executing the present application, and the execution is controlled by the processor 1101. The processor 1101 is configured to execute application code stored in the memory 1103 to implement the content shown in the foregoing method embodiments.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a few embodiments of the present application and it should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present application, and that these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. An image capturing method of a camera, comprising:
determining a vehicle type;
substituting the vehicle type into a preset vehicle database for comparison, and determining a snapshot mode corresponding to the vehicle type;
when the vehicle corresponding to the vehicle type reaches the position of the ground induction coil, generating a snapshot instruction;
and controlling a snapshot camera to snapshot the vehicle according to the snapshot mode and the snapshot instruction.
2. The method of claim 1, wherein the determining the vehicle type comprises:
acquiring first image information representing image information of a vehicle in a lane shot by a lane camera;
determining size information of the vehicle contained in the first image information according to the first image information;
and determining the type of the vehicle according to the size information of the vehicle and preset vehicle size information contained in the first image information.
3. The method of claim 1, wherein the determining the vehicle type further comprises:
acquiring vehicle axle number information and vehicle weight information;
determining a vehicle type based on the vehicle axle count information and the vehicle weight information.
4. The method of claim 1, wherein said substituting said vehicle type into a pre-set vehicle database for comparison previously comprises:
acquiring a plurality of historical image information, wherein the historical image information represents the image information of the vehicle captured by the capturing camera;
determining a plurality of historical vehicle types according to a plurality of historical image information;
determining a snapshot mode corresponding to each historical vehicle type based on a plurality of historical vehicle types;
and constructing a preset vehicle database according to the plurality of historical vehicle types and the snapshot modes respectively corresponding to the historical vehicle types.
5. The method according to claim 4, wherein the determining a snapshot mode corresponding to each of the historical vehicle types respectively based on the plurality of historical vehicle types comprises:
determining license plate height information corresponding to each historical vehicle type according to the plurality of historical vehicle types;
determining an image recognition area of a snapshot camera according to the license plate height information;
and determining a snapshot mode based on the identification area of the snapshot camera.
6. The method of claim 4, wherein said determining a snap-shot pattern corresponding to each of said historical vehicle types previously comprises:
acquiring a shooting angle of a snapshot camera;
determining the shooting range of the snapshot camera according to the shooting angle of the snapshot camera;
and determining the snapshot modes respectively corresponding to the historical vehicle types based on the shooting range of the snapshot camera.
7. The method according to claim 1, wherein when the vehicle corresponding to the vehicle type reaches the position of the ground induction coil, generating a snapshot instruction comprises:
when a vehicle corresponding to the vehicle type reaches the position of the ground induction coil, acquiring first speed information of the vehicle;
when the preset unit time length is finished, second speed information of the vehicle is obtained;
determining acceleration information of the vehicle according to the first speed information and the second speed information;
determining the vehicle stopping duration according to the first speed information and the vehicle acceleration information;
and generating a snapshot instruction after the vehicle stopping time length is finished.
8. A camera image capturing apparatus, comprising:
a first vehicle type determination module for determining a vehicle type;
the mode determining module is used for substituting the vehicle type into a preset vehicle database for comparison and determining a snapshot mode corresponding to the vehicle type;
the instruction generation module is used for generating a snapshot instruction when the vehicle corresponding to the vehicle type reaches the position of the ground induction coil;
and the snapshot control module is used for controlling a snapshot camera to snapshot the vehicle according to the snapshot mode and the snapshot instruction.
9. An electronic device, comprising:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, the at least one application to: a method of capturing an image of a camera according to any one of claims 1 to 7.
10. A computer-readable storage medium on which a computer program is stored, characterized in that when the computer program is executed in a computer, it causes the computer to execute the image capturing method of a video camera according to any one of claims 1 to 7.
CN202210787937.2A 2022-07-06 2022-07-06 Image capturing method and device of camera, electronic equipment and storage medium Pending CN115083170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210787937.2A CN115083170A (en) 2022-07-06 2022-07-06 Image capturing method and device of camera, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210787937.2A CN115083170A (en) 2022-07-06 2022-07-06 Image capturing method and device of camera, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115083170A true CN115083170A (en) 2022-09-20

Family

ID=83257496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210787937.2A Pending CN115083170A (en) 2022-07-06 2022-07-06 Image capturing method and device of camera, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115083170A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1063987A (en) * 1996-08-23 1998-03-06 Mitsubishi Heavy Ind Ltd Car family discriminating device
KR20080054623A (en) * 2006-12-13 2008-06-18 김정구 Apparatus for sensing vehicle's parking-condition and recognizing vehicle's identification plate
CN103794056A (en) * 2014-03-06 2014-05-14 北京卓视智通科技有限责任公司 Vehicle type accurate classification system and method based on real-time double-line video stream
CN205680288U (en) * 2016-06-21 2016-11-09 于洋 A kind of Car license recognition auxiliary mends capturing system
CN208538334U (en) * 2018-06-13 2019-02-22 智慧互通科技有限公司 A kind of parking management device based on polymorphic type image
KR102100965B1 (en) * 2019-05-27 2020-04-14 주식회사 엔슨소프트 System for analyzing vehicle information on multi-lane embedded a camera and analyzing method using thereof
CN113112798A (en) * 2021-04-09 2021-07-13 苏庆裕 Vehicle overload detection method, system and storage medium
US20210400190A1 (en) * 2020-06-22 2021-12-23 Toyota Jidosha Kabushiki Kaisha Partial image generating device, storage medium storing computer program for partial image generation and partial image generating method
CN114022874A (en) * 2021-11-04 2022-02-08 中科蓝卓(北京)信息科技有限公司 Mobile vehicle license plate camera device and method
KR20220049864A (en) * 2020-10-15 2022-04-22 에스케이텔레콤 주식회사 Method of recognizing license number of vehicle based on angle of recognized license plate

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1063987A (en) * 1996-08-23 1998-03-06 Mitsubishi Heavy Ind Ltd Car family discriminating device
KR20080054623A (en) * 2006-12-13 2008-06-18 김정구 Apparatus for sensing vehicle's parking-condition and recognizing vehicle's identification plate
CN103794056A (en) * 2014-03-06 2014-05-14 北京卓视智通科技有限责任公司 Vehicle type accurate classification system and method based on real-time double-line video stream
CN205680288U (en) * 2016-06-21 2016-11-09 于洋 A kind of Car license recognition auxiliary mends capturing system
CN208538334U (en) * 2018-06-13 2019-02-22 智慧互通科技有限公司 A kind of parking management device based on polymorphic type image
KR102100965B1 (en) * 2019-05-27 2020-04-14 주식회사 엔슨소프트 System for analyzing vehicle information on multi-lane embedded a camera and analyzing method using thereof
US20210400190A1 (en) * 2020-06-22 2021-12-23 Toyota Jidosha Kabushiki Kaisha Partial image generating device, storage medium storing computer program for partial image generation and partial image generating method
KR20220049864A (en) * 2020-10-15 2022-04-22 에스케이텔레콤 주식회사 Method of recognizing license number of vehicle based on angle of recognized license plate
CN113112798A (en) * 2021-04-09 2021-07-13 苏庆裕 Vehicle overload detection method, system and storage medium
CN114022874A (en) * 2021-11-04 2022-02-08 中科蓝卓(北京)信息科技有限公司 Mobile vehicle license plate camera device and method

Similar Documents

Publication Publication Date Title
CN107195198B (en) Roadside parking management method and system based on image recognition technology
CN108389396B (en) Vehicle type matching method and device based on video and charging system
CN112258668A (en) Method for detecting roadside vehicle parking behavior based on high-position camera
CN111325858A (en) Method for realizing automatic charging management aiming at roadside temporary parking space
CN112382104B (en) Roadside parking management method based on vehicle track analysis
CN110853366A (en) Method and device for detecting parking position of vehicle
CN112172797B (en) Parking control method, device, equipment and storage medium
KR20140027661A (en) Ticketless toll gate system using plural camera
CN110232324A (en) A kind of automatic recognition system and method for expressway tol lcollection vehicle
TWI597692B (en) Parking billing method
CN108305276B (en) Stereo contrast device for vehicle
CN115083170A (en) Image capturing method and device of camera, electronic equipment and storage medium
JP3004501B2 (en) Vehicle type identification device
CN113103957A (en) Blind area monitoring method and device, electronic equipment and storage medium
CN110880205A (en) Parking charging method and device
CN113705549B (en) Road rescue work node determination method and device and related equipment
CN115965636A (en) Vehicle side view generating method and device and terminal equipment
CN116100547A (en) Lane robot system and control method thereof
CN115641728A (en) ETC (electronic toll collection) inspection method, system, electronic equipment and medium
CN116152691A (en) Image detection method, device, equipment and storage medium
CN114332681A (en) Vehicle identification method and device
CN113610899A (en) Non-inductive refueling method based on video streaming event
CN112687108B (en) Detection method and detection device for man-vehicle matching, shooting device and storage medium
CN116709035B (en) Exposure adjustment method and device for image frames and computer storage medium
CN113409502B (en) Method, device and system for controlling vehicle to pass and electronic equipment

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