CN109963029A - Localization method and device - Google Patents
Localization method and device Download PDFInfo
- Publication number
- CN109963029A CN109963029A CN201711414402.6A CN201711414402A CN109963029A CN 109963029 A CN109963029 A CN 109963029A CN 201711414402 A CN201711414402 A CN 201711414402A CN 109963029 A CN109963029 A CN 109963029A
- Authority
- CN
- China
- Prior art keywords
- information
- location information
- location
- vehicle
- image acquisition
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Abstract
The present embodiments relate to field of locating technology, more particularly to a kind of localization method and device, applied to the image collecting device for being associated with vehicle administration office's system and business system, method includes: to be captured the vehicle passed through in candid photograph range to obtain vehicle image, and obtain the candid photograph moment for capturing the vehicle image, cell-phone number information corresponding with the vehicle image is obtained from vehicle administration office's system, and mobile terminal corresponding with the cell-phone number information is obtained from the business system in the location information for capturing the moment, the location information of described image acquisition device is obtained according to the location information.By the above method the cost positioned to described image acquisition device is effectively reduced.
Description
Technical field
The present invention relates to field of locating technology, in particular to a kind of localization method and device.
Background technique
In the application of intelligent transportation industry, web camera also gradually spreads over each corner in city.Existing network
The mode of the position acquisition of video camera is usually to use to be manually entered coordinate to data system, or install and determine on web camera
Position module is to obtain the position of corresponding web camera by locating module.
It is in turn resulted in into through inventor the study found that a large amount of manpower and material resources can be expended by the way of being manually entered coordinate
This excessively high problem has that cost is excessively high by the way of installing locating module on camera, therefore above two
Mode all has that positioning cost is excessively high.
Summary of the invention
In view of this, it is applied to image collecting device the purpose of the present invention is to provide a kind of localization method and device, with
The cost positioned to image collecting device is effectively reduced.
Present pre-ferred embodiments provide a kind of localization method, are applied to image collecting device, described image acquisition device
It is associated with vehicle administration office's system and business system, which comprises
It is captured to the vehicle passed through in range is captured to obtain vehicle image, and obtains and capture the vehicle image
Capture the moment;
Obtain corresponding with vehicle image cell-phone number information from vehicle administration office's system, and from the operation quotient system
Mobile terminal corresponding with the cell-phone number information is obtained in system in the location information for capturing the moment;
The location information of described image acquisition device is obtained according to the location information.
Optionally, in above-mentioned localization method, predeterminable area, the vehicle image are stored in described image acquisition device
To be multiple, the location information be it is multiple, it is described that the location information of described image acquisition device is obtained according to the location information
The step of include:
Location information in multiple location informations not within the scope of the predeterminable area is filtered out, to obtain being located at institute
State the multiple regions location information within the scope of predeterminable area;
Preset algorithm is used to be filtered the multiple area locating information to obtain multiple centralized positioning information;
The location information of described image acquisition device is obtained according to the multiple centralized positioning information.
Optionally, in above-mentioned localization method, use preset algorithm to the multiple area locating information be filtered with
The step of obtaining multiple centralized positioning information include:
The multiple area locating information is calculated to obtain the first center location information;
The maximum value of the distance of first center location information will be arrived in the multiple area locating information as first
Distance value, and second distance value is obtained according to default slack variable and the first distance value;
It obtains using first center location information as the center of circle, second distance value is more in the first range that radius obtains
A first location information;
Judge the quantity of the multiple first location information and the quantity of multiple area locating informations ratio whether
Less than setting value, if being less than, by location information centered on each first location information;
If more than, then using each first location information as the area locating information, and return execution to described more
The step of a area locating information is calculated to obtain the first center location information, until multiple first positioning retrieved
When the ratio of the quantity of the quantity of information and multiple area locating informations is less than the setting value, will retrieve each the
Location information centered on one location information.
Optionally, in above-mentioned localization method, be stored in described image acquisition device it is default capture distance, execute from
Obtained in the business system corresponding with cell-phone number information mobile terminal the location information at candid photograph moment the step of it
Afterwards, the method also includes:
From obtained in the business system corresponding with cell-phone number information mobile terminal before capturing the moment or
The location information of preset duration is later to obtain location information collection;
The step of obtaining the location information of described image acquisition device according to the multiple centralized positioning information include:
It concentrates from the location information and is preset before or after obtaining each centralized positioning information corresponding candid photograph moment
The location information of duration, according to each centralized positioning information and before or after each centralized positioning information corresponding candid photograph moment
The location information of preset duration obtains the motion vector of corresponding vehicle, and each motion vector is overlapped to obtain correction arrow
Amount;
The multiple centralized positioning information is carried out that location of the core information is calculated;
Described image acquisition device is obtained according to the location of the core information, correcting vector and the candid photograph distance
Location information.
Optionally, in above-mentioned localization method, hand corresponding with the vehicle image is obtained from vehicle administration office's system
The step of machine information includes:
Corresponding information of vehicles is obtained according to the vehicle image;
Cell-phone number information corresponding with the information of vehicles is obtained from vehicle administration office's system.
The present invention also provides a kind of positioning devices, are applied to image collecting device, and described image acquisition device is associated with vehicle
Pipe institute's system and business system, described device include:
Module is captured, for being captured the vehicle passed through in candid photograph range to obtain vehicle image, and obtains candid photograph
The candid photograph moment of the vehicle image;
Location information obtains module, for obtaining cell-phone number corresponding with the vehicle image from vehicle administration office's system
Information, and mobile terminal corresponding with the cell-phone number information is obtained in the positioning letter for capturing the moment from the business system
Breath;
Location information generation module, for obtaining the location information of described image acquisition device according to the location information.
Optionally, in above-mentioned positioning device, predeterminable area, the vehicle image are stored in described image acquisition device
To be multiple, the location information be it is multiple, the location information generation module includes:
First filter submodule, for believing the positioning in multiple location informations not within the scope of the predeterminable area
Breath filters out, to obtain the multiple regions location information being located within the scope of the predeterminable area;
Second filter submodule is more to obtain for using preset algorithm to be filtered the multiple area locating information
A centralized positioning information;
Location information generates submodule, for obtaining described image acquisition device according to the multiple centralized positioning information
Location information.
Optionally, in above-mentioned positioning device, second filter submodule includes:
Computing unit, for being calculated the multiple area locating information to obtain the first center location information;
Information acquisition unit, for obtaining using first center location information as the center of circle, second distance value obtains for radius
Multiple first location informations in the first range arrived;
Judging unit, for judging the quantity of the multiple first location information and the number of multiple area locating informations
Whether the ratio of amount is less than setting value, if being less than, by location information centered on each first location information, if more than,
Then using each first location information as the area locating information, and the computing unit is triggered to execute to the multiple
Area locating information is calculated to obtain the first center location information.
Optionally, in above-mentioned positioning device, default candid photograph distance is stored in described image acquisition device;
The location information obtains module, is also used to obtain from the business system corresponding with the cell-phone number information
Mobile terminal preset duration before or after capturing the moment location information to obtain location information collection;
The location information generates submodule
Vector generation unit, when obtaining the corresponding candid photograph of each centralized positioning information for concentrating from the location information
The location information of preset duration before or after quarter, according to each centralized positioning information and each centralized positioning information is corresponding grabs
The location information of preset duration obtains the motion vector of corresponding vehicle before or after clapping the moment, and by each motion vector into
Row superposition obtains correcting vector;
Location of the core letter is calculated for carrying out to the multiple centralized positioning information in location information generation unit
Breath;
Location information generation unit, for according to the location of the core information, correcting vector and the candid photograph distance
Obtain the location information of described image acquisition device.
Optionally, in above-mentioned positioning device, the location information obtains module and includes:
First information acquisition submodule, for obtaining corresponding information of vehicles according to the vehicle image;
Second acquisition of information submodule, for obtaining mobile phone corresponding with the information of vehicles from vehicle administration office's system
Number information.
A kind of localization method and device provided in an embodiment of the present invention, applied to be associated with vehicle administration office's system and operation quotient system
The image collecting device of system obtains vehicle image by being captured to the vehicle passed through in candid photograph range and captures the vehicle
The candid photograph moment of image, and cell-phone number information corresponding with the vehicle image is obtained from vehicle administration office's system, from institute
It states and obtains mobile terminal corresponding with the cell-phone number information in business system in the location information for capturing the moment, according to
Location information obtains the location information of described image acquisition device, does not need separately to set locating module, does not also need using artificial system
The mode of meter positions image collecting device, to effectively prevent the location information using manual entry image collecting device
When caused by the excessively high problem of cost, and avoid and cost mistake caused by locating module be installed in described image acquisition device
High problem.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of connection block diagram of image collecting device provided in an embodiment of the present invention.
Fig. 2 is a kind of flow diagram of localization method provided in an embodiment of the present invention.
Fig. 3 is the step schematic diagram of step S120 in Fig. 2.
Fig. 4 is the step schematic diagram of step S130 in Fig. 2.
Fig. 5 is the step schematic diagram of step S134 in Fig. 4.
Fig. 6 is the step schematic diagram of step S136 in Fig. 4.
Fig. 7 is a kind of filter effect schematic diagram provided in an embodiment of the present invention.
Fig. 8 is a kind of location diagram provided by the invention.
Fig. 9 is a kind of connection block diagram of positioning device provided in an embodiment of the present invention.
Figure 10 is the connection block diagram that location information provided in an embodiment of the present invention obtains module.
Figure 11 is the connection block diagram of location information generation module provided in an embodiment of the present invention.
Figure 12 is the connection block diagram of the second filter submodule provided in an embodiment of the present invention.
Figure 13 is the connection block diagram that location information provided in an embodiment of the present invention generates submodule.
Icon: 10- image collecting device;12- memory;14- processor;16- communication module;100- positioning device;
110- captures module;120- location information obtains module;122- first information acquisition submodule;124- the second acquisition of information submodule
Block;130- location information generation module;The first filter submodule of 132-;The second filter submodule of 134-;134a- computing unit;
134b- is apart from generation unit;134c- information acquisition unit;134d- judging unit;136- location information generates submodule;
136a- vector generation unit;136b- location information generation unit;136c- location information generation unit.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed
The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, being the block diagram for the image collecting device 10 that present pre-ferred embodiments provide, described image
Acquisition device 10 is associated with vehicle administration office's system and business system, and described image acquisition device 10 includes memory 12, processor
14 and communication module 16.
The memory 12, processor 14 and communication module 16 are directly or indirectly electrically connected between each other, to realize
The transmission or interaction of data.For example, these elements can realize electricity by one or more communication bus or signal wire between each other
Property connection.The software function that the memory 12 is stored in the form of software or firmware (Firmware) is stored in memory 12
Energy module, the software program and module that the processor 14 is stored in memory 12 by operation, such as embodiment of the present invention
In positioning device 100, the positioning side thereby executing various function application and data processing, i.e., in the realization embodiment of the present invention
Method.
In the present embodiment, the finger of described image acquisition device 10 has the function of image and video acquisition, and has at data
Reason ability.Described image acquisition device 10 can be video camera, camera etc., wherein the video camera can image for holder
Machine, ball machine, web camera etc., are not specifically limited herein.
The memory 12 may be, but not limited to, random access memory (Random Access Memory, RAM),
Read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
The memory 12 is for storing program, for example, function mould corresponding to positioning device provided by the invention 100
Block can execute the functional module by the processor 14 to realize the purpose positioned to image collecting device 10.
The communication module 16 is used for the communication link established between vehicle administration office's system and business system by network
It connects, and for passing through the network sending and receiving data.
It is appreciated that structure shown in FIG. 1 is only to illustrate, image collecting device 10 may also include more than shown in Fig. 1
Perhaps less component or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software
Or combinations thereof realize.
Referring to Fig. 2, the present invention provides a kind of localization method, the localization method is applied to described image acquisition device
10, the method includes the steps tri- steps of S110- step S130.
Step S110: it is captured to the vehicle passed through in range is captured to obtain vehicle image, and is obtained described in candid photograph
The candid photograph moment of vehicle image.
Wherein, the vehicle image can be one and be also possible to multiple, and capturing the vehicle passed through in range can be one
, it is also possible to more, is not specifically limited herein.When the vehicle image is multiple, multiple described vehicle images can be with
It captures to obtain in different moments for same vehicle, is also possible to be directed to what different vehicles was captured, herein
It is not especially limited.
Step S120: obtaining corresponding with vehicle image cell-phone number information from vehicle administration office's system, and from institute
It states and obtains mobile terminal corresponding with the cell-phone number information in business system in the location information for capturing the moment.
Wherein, each vehicle is stored in vehicle administration office's system prestores vehicle image and/or information of vehicles, the vehicle pipe
It is also prestored in institute's system and respectively prestores user information belonging to vehicle image or the corresponding vehicle of information of vehicles etc., wherein institute
Stating information of vehicles includes license board information, and the information of vehicles can also include colouring information, type information and information etc., institute
State phone number information and the name information etc. that user information includes user.Each phone number is stored in the business system
Location information of the corresponding mobile terminal of information in different moments.
The mode that cell-phone number information corresponding with the vehicle image is obtained from vehicle administration office's system may is that from institute
It states to obtain in vehicle administration office's system and prestores vehicle image with what the vehicle image matched, and vehicle image is prestored according to this and is obtained
The cell-phone number for including in corresponding user information;It is also possible to obtain vehicle according to the vehicle image that described image device is captured
Information, and the mobile phone that user information corresponding with the information of vehicles includes is obtained according to the information of vehicles from the vehicle administration office
Number information.It is not specifically limited herein, is configured according to actual needs.
Incorporated by reference to Fig. 3, in the present embodiment, mobile phone corresponding with the vehicle image is obtained from vehicle administration office's system
The step of number information includes:
Step S122: corresponding information of vehicles is obtained according to the vehicle image.
Step S124: cell-phone number information corresponding with the information of vehicles is obtained from vehicle administration office's system.
Wherein, can be according to the mode that the vehicle image obtains corresponding information of vehicles, to the vehicle image into
To obtain the information of vehicles, the information of vehicles includes license plate number information, information and/or model letter for row parsing and identification
Breath etc..When the information of vehicles is license plate number information, obtained from vehicle administration office's system corresponding with the license plate number information
Phone number information.
Step S130: the location information of described image acquisition device 10 is obtained according to the location information.
Wherein, when the location information is multiple, then described image acquisition device is obtained according to each location information
10 location information then obtains described image acquisition device 10 according to the location information when the location information is one
Location information is not specifically limited herein, and is chosen according to actual needs.
By the above method, when effectively preventing the position using artificial statistical picture acquisition device 10 caused by cost mistake
High problem, and avoid and the excessively high problem of cost caused by locating module is installed in image collecting device 10.In addition, with
Mobile terminal popularity rate is higher and higher and the navigation of mobile terminal and positioning function are become better and better, by from operator
The location information that the corresponding mobile terminal of the phone number information is obtained in system, can be obtained with effective guarantee according to location information
The accuracy of the position of the described image acquisition device 10 arrived.
User as driving vehicle may not be user belonging to the corresponding phone number information of vehicle image, thus can
It is excessive there is the distance between 10 position of image collecting device position corresponding with location information, so as to believe according to positioning
The case where ceasing obtained location information there are large errors.
When to avoid obtaining described image acquisition device 10 according to location information the case where existing large error.Incorporated by reference to
Fig. 4 optionally in the present embodiment, is stored with predeterminable area, the vehicle image is more in described image acquisition device 10
It is a, the location information be it is multiple, the location information that described image acquisition device 10 is obtained according to the location information
Step includes step S132- step tri- steps of S136.
Step S132: the location information in multiple location informations not within the scope of the predeterminable area is filtered out, with
Obtain the multiple regions location information being located within the scope of the predeterminable area.
Wherein, the predeterminable area can be the city scope region at 10 place of described image acquisition device, town-wide
Region or street range, are chosen according to actual needs, are not specifically limited herein.By the way that multiple positioning are believed
Location information in breath not within the scope of the predeterminable area filters out, described effectively to avoid being obtained according to each location information
The situation for causing error excessive when the location information of image collecting device 10.The quantity of multiple vehicle images can be but not limited to
200,400 or 500 etc., it is not specifically limited herein.
Step S134: preset algorithm is used to be filtered the multiple area locating information to obtain multiple centralized positionings
Information.
Wherein, the preset algorithm can be but not limited to using average algorithm, take median algorithm, clustering algorithm or in
Heart point algorithm, is not specifically limited herein.Through the above steps to further filter out the location information there are large error.
Incorporated by reference to Fig. 5, optionally, in the present embodiment, the multiple area locating information is carried out using preset algorithm
Filtering is to include step S134a, step S134b and tri- steps of step S134c the step of obtaining multiple centralized positioning information.
Step S134a: the multiple area locating information is calculated to obtain the first center location information.
Wherein, the mode for be calculated the first center location information to the multiple zone location can be, to institute
It states multiple regions location information and the first center location information is obtained using the calculation being averaged, be also possible to described more
A area locating information is not specifically limited herein using taking median calculation to obtain first center location information.
Step S134b: the maximum of the distance of first center location information will be arrived in the multiple area locating information
Value is used as first distance value, and obtains second distance value according to default slack variable and the first distance value.
Wherein, the default slack variable be greater than 0 and less than 1 between any one numerical value, for example, it may be 0.8,
0.7 or 0.5 etc., it is not specifically limited herein, is configured according to actual needs.
Step S134c: obtaining using first center location information as the center of circle, and second distance value is first that radius obtains
Multiple first location informations in range.
Step S134d: judge the quantity of the multiple first location information and the quantity of multiple area locating informations
Ratio whether be less than setting value.
If being less than, S134e is thened follow the steps: by location information centered on each first location information.
If more than thening follow the steps S134f: using each first location information as the area locating information, and returning
Receipt row step S134a, the step of being calculated the multiple area locating information to obtain the first center location information, directly
To the quantity of the quantity and multiple area locating informations of multiple first location informations retrieved ratio be less than it is described
When setting value, by location information centered on each first location information retrieved.
Wherein, the setting value can be arbitrary numerical value, be also possible to the numerical value obtained according to the slack variable.It can
Choosing, in the present embodiment, the setting value is the numerical value obtained according to the slack variable, for example, working as the slack variable
When being 0.7, the setting value is also 0.7.By above-mentioned setting, to effectively filter out, there are errors in the area locating information
Location information simultaneously obtains centralized positioning information.
Step S136: the location information of described image acquisition device 10 is obtained according to the multiple centralized positioning information.
Pass through the multiple centralized positionings letter obtained according to the location information in the area locating information there are error is filtered out
Breath obtains the location information of described image acquisition device 10, with the accuracy of location information described in effective guarantee.
Conventionally, as the reason of engineering construction, the position and described image acquisition device 10 that vehicle is captured
Between usually there is distance.Therefore, optionally, in the present embodiment, default candid photograph is stored in described image acquisition device 10
Distance, the step of location information of described image acquisition device 10 is obtained according to the multiple centralized positioning information are as follows: to multiple
The centralized positioning information seek mean value computation or seek median calculation obtaining location of the core information, according to the center
Point location information and the default candid photograph distance obtain the location information of described image acquisition device 10.
It should be noted that described image acquisition device 10 can be installed on straight trip section or intersection etc., therefore institute
The candid photograph range for stating image collecting device 10 is with 10 position of described image acquisition device for circle, and the candid photograph distance is
On circle where radius, to acquire the vehicle image when vehicle driving on different directions.
It optionally in the present embodiment, is being executed from the operation for the accuracy for further ensureing the location information
Mobile terminal corresponding with the cell-phone number information is obtained in quotient system system after the step of capturing the location information at moment, the side
Method further include:
From obtained in the business system corresponding with cell-phone number information mobile terminal before capturing the moment or
The location information of preset duration is later to obtain location information collection.
Wherein, the preset duration can be one second, two seconds or one minute, be not specifically limited herein, according to practical need
It asks and is configured, be not specifically limited herein.
Incorporated by reference to Fig. 6, optionally, in the present embodiment, described image is obtained according to the multiple centralized positioning information and is adopted
The step of location information of acquisition means 10 includes step S136a, step S136b and step S136c.
Step S136a: it is concentrated from the location information before obtaining each centralized positioning information corresponding candid photograph moment
Or the location information of preset duration later, according to each centralized positioning information and each centralized positioning information corresponding candid photograph moment
Before or after the location information of preset duration obtain the motion vector of corresponding vehicle, and each motion vector is overlapped
Obtain correcting vector.
Specifically, it is directed to each centralized positioning information, it is corresponding from the location information and middle acquisition centralized positioning information
The location information for capturing preset duration before or after the moment, and it is corresponding according to the centralized positioning information and centralized positioning information
The candid photograph moment before or after the location information of preset duration obtain the motion vector that the centralized positioning information corresponds to vehicle;It will
The motion vector of the corresponding vehicle of each centralized positioning information is overlapped to obtain correcting vector.
Step S136b: the multiple centralized positioning information is carried out that location of the core information is calculated.
Wherein, the mode for be calculated location of the core information to the multiple centralized positioning information can be to institute
It states multiple location of the core information and seeks mean value and obtain location of the core information, or intermediate value is sought to the location of the core information
Location of the core information is obtained, is not specifically limited herein, is chosen according to actual needs.
Step S136c: described image is obtained according to the location of the core information, correcting vector and the candid photograph distance
The location information of acquisition device 10.
Wherein, described image acquisition is obtained according to the location of the core information, correcting vector and the candid photograph distance
The mode of the location information of device 10 can be, by after the correcting vector and candids photograph distance progress product with the center
Point location information is overlapped to obtain the location information of described image acquisition device 10.
It is opposite to obtain the location of the core information by the way that the correcting vector is carried out product with the candid photograph distance
Direction and distance in this direction in described image acquisition device 10, the product and the center position information are folded
Obtained the location information of described image acquisition device 10.By above-mentioned setting, further to have ensured described image acquisition
The accuracy of the location information of device 10.
Incorporated by reference to Fig. 7 and Fig. 8, with the vehicle image captured for multiple, for corresponding obtained location information is multiple,
Location information in multiple location informations not within the scope of the predeterminable area is filtered out, to obtain being located at the preset areas
Multiple regions location information within the scope of domain uses preset algorithm to be filtered the multiple area locating information more to obtain
The implementation process of a centralized positioning information is as follows: when the GPS coordinate range of the predeterminable area is S (a, b), when N (c, d), leading to
It crosses and filters out the location information not within the scope of the predeterminable area, so that the location information except the predeterminable area range
W1 and W2 will be filtered, to obtain the multiple regions location information being located within the scope of the predeterminable area, to the multiple region
Location information seeks mean value will arrive first centre bit in the multiple area locating information to the first center location information
Default slack variable is carried out product with the first distance value and obtained by the maximum value of the distance of confidence breath as first distance value
Second distance value is obtained using first center location information as the center of circle, and second distance value is in the first range that radius obtains
Multiple first location informations, and judge the quantity of the multiple first location information and the number of multiple area locating informations
Whether the ratio of amount is less than setting value, if be less than if by each first location information centered on location information;If more than then
Using each first location information as the area locating information, and returns to execution and the multiple area locating information is carried out
The step of calculating to obtain the first center location information, until the quantity of multiple first location informations retrieved and multiple institutes
When stating the ratio of the quantity of area locating information less than the setting value, centered on each first location information retrieved
Location information.By above-mentioned setting to filter out the biggish location information of error, such as N1, N2 and N3 in Fig. 7.
It completes that preset algorithm is used to be filtered the multiple area locating information to obtain multiple centralized positioning letters
After breath, mean value is sought to each centralized positioning information and obtains location of the core information (x, y), concentrated from location information and obtain each institute
The corresponding location information for capturing preset duration before or after the moment of centralized positioning information is stated, is believed according to each centralized positioning
The location information of preset duration obtains the fortune of corresponding vehicle before or after ceasing the candid photograph moment corresponding with each centralized positioning information
Dynamic vector, and be overlapped each motion vector to obtain correcting vector (x1, y1), by the correcting vector and the candid photograph
Distance L is added with the location of the core information after being multiplied to obtain the location information (x+x of described image acquisition device 101* L,
y+y1*L).By the above method, the position error of described image acquisition device 10 is effectively relieved and has been effectively reduced to the figure
The cost positioned as acquisition device 10.
Incorporated by reference to Fig. 9, the present invention also provides a kind of positioning device 100, described image acquisition device 10 is associated with vehicle administration office
System and business system, the positioning device 100 include capturing module 110, location information acquisition module 120 and location information
Generation module 130.
The module 110 of capturing is used to capture to obtain vehicle image the vehicle passed through in candid photograph range, and obtains
Take the candid photograph moment for capturing the vehicle image.Specifically, the candid photograph module 110 can be used for executing step shown in Fig. 2
S110, specific operating method can refer to the detailed description of step S110.
The location information obtains module 120, corresponding with the vehicle image for obtaining from vehicle administration office's system
Cell-phone number information, and obtain corresponding with cell-phone number information mobile terminal at the candid photograph moment from the business system
Location information.Specifically, the location information, which obtains module 120, can be used for executing step S120 shown in Fig. 2, specific to grasp
It can refer to the detailed description of step S120 as method.
Incorporated by reference to Figure 10, optionally, in the present embodiment, it includes: that the first information obtains that the location information, which obtains module 120,
Take submodule 122 and the second acquisition of information submodule 124.
The first information acquisition submodule 122 is used to obtain corresponding information of vehicles according to the vehicle image.Specifically
Ground, the first information acquisition submodule 122 can be used for executing step S122 shown in Fig. 3, and specific operating method can join
Examine the detailed description of step S124.
The second acquisition of information submodule 124 is used to obtain from vehicle administration office's system corresponding with the information of vehicles
Cell-phone number information.Specifically, the second acquisition of information submodule 124 can be used for executing step S124 shown in Fig. 3, tool
The operating method of body can refer to the detailed description of step S124.
The location information generation module 130 is used to obtain the position of described image acquisition device 10 according to the location information
Confidence breath.Specifically, the location information generation module 130 can be used for executing step S130 shown in Fig. 2, specific to operate
Method can refer to the detailed description of step S130.
Incorporated by reference to Figure 11, optionally, in the present embodiment, predeterminable area, institute are stored in described image acquisition device 10
State vehicle image be it is multiple, the location information be it is multiple, the location information generation module 130 includes: the first filtering submodule
Block 132, the second filter submodule 134 and location information generate submodule 136.
First filter submodule 132 be used for by multiple location informations not within the scope of the predeterminable area
Location information filters out, to obtain the multiple regions location information being located within the scope of the predeterminable area.Specifically, first mistake
Filter module 132 can be used for executing step S132 shown in Fig. 4, and specific operating method can refer to retouching in detail for step S132
It states.
Second filter submodule 134 for use preset algorithm to the multiple area locating information be filtered with
Obtain multiple centralized positioning information;Specifically, second filter submodule 134 can be used for executing step shown in Fig. 4
S134, specific operating method can refer to the detailed description of step S134.
Incorporated by reference to Figure 12, optionally, in the present embodiment, second filter submodule 134 includes: computing unit
134a, apart from generation unit 134b, information acquisition unit 134c and judging unit 134d.
The computing unit 134a is for calculating the multiple area locating information to obtain the first center
Information.Specifically, the computing unit 134a can be used for executing step S134a shown in Fig. 5, and specific operating method can join
Examine the detailed description of step S134a.
It is described to be used to that the first centre bit confidence is arrived in the multiple area locating information apart from generation unit 134b
The maximum value of the distance of breath obtains second distance as first distance value, and according to default slack variable and the first distance value
Value.Specifically, described to can be used for executing step S134b shown in Fig. 5 apart from generation unit 134b, specific operating method can
With reference to the detailed description of step S134b.
For obtaining using first center location information as the center of circle, second distance value is the information acquisition unit 134c
Multiple first location informations in the first range that radius obtains.Specifically, the information acquisition unit 134c can be used for executing
Step S134c shown in Fig. 5, specific operating method can refer to the detailed description of step S134c.
The judging unit 134d is used to judge the quantity and multiple zone locations of the multiple first location information
Whether the ratio of the quantity of information is less than setting value.Specifically, the judging unit 134d can be used for executing step shown in Fig. 5
Rapid S134d, specific operating method can refer to the detailed description of step S134d.
Wherein, if the ratio of the quantity of multiple first location informations and the quantity of multiple area locating informations is less than and sets
When definite value, by location information centered on each first location information, if the quantity of multiple first location informations and multiple institutes
When stating the ratio of the quantity of area locating information and being greater than the set value, believe using each first location information as the zone location
Breath, and trigger the computing unit 134a and the multiple area locating information is calculated with executing to obtain the first centre bit
Confidence breath.
The location information generates submodule 136 and is used to obtain described image acquisition according to the multiple centralized positioning information
The location information of device 10.Specifically, the location information, which generates submodule 136, can be used for executing step shown in Fig. 4
S136, specific operating method can refer to the detailed description of step S136.
Optionally, in the present embodiment, default candid photograph distance, the positioning letter are stored in described image acquisition device 10
Breath obtains module 120, is also used to obtain mobile terminal corresponding with the cell-phone number information from the business system and grab
The location information of preset duration is before or after the bat moment to obtain location information collection.
Incorporated by reference to Figure 13, optionally, in the present embodiment, it includes: that vector generates that the location information, which generates submodule 136,
Unit 136a, location information generation unit 136b and location information generation unit 136c.
The vector generation unit 136a is used to concentrate each centralized positioning information of acquisition corresponding from the location information
Capture the moment before or after preset duration location information, according to each centralized positioning information and each centralized positioning information
It is corresponding capture the moment before or after the location information of preset duration obtain the motion vector of corresponding vehicle, and by each fortune
Dynamic vector is overlapped to obtain correcting vector.Specifically, the vector generation unit 136a can be used for executing step shown in Fig. 6
Rapid S136a, specific operating method can refer to the detailed description of step S136a.
The location information generation unit 136b is for the multiple centralized positioning information carrying out that central point is calculated
Location information.Specifically, the location information generation unit 136b can be used for executing step S136b shown in Fig. 6, specifically
Operating method can refer to the detailed description of step S136b.
The location information generation unit 136c is used for according to the location of the core information, correcting vector and described grabs
It claps distance and obtains the location information of described image acquisition device 10.Specifically, the location information generation unit 136c can be used for
Step S136c shown in Fig. 6 is executed, specific operating method can refer to the detailed description of step S136c.
To sum up, a kind of localization method and device provided by the invention, applied to be associated with vehicle administration office's system and operation quotient system
The image collecting device 10 of system, by being captured the vehicle passed through in candid photograph range to obtain described in vehicle image and candid photograph
The candid photograph moment of vehicle image, and cell-phone number information corresponding with the vehicle image is obtained from vehicle administration office's system, from
Mobile terminal corresponding with the cell-phone number information is obtained in the business system in the location information for capturing the moment, according to institute
It states location information and obtains the location information of described image acquisition device 10, determined with realizing to described image acquisition device 10
When position, does not need that locating module is arranged in described image acquisition device 10, do not need by the way of manually counting to institute yet
It states image collecting device 10 to be positioned, cost is excessively high caused by effectively preventing using when manual entry location information asks
Topic, and avoid and the excessively high problem of cost caused by locating module is installed in described image acquisition device 10.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other
Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown
Architectural framework in the cards, function and the behaviour of devices in accordance with embodiments of the present invention, method and computer program product
Make.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute
State in the process, method, article or equipment of element that there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of localization method is applied to image collecting device, which is characterized in that described image acquisition device is associated with vehicle administration office
System and business system, which comprises
It is captured to the vehicle passed through in range is captured to obtain vehicle image, and obtains the candid photograph for capturing the vehicle image
Moment;
Cell-phone number information corresponding with the vehicle image is obtained from vehicle administration office's system, and from the business system
Mobile terminal corresponding with the cell-phone number information is obtained in the location information for capturing the moment;
The location information of described image acquisition device is obtained according to the location information.
2. localization method according to claim 1, which is characterized in that be stored with preset areas in described image acquisition device
Domain, the vehicle image be it is multiple, the location information be it is multiple, it is described according to the location information obtain described image acquisition
The step of location information of device includes:
Location information in multiple location informations not within the scope of the predeterminable area is filtered out, it is described pre- to obtain being located at
If the multiple regions location information in regional scope;
Preset algorithm is used to be filtered the multiple area locating information to obtain multiple centralized positioning information;
The location information of described image acquisition device is obtained according to the multiple centralized positioning information.
3. localization method according to claim 2, which is characterized in that believed using preset algorithm the multiple zone location
Breath is filtered to include: the step of obtaining multiple centralized positioning information
The multiple area locating information is calculated to obtain the first center location information;
The maximum value of the distance of first center location information will be arrived in the multiple area locating information as first distance
Value, and second distance value is obtained according to default slack variable and the first distance value;
It obtains using first center location information as the center of circle, second distance value is multiple the in obtained the first range of radius
One location information;
Judge whether the ratio of the quantity and the quantity of multiple area locating informations of the multiple first location information is less than
Setting value, if being less than, by location information centered on each first location information;
If more than, then using each first location information as the area locating information, and return execution to the multiple area
The step of domain location information is calculated to obtain the first center location information, until multiple first location informations retrieved
Quantity and multiple area locating informations quantity ratio be less than the setting value when, retrieve each first is determined
Location information centered on the information of position.
4. localization method according to claim 2, which is characterized in that be stored with default candid photograph in described image acquisition device
Distance obtains mobile terminal corresponding with the cell-phone number information in the positioning for capturing the moment executing from the business system
After the step of information, the method also includes:
Mobile terminal corresponding with the cell-phone number information is obtained from the business system before or after capturing the moment
The location information of preset duration is to obtain location information collection;
The step of obtaining the location information of described image acquisition device according to the multiple centralized positioning information include:
Preset duration before or after obtaining each centralized positioning information corresponding candid photograph moment is concentrated from the location information
Location information, preset according to each centralized positioning information and before or after each centralized positioning information corresponding candid photograph moment
The location information of duration obtains the motion vector of corresponding vehicle, and is overlapped each motion vector to obtain correcting vector;
The multiple centralized positioning information is carried out that location of the core information is calculated;
The position of described image acquisition device is obtained according to the location of the core information, correcting vector and the candid photograph distance
Information.
5. localization method according to claim 1, which is characterized in that obtained and the vehicle from vehicle administration office's system
The step of image corresponding cell-phone number information includes:
Corresponding information of vehicles is obtained according to the vehicle image;
Cell-phone number information corresponding with the information of vehicles is obtained from vehicle administration office's system.
6. a kind of positioning device is applied to image collecting device, which is characterized in that described image acquisition device is associated with vehicle administration office
System and business system, described device include:
Module is captured, for being captured the vehicle passed through in candid photograph range to obtain vehicle image, and is obtained described in candid photograph
The candid photograph moment of vehicle image;
Location information obtains module, for obtaining cell-phone number letter corresponding with the vehicle image from vehicle administration office's system
Breath, and mobile terminal corresponding with the cell-phone number information is obtained in the location information for capturing the moment from the business system;
Location information generation module, for obtaining the location information of described image acquisition device according to the location information.
7. positioning device according to claim 6, which is characterized in that be stored with preset areas in described image acquisition device
Domain, the vehicle image be it is multiple, the location information be it is multiple, the location information generation module includes:
First filter submodule, for filtering the location information in multiple location informations not within the scope of the predeterminable area
It removes, to obtain the multiple regions location information being located within the scope of the predeterminable area;
Second filter submodule, for using preset algorithm to be filtered to obtain in multiple the multiple area locating information
Heart location information;
Location information generates submodule, for obtaining the position of described image acquisition device according to the multiple centralized positioning information
Information.
8. positioning device according to claim 7, which is characterized in that second filter submodule includes:
Computing unit, for being calculated the multiple area locating information to obtain the first center location information;
Information acquisition unit, for obtaining using first center location information as the center of circle, second distance value is what radius obtained
Multiple first location informations in first range;
Judging unit, for judging the quantity of the multiple first location information and the quantity of multiple area locating informations
Whether ratio is less than setting value, if being less than, by location information centered on each first location information, if more than then will
Each first location information triggers the computing unit as the area locating information to execute to the multiple region
Location information is calculated to obtain the first center location information.
9. positioning device according to claim 8, which is characterized in that be stored with default candid photograph in described image acquisition device
Distance;
The location information obtains module, is also used to obtain shifting corresponding with the cell-phone number information from the business system
The location information of dynamic terminal preset duration before or after capturing the moment is to obtain location information collection;
The location information generates submodule
Vector generation unit, for concentrated from the location information obtain each centralized positioning information corresponding candid photograph moment it
Preceding or preset duration later location information, when according to each centralized positioning information and the corresponding candid photograph of each centralized positioning information
The location information of preset duration obtains the motion vector of corresponding vehicle before or after quarter, and each motion vector is folded
Add to obtain correcting vector;
Location information generation unit, for the multiple centralized positioning information carrying out that location of the core information is calculated;
Location information generation unit, for being obtained according to the location of the core information, correcting vector and the candid photograph distance
The location information of described image acquisition device.
10. positioning device according to claim 6, which is characterized in that the location information obtains module and includes:
First information acquisition submodule, for obtaining corresponding information of vehicles according to the vehicle image;
Second acquisition of information submodule, for obtaining cell-phone number letter corresponding with the information of vehicles from vehicle administration office's system
Breath.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711414402.6A CN109963029B (en) | 2017-12-25 | 2017-12-25 | Positioning method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711414402.6A CN109963029B (en) | 2017-12-25 | 2017-12-25 | Positioning method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109963029A true CN109963029A (en) | 2019-07-02 |
CN109963029B CN109963029B (en) | 2021-09-28 |
Family
ID=67020257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711414402.6A Active CN109963029B (en) | 2017-12-25 | 2017-12-25 | Positioning method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109963029B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070035623A1 (en) * | 2005-07-22 | 2007-02-15 | Cernium Corporation | Directed attention digital video recordation |
CN103248676A (en) * | 2013-04-23 | 2013-08-14 | 符英实 | Illegal driver information acquisition method, equipment and system |
CN104269056A (en) * | 2014-09-26 | 2015-01-07 | 武汉烽火众智数字技术有限责任公司 | Method and system for accurately positioning vehicle passing checkpoint |
CN104320762A (en) * | 2014-10-28 | 2015-01-28 | 成都飞通科技有限公司 | Method for positioning web camera through mobile terminal |
CN104837114A (en) * | 2015-04-01 | 2015-08-12 | 北京嘀嘀无限科技发展有限公司 | Method and device used for determining abnormal positioning information of user |
CN106303914A (en) * | 2015-06-04 | 2017-01-04 | 北京搜狗科技发展有限公司 | A kind of localization method and electronic equipment |
-
2017
- 2017-12-25 CN CN201711414402.6A patent/CN109963029B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070035623A1 (en) * | 2005-07-22 | 2007-02-15 | Cernium Corporation | Directed attention digital video recordation |
CN103248676A (en) * | 2013-04-23 | 2013-08-14 | 符英实 | Illegal driver information acquisition method, equipment and system |
CN104269056A (en) * | 2014-09-26 | 2015-01-07 | 武汉烽火众智数字技术有限责任公司 | Method and system for accurately positioning vehicle passing checkpoint |
CN104320762A (en) * | 2014-10-28 | 2015-01-28 | 成都飞通科技有限公司 | Method for positioning web camera through mobile terminal |
CN104837114A (en) * | 2015-04-01 | 2015-08-12 | 北京嘀嘀无限科技发展有限公司 | Method and device used for determining abnormal positioning information of user |
CN106303914A (en) * | 2015-06-04 | 2017-01-04 | 北京搜狗科技发展有限公司 | A kind of localization method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109963029B (en) | 2021-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103092341B (en) | Control the method for terminal, device and terminal | |
CN108985199A (en) | Detection method, device and the storage medium of commodity loading or unloading operation | |
CN105955292A (en) | Aircraft flight control method and system, mobile terminal and aircraft | |
CN109407603B (en) | Method and device for controlling mechanical arm to grab object | |
JP2019537023A (en) | Positioning method and device | |
CN105957337A (en) | Order processing method and apparatus | |
CN109300155A (en) | A kind of obstacle-avoiding route planning method, device, equipment and medium | |
CN109543493A (en) | A kind of detection method of lane line, device and electronic equipment | |
CN108961387A (en) | A kind of display methods and terminal device of house virtual three-dimensional model | |
CN102902943A (en) | Two-dimension code scanning method, processing device and terminal | |
CN109070801A (en) | It is detected using the trailer angle of rearmounted camera | |
CN117539420A (en) | Screen projection method and system | |
CN104182683A (en) | Method, device and system for monitoring online transactions | |
CN109614168A (en) | Memory Optimize Method and device | |
CN106131785A (en) | A kind of method, device and position service system realizing location | |
CN109635870A (en) | Data processing method and device | |
CN110363735A (en) | A kind of car networking image data fusing method and relevant apparatus | |
CN107368202B (en) | Method and device for recognizing behavior of driver using mobile phone and computing equipment | |
CN114925295A (en) | Method for determining guide point of interest point, related device and computer program product | |
CN109712261A (en) | Night watching equipment, night watching method and readable storage medium storing program for executing based on night watching equipment | |
CN109886189A (en) | Fingerprint template acquisition methods and relevant apparatus | |
CN109963029A (en) | Localization method and device | |
CN103513853B (en) | A kind of method and device of state switching | |
CN108830674A (en) | Trip order production method, device and terminal device | |
CN109726695A (en) | Optical finger print icon display method, electronic device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |