CN110149474A - A kind of image-pickup method and its device, equipment and storage medium - Google Patents

A kind of image-pickup method and its device, equipment and storage medium Download PDF

Info

Publication number
CN110149474A
CN110149474A CN201810142617.5A CN201810142617A CN110149474A CN 110149474 A CN110149474 A CN 110149474A CN 201810142617 A CN201810142617 A CN 201810142617A CN 110149474 A CN110149474 A CN 110149474A
Authority
CN
China
Prior art keywords
image
attribute information
image acquisition
acquisition
spacing distance
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
Application number
CN201810142617.5A
Other languages
Chinese (zh)
Other versions
CN110149474B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810142617.5A priority Critical patent/CN110149474B/en
Publication of CN110149474A publication Critical patent/CN110149474A/en
Application granted granted Critical
Publication of CN110149474B publication Critical patent/CN110149474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/28Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
    • G01C21/30Map- or contour-matching
    • G01C21/32Structuring or formatting of map data
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/03Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers
    • G01S19/05Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers providing aiding data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • General Business, Economics & Management (AREA)
  • Studio Devices (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the present invention provides a kind of image-pickup method and its device, equipment and storage medium, wherein, the described method includes: when reaching the first current global position system GPS anchor point, the second attribute information of described image acquisition equipment when obtaining the first attribute information of image capture device with the last Image Acquisition of arrival;The first spacing distance of the first GPS positioning point and the last Image Acquisition ground is determined according to first attribute information and second attribute information;According to the relationship between preset acquisition interval distance and first spacing distance, the time of Image Acquisition next time is determined, and carry out next Image Acquisition at the corresponding moment.

Description

A kind of image-pickup method and its device, equipment and storage medium
Technical field
The present invention relates to Internet technical field more particularly to a kind of image-pickup methods and its device, equipment and storage Medium.
Background technique
Currently, existing application program of the map crowdsourcing acquisition technique based on intelligent terminal of map industry (Application, App) carries out road data acquisition.Industry acquisition scheme is generally by global positioning system at present (Global Positioning System, GPS) locating events readjustment triggers acquisition of taking pictures, and will be collected by network Road information is back to backstage and carries out operation.Due to hardware limitation, return within Android (Android) equipment GPS positioning most fast 1 second at present 1 point is returned, while camera takes pictures and needs focus operation, it is also desirable to which certain time could be completed.Map crowdsourcing acquire App due to by Be limited to a GPS 1 second positioning result of return and mobile phone photograph have delay (take pictures focus due to delay time it is uncontrollable) The limitation of this 2 factors, when travelling fast speed, 1 second 1 photo will lead to road element and not collect.Travel speed is too When slow, photo redundancy is excessive, thus the problem of causing road image gather disappearance or redundancy.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of image-pickup method and its device, equipment and storage medium, Solve in prior art when carrying out Image Acquisition according to constant duration caused by Image Acquisition is not complete or image The excessive problem of redundancy is acquired, Image Acquisition can be carried out according to equidistant intervals, to guarantee that acquired image is not lost Leakage also not redundancy, and then improve Image Acquisition efficiency.
The technical solution of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of image-pickup method, which comprises
When reaching the first current global position system GPS anchor point, the first attribute information of image capture device is obtained Second attribute information of described image acquisition equipment when with the last Image Acquisition of arrival;
The first GPS positioning point and described upper one is determined according to first attribute information and second attribute information First spacing distance on secondary Image Acquisition ground;
According to the relationship between preset acquisition interval distance and first spacing distance, Image Acquisition next time is determined Time, and carry out next Image Acquisition at the corresponding moment.
The embodiment of the present invention provides a kind of image collecting device, and described device includes: that described device includes: the first acquisition mould Block, the first determining module, the second determining module and second obtain module, in which:
Described first obtains module, when for reaching the first current global position system GPS anchor point, obtaining image and adopting Second attribute information of described image acquisition equipment when with collecting the first attribute information and the last Image Acquisition of arrival of equipment;
First determining module, for determining described according to first attribute information and second attribute information First spacing distance of 1 GPS positioning point and the last Image Acquisition ground;
Second determining module, for according between preset acquisition interval distance and first spacing distance Relationship determines the time of Image Acquisition next time, and carries out next Image Acquisition at the corresponding moment.
The embodiment of the present invention provides a kind of image capture device, and the equipment includes at least: memory, communication bus and place Manage device, in which:
The memory, for storing image acquisition procedure;
The communication bus, for realizing the connection communication between processor and memory;
The processor, for executing the image acquisition procedure stored in memory, to perform the steps of
When reaching the first current global position system GPS anchor point, the first attribute information of image capture device is obtained Second attribute information of described image acquisition equipment when with the last Image Acquisition of arrival;
The first GPS positioning point and described upper one is determined according to first attribute information and second attribute information First spacing distance on secondary Image Acquisition ground;
According to the relationship between preset acquisition interval distance and first spacing distance, Image Acquisition next time is determined Time, and carry out next Image Acquisition at the corresponding moment.
The embodiment of the present invention provides a kind of storage medium, and image acquisition procedure, the figure are stored on the storage medium The step of image-pickup method as described above is realized when being executed by processor as capture program.
The embodiment of the present invention provides a kind of image-pickup method and its device, equipment and storage medium, wherein arrives first at When current first global position system GPS anchor point, obtains the first attribute information of image capture device and reach last Image Acquisition when described image acquisition equipment the second attribute information;Then according to first attribute information and described second Attribute information determines the first spacing distance of the first GPS positioning point and the last Image Acquisition ground;According to preset Relationship between acquisition interval distance and first spacing distance determines the time of Image Acquisition next time, and when corresponding It carves and carries out next Image Acquisition.It so, it is possible to carry out Image Acquisition according to equidistant intervals, to guarantee acquired image Yet not redundancy is not omitted, and then improves Image Acquisition efficiency.
Detailed description of the invention
Fig. 1 is the schematic diagram of the network architecture of the embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram of image-pickup method in the related technology of the embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram of image-pickup method of the embodiment of the present invention;
Fig. 4 is the implementation process schematic diagram of image-pickup method of the embodiment of the present invention;
Fig. 5 is the schematic diagram of the another network architecture of the embodiment of the present invention;
Fig. 6 is the client end interface schematic diagram that user of the embodiment of the present invention opens map application;
Fig. 7 is the interface schematic diagram that the embodiment of the present invention shows road image in map application;
Fig. 8 is the implementation process schematic diagram of image-pickup method of the embodiment of the present invention;
Fig. 9 is interface schematic diagram when image-pickup method of the embodiment of the present invention uses;
Figure 10 is the composed structure schematic diagram of image collecting device of the embodiment of the present invention;
Figure 11 is the composed structure schematic diagram of image capture device of the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the specific technical solution of invention is described in further detail.The following examples are intended to illustrate the invention, but does not have to To limit the scope of the invention.
Fig. 1 be the network architecture of the embodiment of the present invention schematic diagram, as shown in Figure 1, the network architecture include car-mounted terminal 11, Server 12 and GPS satellite 13, wherein Image Acquisition App is equipped in car-mounted terminal 11 can be by triggering GPS positioning event Readjustment obtains the GPS information of the position of car-mounted terminal 11, such as latitude and longitude information, driving direction, row from GPS satellite 13 The information such as speed are sailed, then terminal 11 triggers take pictures acquisition, after collecting image, pair of terminal storage GPS information and image It should be related to, and after acquiring a period of time, acquired image and GPS information are sent to server 12, server 12 It is updated according to cartographic information of the image and GPS information received to section where Image Acquisition ground.
Network architecture schematic diagram as shown in connection with fig. 1, below to image-pickup method and image collecting device, equipment it is each Embodiment is illustrated.
The image-pickup method provided in embodiment in order to better understand the present invention, first to existing in the related technology Image-pickup method is illustrated.
The scheme that Image Acquisition is carried out in general industry generally passes through GPS positioning event call-back, triggers acquisition of taking pictures.Due to Hardware limitation, Android device GPS positioning 1 point of return in most fast 1 second, while camera takes pictures and needs focus operation, it is also desirable to it is certain Time could complete.Therefore the relevant technologies are all to be with 1 image per second and 1 GPS positioning point information corresponding with the image What data acquisition information was recorded.Fig. 2 be the embodiment of the present invention in the related technology image-pickup method implementation process signal Figure, as shown in Figure 2, comprising the following steps:
Step S201, terminal starting App start to acquire image, and registration GPS positioning is monitored;
Step S202, terminal (1 second) readjustment GPS event according to the preset time interval, and camera is called to take pictures using journey Sequence programming interface (Application Programming Interface, API), waiting, which is taken pictures, completes readjustment;
Here, GPS time of terminal every 1 second readjustment obtains positioning result (x, y, bearing, v), wherein x is warp Degree, y is dimension, and bearing is driving direction, and v is travel speed.
Step S203 stores GPS information and corresponding image after completion readjustment of taking pictures.
Here, acquired image is generally the photo that camera applications are filmed in the related art, generally red green Blue (Red Green Blue, RGB) rgb format, and in other embodiments, acquired image is in camera applications preview frame Image, the image in preview frame is generally luminance color component signal (YUV) format.
The major defect of the image-pickup method used in the prior art is to be when carrying out Image Acquisition according to setting in advance What fixed time interval was taken pictures, in this way, when road element is acquired than comparatively dense or user, travel speed is too fast to lead Road element is caused not collect, to lose important information;Or cause to collect many redundancies when travel speed is excessively slow Image, cause Image Acquisition inefficiency.
The present embodiment provides a kind of image-pickup method, Fig. 3 is the implementation process of image-pickup method of the embodiment of the present invention Schematic diagram, as shown in figure 3, the described method comprises the following steps:
Step S301 obtains the first attribute information of image capture device when reaching the first current GPS positioning point and arrives Second attribute information of described image acquisition equipment when up to last Image Acquisition.
Here, the step S301 can be by image processing equipment realization, further, described image processing equipment It can be intelligent terminal, such as can be the movement that mobile phone (mobile phone), iPad, car-mounted terminal etc. have wireless communication ability Terminal.Image Acquisition App is installed in intelligent terminal, when starting Image Acquisition App, GPS positioning prison can be registered by App It listens, in this way, can get the attribute information of terminal after being spaced identical duration, it is usually 1 second that the GPS positioning of registration, which is monitored, (second, s) returns to a positioning result.When terminal reaches the first current GPS positioning point, the positioning result that gets That is the first attribute information of image capture device at this time, wherein where first attribute information can include but is not limited to terminal The location information of first GPS positioning point, driving direction, travel speed, the first time point for reaching the first GPS positioning etc., position Confidence breath can be longitude and latitude.
On the second attribute information of described image acquisition equipment may include when correspondingly, with reaching last Image Acquisition The location information on Image Acquisition ground, travel speed, the second time point for reaching last Image Acquisition ground.
It should be noted that last Image Acquisition may be GPS positioning point, it is also possible to be not GPS positioning point, and It is some point between two GPS positioning points.
Step S302 determines the first GPS positioning point according to first attribute information and second attribute information With first spacing distance on the last Image Acquisition ground.
Here, the step S302 can be by image capture device realization.
In practical applications, the step S302 can be realized by least two modes:
The first, determines the first interval distance according to the location information carried in the first attribute information and the second attribute information From;
Due to including the longitude and latitude of the first GPS positioning point in the location information that is carried in the first attribute information, second Include the longitude and latitude on last Image Acquisition ground in the location information carried in attribute information, it is known that the longitude of two points and Latitude can determine the distance between two o'clock.
It second, is determined according to the travel speed and time point information carried in the first attribute information and the second attribute information First spacing distance.
According to the time point carried in the first attribute information and the second attribute information, terminal can be determined from a upper image Locality to the mobile duration of the first GPS positioning point, then belonged to according to the First Speed carried in the first attribute information and second Property information in the second speed that carries and mobile duration according to even acceleration computation model can determine acceleration, then basis Mobile duration, acceleration and First Speed can determine that the first spacing distance.
Since even acceleration computation model in second of implementation, is utilized, but during actually realizing, image Acquisition equipment is difficult uniformly accelerated motion, and therefore, second of implementation has biggish error relative to the first implementation.
Step S303, according to the relationship between preset acquisition interval distance and first spacing distance, under determining The time of secondary Image Acquisition, and next Image Acquisition is carried out at the corresponding moment.
Here, the step S303 can be by image capture device realization.
In the present embodiment, the preset sampling interval distance can wrap with the relationship between first spacing distance It includes at least three kinds following:
The first relationship, the difference between acquisition interval distance and first spacing distance is greater than 0 and the difference is small In the 4th spacing distance, wherein the 4th spacing distance is between the first GPS positioning point and the second GPS positioning point Distance, the second GPS positioning point be the first GPS positioning point next GPS positioning point.
Difference between acquisition interval distance and first spacing distance is greater than 0 and the difference is spaced less than the 4th Apart from when, illustrate to be needed at this time between the first GPS positioning point and the second GPS positioning point next time The first interval duration when the Image Acquisition from currently counting to carrying out is calculated, and after waiting first is spaced duration, carries out image Acquisition.
In practical applications, the first interval duration can be determined by formula (1-1):
T=(N-D)/v1 (1-1);
Wherein, t is the first interval duration, and D is the first spacing distance, and N is sampling interval distance, and v1 is First Speed, by Meet first condition in first spacing distance and sampling interval distance, i.e., 0 < (N-D) < v1*T, then, 0 < t < T, GPS are returned The period for returning positioning result is generally 1s, therefore, at this point, 0 < t < 1.
In the present embodiment and other embodiments, the first image that terminal obtains camera acquisition is adopted from the camera It is collected that current time camera is obtained in the preview frame collected.
The step S304 can be the timer of a length of first interval duration at setting one during realization, After reaching the first interval duration, collected first figure of current time camera is obtained from preview frame by a readjustment API Picture, this readjustment API can be setPreviewCallBackWithBuffer () in Android system.
Second of relationship, the difference between acquisition interval distance and first spacing distance are less than or equal to 0.
When difference between acquisition interval distance and first spacing distance is less than or equal to 0, illustrate the first GPS The distance on anchor point to last Image Acquisition ground has been not less than acquisition interval distance, needs to acquire image immediately at this time.
The third relationship, difference between acquisition interval distance and first spacing distance are more than or equal to described the Four spacing distances.
Difference between acquisition interval distance and first spacing distance is more than or equal to the 4th interval distance From when, that is to say, that still do not reach sampling interval distance when reaching next GPS positioning point, need at this time in the case where reaching The interval duration of Image Acquisition next time is calculated when one GPS positioning point.
In image-pickup method provided in an embodiment of the present invention, obtains reach the first current global positioning system first When GPS positioning point the first attribute information of image capture device and with reaching last Image Acquisition when described image acquire equipment The second attribute information;Then first GPS positioning is determined according to first attribute information and second attribute information First spacing distance of point and the last Image Acquisition ground;According to preset acquisition interval distance and first interval Relationship between distance determines the time of Image Acquisition next time, and carries out next Image Acquisition at the corresponding moment.It so, it is possible Image Acquisition is carried out according to equidistant intervals, to guarantee that acquired image does not omit not redundancy yet, and then improves figure As collecting efficiency.
Based on the above embodiments, the embodiment of the present invention provides a kind of image-pickup method again, and Fig. 4 is the embodiment of the present invention The implementation process schematic diagram of image-pickup method, as shown in figure 4, the described method comprises the following steps:
Step S401, image capture device determine acquisition interval distance.
Here, in practical applications, the step S401 can be realized by following steps:
Step S4011, the cartographic information in section where image capture device obtains Image Acquisition ground;
Step S4012, it is single in section where image capture device determines described image locality according to the cartographic information The quantity of acquisition target in bit length;
Step S4013, image capture device determine acquisition interval distance according to the quantity of the acquisition target.
It include: the position of building in cartographic information in the embodiment where the step S4011 to step S4013 And mark, the position of traffic signboard, mark etc. can be determined by cartographic information where Image Acquisition ground in section The quantity of acquisition target, then the length further according to the quantity of acquisition target and section determines acquisition target in unit length Quantity, and then the quantity of acquisition target determines acquisition interval distance according to unit length, under normal circumstances, unit length is adopted The quantity and acquisition interval distance for collecting object are inversely proportional, that is to say, that the quantity of acquisition target is more in unit length, adopts It is smaller to collect spacing distance.According to the quantity of the acquisition target according to unit length determine acquisition interval apart from when, can be preparatory One proportionality coefficient is set, it is known that in unit length when the quantity of acquisition target, by acquiring in proportionality coefficient and unit length The quantity of object determines acquisition interval distance.
For example, it is assumed that proportionality coefficient is 12, unit length is 10 meters, if the quantity of acquisition target is 2 in every 10 meters, With proportionality coefficient divided by the quantity of sample objects in unit length, sampling interval distance is obtained, obtains sampling interval distance at this time It is 6 meters;If the every 10 meters quantity for there be not acquisition target are 1, with proportionality coefficient divided by the quantity of sample objects in unit length, Sampling interval distance is obtained, obtaining sampling interval distance at this time is 12 meters.
Step S402, described image acquire equipment and obtain image capture device when reaching the first current GPS positioning point First attribute information and with reaching last Image Acquisition when described image acquisition equipment the second attribute information.
Here, it is included at least in first attribute information: first location information, First Speed, first time point;It is described It is included at least in second attribute information: second location information, second speed, the second time point.
Step S403, described image acquire equipment and determine institute according to first attribute information and second attribute information State the first spacing distance of the first GPS positioning point and the last Image Acquisition ground.
Here, the step S403 can be realized by two ways, wherein the first implementation is according to the following steps It realizes:
Step S4031a obtains the first location information of the first GPS positioning point from first attribute information;
Here, first location information includes at least the first longitude and the first latitude.
Step S4032a obtains the second confidence on the last Image Acquisition ground from second attribute information Breath;
Here, second location information includes at least the second longitude and the second latitude.
Step S4033a determines first GPS positioning according to the first location information and the second location information First spacing distance of point and the last Image Acquisition ground.
Here it is possible to determine the first spacing distance by following formula:
Wherein, in formula (2-1), D is the first spacing distance, and R is earth radius,For the first latitude,It is second Latitude, λ1For the first longitude, λ2For the second longitude, haversin () can be indicated with formula (2-2):
Haversin (θ)=sin2(θ/2)=(1-cos (θ))/2 (2-2);
According to formula (2-1) and formula (2-1) it can be concluded that the first spacing distance d.
Second of implementation is realized according to the following steps:
Step S4031b obtains described image when reaching the first GPS positioning point from first attribute information and adopts Collect the First Speed and first time point of equipment;
Step S4032b obtains described image when with reaching the last Image Acquisition from second attribute information Acquire second speed and the second time point of equipment;
Step S4033b determines described according to the First Speed, first time point, second speed and the second time point First spacing distance of 1 GPS positioning point and the last Image Acquisition ground.
Here, according to First Speed, first time point, second speed and the second time point according to even acceleration computation model, Acceleration a can be determined according to formula (2-3)1:
Wherein, in formula (2-3), v1For First Speed, v2For second speed, t1For first time point, t2When being second Between point.
Then the first spacing distance is determined according to formula (2-4):
Step S404, described image acquisition equipment judges first spacing distance and sampling interval apart from whether meeting the One condition.
Here, in this example, it is assumed that when reaching the first GPS positioning point, First Speed v1, the first GPS positioning Time interval between point and the second GPS positioning point is T, wherein the second GPS positioning point is the next of the first GPS positioning point Anchor point, then, first condition is that the difference of first spacing distance and acquisition interval distance is greater than 0, it is less than v1*T, this In, v1*T is the 4th spacing distance.If first spacing distance and sampling interval distance meet first condition, illustrate to need Image is acquired between the first current GPS positioning point and the second GPS positioning point, enter step S405 at this time;If described First spacing distance and sampling interval distance are unsatisfactory for first condition, enter step S414.
Step S405, described image acquire equipment according to first spacing distance, acquisition interval distance and described first Attribute information determines the first interval duration.
Step S406, described image acquire the first figure that equipment obtains camera acquisition after the duration of first interval Picture.
Step S407 obtains described image acquisition and sets when described image acquisition equipment reaches the second GPS positioning point Standby third attribute information.
Here, third speed is included at least in the third attribute information.
Step S408, described image acquire equipment according to the First Speed and the third speed, determine that the first GPS is fixed Acceleration between site and the second GPS positioning point.
Here, since the time interval between known first GPS positioning point and the second GPS positioning point is GPS restoring to normal position As a result cycle T, then can determine that the first GPS positioning point and the 2nd GPS are fixed according to First Speed, third speed and cycle T Acceleration between site.
Step S409, described image acquire equipment according to the first location information, First Speed, acceleration, traveling side To with it is described first interval duration determine reach next time Image Acquisition when described image acquisition equipment the 4th attribute information.
Here, the 4th attribute information includes at least the 4th location information and fourth speed, accordingly, the step S409 can be realized by following steps:
Step S4091 is determined according to the First Speed, acceleration and first interval duration and is reached image next time The fourth speed of described image acquisition equipment when locality;
Step S4092 determines last Image Acquisition according to the First Speed, acceleration and first interval duration Ground and next time the third spacing distance on Image Acquisition ground;
Step S4093 determines that arrival is next according to the first location information, driving direction and the third spacing distance Secondary Image Acquisition when described image acquisition equipment the 4th location information.
The first image is converted to the first RGB image of rgb format by step S410, described image acquisition equipment.
Here, due to the image that the first image got in step S406 is in camera preview frame, generally YUV First image after vision facilities gets the first image of yuv format, can be converted to the first RGB figure of rgb format by format Picture.
Step S411, described image acquires equipment, and first RGB image is corresponding with the 4th attribute information foundation Relationship.
Step S412, described image acquire equipment for first RGB image pass corresponding with the 4th attribute information System stores the mapping table to image and attribute information.
Step S413, described image acquire equipment and the mapping table of described image and attribute information are sent to service Device.
Here, image capture device is frequently not and collects a frame image just to believe acquired image and corresponding attribute Breath is sent to server, but is sent to server together after collecting a certain number of images, therefore, the step S413 may furthermore is that: when described image acquisition equipment meets fourth condition, described image is corresponding with attribute information Relation table is sent to server, wherein fourth condition can be the image in the mapping table of described image and attribute information Shared storage size is greater than storage threshold value, it is also possible that described image acquisition equipment passes through wireless network and server Establish connection etc..
If the network environment where certain image capture device itself is preferable or the performance of image capture device itself It is relatively high be also possible to collect a frame image acquired image and corresponding attribute information are just sent to server.
It in other embodiments, can be right after the mapping table that server receives described image and attribute information Image Acquisition the cartographic information in corresponding section be updated.Fig. 5 is image-pickup method of embodiment of the present invention application scenarios Schematic diagram, as shown in figure 5, including car-mounted terminal 51, server 52, GPS satellite 53 and map App client in the application scenarios 54, wherein Image Acquisition App is equipped in car-mounted terminal 51 can be by triggering GPS positioning event call-back, from GPS satellite 53 The information such as the GPS information, such as latitude and longitude information, driving direction, travel speed of position of car-mounted terminal 51 are obtained, then Car-mounted terminal 51 triggers acquisition of taking pictures, and after collecting image, car-mounted terminal 51 stores the corresponding relationship of GPS information and image, And after acquiring a period of time, acquired image and GPS information are sent to server 52, server 52 is according to reception To image and GPS information the cartographic information in section where Image Acquisition ground is updated.It is installed in map App client 54 There is map application, for user when starting map application acquisition cartographic information, server 52 judges the map of user location Whether information has update, and if there is updating, updated cartographic information is sent to map App client 54 by server 52, uses Family can be consulted a map upper a certain place image information by map App client 54.
Fig. 6 is the client end interface schematic diagram that user of the embodiment of the present invention opens map application, as shown in fig. 6, user beats After opening map application, selects one in map to check object 601, can be shown in map App client at this time as shown in Figure 7 Interface can show the image 701 for checking object in Fig. 7.
Step S414, described image acquisition equipment judges first spacing distance and acquisition interval apart from whether meeting the Two conditions.
Here, the difference that the second condition can be between acquisition interval distance and first spacing distance be less than or Person is equal to 0, if first spacing distance and acquisition interval distance meet second condition, illustrates the first GPS positioning point and upper Image Acquisition the distance between be not more than sampling interval distance, enter step S415 at this time;If described One spacing distance and acquisition interval distance are unsatisfactory for second condition, enter step S416.
Step S415, described image acquisition equipment obtain the second image of the camera acquisition.
Here, when the difference between acquisition interval distance and first spacing distance be less than or equal to 0, described image It acquires equipment and obtains collected second image of current time camera from the collected preview frame of the camera immediately.
In other embodiments, after the step S415, the method also includes:
Step 11, described image acquires equipment and second image is converted to the second RGB image;
Step 12, described image acquires equipment for second RGB image pass corresponding with the first attribute information foundation System;
Step 13, described image acquires equipment for the corresponding relationship of second RGB image and first attribute information Store the mapping table to image and attribute information;
The mapping table of described image and attribute information is sent to server by step S14.
Step S416, when the difference between acquisition interval distance and first spacing distance is more than or equal to described the When four spacing distances, when described image acquisition equipment reaches the second GPS positioning point, the third of described image acquisition equipment is obtained Attribute information.
Here, the second GPS positioning point is next GPS positioning point of the first GPS positioning point.The third condition is The difference of first spacing distance and acquisition interval distance is greater than v1* T illustrates at this time when reaching the second GPS positioning point, Spacing distance between 2 GPS positioning points and last Image Acquisition ground is still less than acquisition interval distance, that is to say, that arrives When up to the second GPS positioning point, again without acquisition image.
Step S417, described image acquire equipment and determine institute according to the third attribute information and second attribute information State the second spacing distance of the second GPS positioning point and the last Image Acquisition ground.
Here, after the step S417, step S404 is entered, executes the step after step S404 and step S404 Suddenly, it needs the first spacing distance in step S404 and subsequent step replacing with the second spacing distance at this time and judge between second Gauge from whether meet first condition with a distance from the acquisition interval, if second spacing distance and the acquisition interval away from From first condition is met, determined between second according to second spacing distance, acquisition interval distance and first attribute information Every duration;The third image of camera acquisition is obtained after the duration of second interval.
In image-pickup method provided in this embodiment, image capture device determines acquisition interval distance first, then Obtain when reaching the first current GPS positioning point the first attribute information of image capture device and with reaching last Image Acquisition When described image acquisition equipment the second attribute information and determined according to first attribute information and second attribute information First spacing distance of the first GPS positioning point and the last Image Acquisition ground;If first spacing distance and The difference of acquisition interval distance be greater than 0 and be less than v1*T, illustrate next time Image Acquisition in the first GPS positioning point and second Between GPS positioning point, need to be determined according to first spacing distance, acquisition interval distance and first attribute information at this time First interval duration and the first image for obtaining camera acquisition from preview frame after the duration of first interval;Then exist When reaching the second GPS positioning point, is determined and reached according to the third attribute information of image capture device and the first attribute information Next time Image Acquisition when described image acquisition equipment the 4th attribute information, and by the first image be converted to the first RGB figure As first RGB image and the 4th attribute information are sent to server in turn.
If the difference of first spacing distance and acquisition interval distance less than 0, illustrates the first spacing distance less than 0 , need to immediately obtain the second image of the camera acquisition at this time;If first spacing distance and acquisition interval away from From greater than v1* T illustrates when reaching the second GPS positioning point, between the second GPS positioning point and last Image Acquisition ground between Gauge is with a distance from still less than acquisition interval, that is to say, that when reaching the second GPS positioning point, again without acquisition image, The third attribute information for needing to obtain described image acquisition equipment at this time, according to the third attribute information and second attribute Information determines the second spacing distance of the second GPS positioning point and the last Image Acquisition ground, then further judgement Second spacing distance whether with acquisition interval distance whether meet first condition.In this way, passing through interleaving in two GPS positioning points Image Acquisition point and mobile phone camera preview frame cut two technologies of frame, and it is primary fixed to be able to solve record per second in road collection process The limitation that position position and road influence, but the scheme of the more reasonable Image Acquisition based on distance is used, it can effectively be promoted Image Acquisition efficiency.
The embodiment of the present invention provides a kind of image-pickup method again, in image-pickup method provided in this embodiment, benefit Frame is cut with the preview frame that GPS interpolation method generates collection point and terminal the technologies such as to take pictures, and can support equidistantly to take pictures, thus effectively It avoids the road element in road collection process from lacking, and then greatly promotes collecting efficiency.
According to practical drive test experience, it is that comparison is reasonable that general 6 to 9 meters of distance intervals, which shoot a photo as road image, Distance.But when actual user drives acquisition, it is very common speed that speed, which reaches 20 meter per seconds (meter/second, m/s),. Therefore, for being taken a picture for 1 second (second, s), 20 meters is equivalent to and is taken a picture, such case has relatively probably The leakage that rate generates road element is clapped.In the present embodiment, what road element referred in the process of moving related with road various has Imitate information, comprising: traffic mark board, lane line, the information such as electronic eyes.
Fig. 8 is the implementation process schematic diagram of image-pickup method of the embodiment of the present invention, as shown in figure 8, the method includes Following steps:
Step S801, terminal starting Image Acquisition App start to acquire image, and registration GPS positioning is monitored.
Step S802, terminal obtain the location information for reaching current GPS positioning point and traveling letter by GPS callback events Breath.
Step S803, terminal judge whether to need to take pictures immediately by positioning and tactful processing module of taking pictures.
Here, provided in this embodiment is a kind of image (geography information) acquisition scheme based on distance.It is (practical every N 6 to 9 meters of drive test are proper) rice takes a picture record road information.
The step S803 generates collection point by interpolation method during realization.Current GPS positioning is obtained first The location information of point and driving information (x, y, bearing, v) and last time take pictures a position, wherein x is longitude, and y is dimension Degree, bearing is driving direction, and v is travel speed.According to the interval time t for calculating and taking pictures that equidistantly takes pictures next time.
Then determine that current GPS is fixed according to the location information of current GPS positioning point and the last location information taken pictures a little Site distance and upper one some distance D that takes pictures, acquisition distance interval are N, and current GPS velocity is v, then according to formula (3- 1) the interval time t that takes pictures is determined:
T=(N-D)/v (3-1);
Wherein, it if t≤0, needs to take pictures immediately, enters step S504 at this time, trigger event of taking pictures at once;
If t > 1 second is not handled, S508 is entered step, waits GPS callback events next time;
If 0 < t < 1 second enters step S507, the event that a delay t takes pictures is sent.
Step S804, terminal intercept the preview photograph frame of camera applications by triggering event of taking pictures, photo module immediately.
Here, for photo module, road image photo is saved using the mode that preview frame cuts frame.It is touched based on fixed range Mobile phone photograph is sent out, by lower second operating range of travel speed prediction, interpolation is put accordingly and triggers camera and takes pictures.In high speed When driving, multiple camera can be triggered in 1s to take pictures.General mobile phone photograph response speed is largely unsatisfactory for the demand that 1s claps multiple. It takes pictures so meeting fixed range triggering by the scheme that mobile phone camera preview frame cuts frame, current road shadow can be got at once As photo.
In the related art, photo module is to have invoked takePicuture () to take pictures.TakePicuture () is The API that takes pictures that Android camera applications provide takes pictures and then replies to called side by system completion after calling, and being taken pictures due to camera is needed Want the processes such as auto-focusing, cause to take pictures need certain time interval after could return, be unable to satisfy App actual acquisition high speed The demand taken pictures.
In the present embodiment by this API of Android system setPreviewCallBackWithBuffer (), can incite somebody to action Camera camera data is adjusted back in real time to App, and the frame per second of universal mobile phone is all more than 30 frames (1 second 30 photo).It can be fine Meet Image Acquisition App for the requirement taken pictures at a high speed.This setting of setPreviewCallBackWithBuffer returns Real-time photographic data be yuv format data, need just become usual electronic equipment by centainly converting and show photo Rgb format.
Step S805, the current GPS information of terminal storage and photo.
Step S806, terminal judge whether that postponing duration t takes pictures.
Here, the delay, which is taken pictures, refers to that delay t takes pictures.If 0 < t < 1, take pictures after postponing duration t, at this time into Enter step S807;If t > 1 is not processed, S808 is entered step.
Event of taking pictures is triggered after step S807, end delay duration t, the preview frame that photo module intercepts camera applications is shone Piece.
Step S808, terminal is waited by timing module and reaches next GPS positioning point, subsequently into step S803.
In other embodiments, after the step S507, even 2 GPS of acceleration computation model adjustment can also be passed through The coordinate for the collection point that interpolation comes out among anchor point.
Image-pickup method provided in an embodiment of the present invention is mainly used in Image Acquisition App, and operating personnel is by end-frame If onboard and according to the acquisition route that App gives carrying out form, Image Acquisition App can automatically record user location and photo, make Industry personnel do not need operation bidirectional.Fig. 9 is interface schematic diagram when image-pickup method of the embodiment of the present invention uses, such as Fig. 9 institute Show, operating personnel can get information about the mileage number for having acquired section by region shown in terminal interface 901, and can be with Current acquired image is seen by region shown in 902, after completing Image Acquisition, by making touch-control or point 903 Hitting operation terminates acquisition.
The image-pickup method provided in this embodiment taken pictures based on distance, can be avoided the road element when running at high speed Missing and when running at a low speed road information redundancy, to effectively promote road collecting efficiency.
The embodiment of the present invention provides a kind of image collecting device, and Figure 10 is the composition of image collecting device of the embodiment of the present invention Structural schematic diagram, as shown in Figure 10, described device 1000 include: the first acquisition module 1001, the first determining module 1002, second Determining module 1003, in which:
Described first obtains module 1001, schemes when reaching the first current global position system GPS anchor point for obtaining The second attribute letter of described image acquisition equipment when as the first attribute information of acquisition equipment and the last Image Acquisition of arrival Breath;
First determining module 1002, for determining institute according to first attribute information and second attribute information State the first spacing distance of the first GPS positioning point and the last Image Acquisition ground;
Second determining module 1003, for according to preset acquisition interval distance and first spacing distance it Between relationship, determine the time of Image Acquisition next time, and carry out next Image Acquisition at the corresponding moment.
In other embodiments, first determining module 1002 further comprises:
First acquisition unit, for obtaining the first position of the first GPS positioning point from first attribute information Information;
Second acquisition unit, for obtaining the second on the last Image Acquisition ground from second attribute information Confidence breath;
First determination unit, for determining described first according to the first location information and the second location information First spacing distance of GPS positioning point and the last Image Acquisition ground.
In other embodiments, first determining module 1002 further include:
Third acquiring unit reaches the first GPS positioning point Shi Suoshu for obtaining from first attribute information The First Speed and first time point of image capture device;
4th acquiring unit, for obtaining with reaching last Image Acquisition when institute from second attribute information State second speed and the second time point of image capture device;
Second determination unit, for being determined according to the First Speed, first time point, second speed and the second time point First spacing distance of the first GPS positioning point and the last Image Acquisition ground.
It in other embodiments, further include driving direction in first attribute information, accordingly, described device is also wrapped It includes:
Third obtains module, for when reaching the second GPS positioning point, the of acquisition the second GPS positioning point Three attribute informations, wherein third speed is included at least in the third attribute information;
Third determining module, for according to the First Speed and the third speed, determining the first GPS positioning point and the Acceleration between 2 GPS positioning points;
4th determining module, for according to the first location information, First Speed, acceleration, driving direction and described First interval duration determine reach next time Image Acquisition when described image acquisition equipment the 4th attribute information.
In other embodiments, the 4th attribute information includes at least the 4th location information and fourth speed, accordingly, 4th determining module further comprises:
Third determination unit, for being determined under reaching according to the First Speed, acceleration and first interval duration Image Acquisition when described image acquisition equipment fourth speed;
4th determination unit, it is last for being determined according to the First Speed, acceleration and first interval duration Image Acquisition and Image Acquisition ground next time third spacing distance;
5th determination unit, for being determined according to the first location information, driving direction and the third spacing distance Reach next time Image Acquisition when described image acquisition equipment the 4th location information.
In other embodiments, described device further include:
First conversion module, for the first image to be converted to the first RGB image of RGB rgb format;
First relationship establishes module, for first RGB image and the 4th attribute information to be established corresponding relationship;
First memory module, for by the corresponding relationship of first RGB image and the 4th attribute information store to The mapping table of image and attribute information;
First sending module, if for storage shared by the image in the mapping table of described image and attribute information Space size is greater than storage threshold value, and the mapping table of described image and attribute information is sent to server.
In other embodiments, second determining module 1003 further comprises:
6th determination unit, for when the difference between the preset acquisition interval distance and first spacing distance Greater than 0 and when the difference is less than four spacing distances, according to first spacing distance, acquisition interval distance and described first Attribute information determines the first interval duration, wherein the 4th spacing distance is that the first GPS positioning point and the 2nd GPS are fixed The distance between site, the second GPS positioning point are next GPS positioning point of the first GPS positioning point;
6th acquiring unit, for obtaining the first image of camera acquisition after the duration of first interval.
In other embodiments, second determining module 1003 further comprises:
7th determination unit, for when the difference between acquisition interval distance and first spacing distance is less than or waits In 0, determine that current time is the time of Image Acquisition next time;
7th acquiring unit, for obtaining the second image of the camera acquisition;
In other embodiments, second determining module 1003 further comprises:
8th acquiring unit, for when the difference between acquisition interval distance and first spacing distance is greater than or waits When four spacing distance, when reaching the second GPS positioning point, the third attribute letter of described image acquisition equipment is obtained Breath, wherein the second GPS positioning point is next GPS positioning point of the first GPS positioning point;
8th determination unit, for determining described second according to the third attribute information and second attribute information Second spacing distance of GPS positioning point and the last Image Acquisition ground;
9th determination unit, if meeting first condition for second spacing distance and the acquisition interval distance, The second interval duration is determined according to second spacing distance, acquisition interval distance and first attribute information;
9th acquiring unit, for obtaining the third image of camera acquisition after the duration of second interval.
In other embodiments, the 4th acquisition module further comprises: the 5th acquiring unit, for working as acquisition interval Difference between distance and first spacing distance is less than or equal to 0, obtains from the collected preview frame of the camera Take collected second image of current time camera.
In other embodiments, described device further include:
7th obtains module, the cartographic information for section where obtaining Image Acquisition ground;
7th determining module, for acquisition target in section where determining described image locality according to the cartographic information Quantity;
8th determining module, for determining acquisition interval distance according to the quantity of the acquisition target.
It should be noted that the description of apparatus above embodiment, be with the description of above method embodiment it is similar, have The similar beneficial effect with embodiment of the method.For undisclosed technical detail in apparatus of the present invention embodiment, this hair is please referred to The description of bright embodiment of the method and understand.
The embodiment of the present invention provides a kind of image capture device, and Figure 11 is the composition of image capture device of the embodiment of the present invention Structural schematic diagram, as shown in figure 11, the equipment 1100 include: a processor 1101, at least one communication bus 1102, use Family interface 1103, at least one external communication interface 1104 and memory 1105.Wherein, communication bus 1102 is arranged for carrying out this Connection communication between a little components.Wherein, user interface 1103 may include display screen, and external communication interface 1104 may include The wireline interface and wireless interface of standard.The wherein processor 1101 is configured to execute the Image Acquisition stored in memory Program, to perform the steps of
Obtain when reaching the first current global position system GPS anchor point the first attribute information of image capture device and Second attribute information of described image acquisition equipment when with reaching last Image Acquisition;
The first GPS positioning point and described upper one is determined according to first attribute information and second attribute information First spacing distance on secondary Image Acquisition ground;
According to the relationship between preset acquisition interval distance and first spacing distance, Image Acquisition next time is determined Time, and carry out next Image Acquisition at the corresponding moment.
Correspondingly, the embodiment of the present invention provides a kind of readable storage medium storing program for executing again, is stored with figure on the readable storage medium storing program for executing The step of picture capture program, described image capture program realizes above-mentioned instant communication method when being executed by processor.
Images above acquires the description of equipment and storage medium embodiment, is similar with the description of above method embodiment , there is with embodiment of the method similar beneficial effect.For in image capture device of the present invention and storage medium embodiment not The technical detail of disclosure please refers to the description of embodiment of the present invention method and understands.
In the embodiment of the present invention, if realizing above-mentioned image-pickup method in the form of software function module, and conduct Independent product when selling or using, also can store in a computer readable storage medium.Based on this understanding, Substantially the part that contributes to existing technology can be with the shape of software product in other words for the technical solution of the embodiment of the present invention Formula embodies, which is stored in a storage medium, including some instructions are used so that a calculating Machine equipment (can be personal computer, server or network equipment etc.) executes each embodiment the method for the present invention It is all or part of.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read Only Memory), the various media that can store program code such as magnetic or disk.In this way, the embodiment of the present invention is not limited to appoint What specific hardware and software combines.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot Structure or characteristic can combine in any suitable manner in one or more embodiments.It should be understood that in various implementations of the invention In example, magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, the execution sequence Ying Yiqi function of each process It can determine that the implementation process of the embodiments of the invention shall not be constituted with any limitation with internal logic.The embodiments of the present invention Serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
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 the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: various Jie that can store program code such as movable storage device, ROM, magnetic or disk Matter.
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 (14)

1. a kind of image-pickup method, which is characterized in that the described method includes:
When obtaining the first global position system GPS anchor point of arrival, the first attribute information and the arrival of image capture device are obtained Last Image Acquisition when described image acquisition equipment the second attribute information;
The first GPS positioning point and the last figure are determined according to first attribute information and second attribute information As the first spacing distance locality;
According to the relationship between preset acquisition interval distance and first spacing distance, determine Image Acquisition next time when Between, and next Image Acquisition is carried out at the corresponding moment.
2. method according to claim 1, which is characterized in that it is described according to preset acquisition interval distance with it is described Relationship between first spacing distance determines the time of Image Acquisition next time, and carries out next Image Acquisition, packet at the corresponding moment It includes:
When the difference between the preset acquisition interval distance and first spacing distance be greater than 0 and the difference less than the When four spacing distances, the first interval is determined according to first spacing distance, acquisition interval distance and first attribute information Duration, wherein the 4th spacing distance is the distance between the first GPS positioning point and the second GPS positioning point, described the 2 GPS positioning points are next GPS positioning point of the first GPS positioning point;
The first image of camera acquisition is obtained after the duration of first interval.
3. method according to claim 1, which is characterized in that described according to first attribute information and described second Attribute information determines the first spacing distance of the first GPS positioning point and the last Image Acquisition ground, comprising:
The first location information of the first GPS positioning point is obtained from first attribute information;
The second location information on the last Image Acquisition ground is obtained from second attribute information;
The first GPS positioning point and the last figure are determined according to the first location information and the second location information As the first spacing distance locality.
4. method according to claim 1, which is characterized in that described according to first attribute information and described second Attribute information determines the first spacing distance of the first GPS positioning point and the last Image Acquisition ground, further includes:
The First Speed of described image acquisition equipment when reaching the first GPS positioning point is obtained from first attribute information And first time point;
Second of described image acquisition equipment when with reaching the last Image Acquisition is obtained from second attribute information Speed and the second time point;
The first GPS positioning point and institute are determined according to the First Speed, first time point, second speed and the second time point State first spacing distance on last Image Acquisition ground.
5. method according to claim 3, which is characterized in that it further include driving direction in first attribute information, Accordingly, after the step of obtaining the first image of camera acquisition after the duration of first interval, the method is also wrapped It includes:
When reaching the second GPS positioning point, the third attribute information of described image acquisition equipment is obtained, wherein described the Third speed is included at least in three attribute informations;
According to the First Speed and the third speed, the acceleration between the first GPS positioning point and the second GPS positioning point is determined Degree;
It is determined under reaching according to the first location information, First Speed, acceleration, driving direction and first interval duration Image Acquisition when described image acquisition equipment the 4th attribute information.
6. method according to claim 5, which is characterized in that the 4th attribute information is believed including at least the 4th position Breath and fourth speed, it is accordingly, described according to the first location information, First Speed, acceleration, driving direction and described the One interval duration determine reach next time Image Acquisition when described image acquisition equipment the 4th attribute information, comprising:
Determined according to the First Speed, acceleration and first interval duration reach next time Image Acquisition when the figure As the fourth speed of acquisition equipment;
With the determining last Image Acquisition and next time image according to the First Speed, acceleration and first interval duration Third spacing distance locality;
According to the first location information, driving direction and the third spacing distance determine reach next time Image Acquisition when 4th location information of described image acquisition equipment.
7. method according to any one of claim 1 to 6, which is characterized in that obtained after the duration of first interval After the step of the first image for taking camera to acquire, the method also includes:
The first image is converted to the first RGB image of RGB rgb format;
First RGB image and the 4th attribute information are established into corresponding relationship;
First RGB image is stored with the corresponding relationship of the 4th attribute information to image and the corresponding of attribute information and is closed It is table;
The mapping table of described image and attribute information is sent to server.
8. method according to any one of claim 1 to 6, which is characterized in that it is described according to preset acquisition interval away from From the relationship between first spacing distance, the time of Image Acquisition next time is determined, and carry out next time at the corresponding moment Image Acquisition, further includes:
When the difference between preset acquisition interval distance and first spacing distance is less than or equal to 0, determine current Moment is the time of next Image Acquisition;
Obtain the second image of the camera acquisition.
9. method according to any one of claim 1 to 6, which is characterized in that it is described according to preset acquisition interval away from From the relationship between first spacing distance, the time of Image Acquisition next time is determined, and carry out next time at the corresponding moment Image Acquisition, further includes:
When the difference between preset acquisition interval distance and first spacing distance is more than or equal to the 4th interval Apart from when, when reaching the second GPS positioning point, obtain described image acquisition equipment third attribute information;
The second GPS positioning point and the last figure are determined according to the third attribute information and second attribute information As the second spacing distance locality;
When the difference between the acquisition interval distance and second spacing distance is greater than 0 and the difference is less than the described 4th When spacing distance, when determining the second interval according to second spacing distance, acquisition interval distance and first attribute information It is long;
The third image of camera acquisition is obtained after the duration of second interval.
10. method according to claim 8, which is characterized in that described when acquisition interval distance and first interval When difference between distance is less than or equal to 0, the second image of the camera acquisition is obtained, comprising:
When the difference between the acquisition interval distance and first spacing distance is less than or equal to 0, from the camera shooting Collected second image of current time camera is obtained in collected preview frame.
11. method according to any one of claim 1 to 6, which is characterized in that in the first global positioning system of the arrival When system GPS positioning point, described image when obtaining the first attribute information of image capture device with the last Image Acquisition of arrival Before the step of acquiring the second attribute information of equipment, the method also includes:
The cartographic information in section where obtaining Image Acquisition ground;
Where determining described image locality according to the cartographic information in section acquisition target quantity;
Acquisition interval distance is determined according to the quantity of the acquisition target.
12. a kind of image collecting device, which is characterized in that described device includes: the first acquisition module, the first determining module, Two determining modules and second obtain module, in which:
Described first obtains module, when for reaching the first current global position system GPS anchor point, obtaining Image Acquisition and setting Standby the first attribute information and with reaching last Image Acquisition when described image acquisition equipment the second attribute information;
First determining module, for determining described first according to first attribute information and second attribute information First spacing distance of GPS positioning point and the last Image Acquisition ground;
Second determining module, for according to the pass between preset acquisition interval distance and first spacing distance System determines the time of Image Acquisition next time, and carries out next Image Acquisition at the corresponding moment.
13. a kind of image capture device, which is characterized in that the equipment includes at least: memory, communication bus and processor, Wherein:
The memory, for storing image acquisition procedure;
The communication bus, for realizing the connection communication between processor and memory;
The processor, for executing the image acquisition procedure stored in memory, to perform the steps of
When reaching the first current global position system GPS anchor point, obtains the first attribute information of image capture device and arrive Second attribute information of described image acquisition equipment when up to last Image Acquisition;
The first GPS positioning point and the last figure are determined according to first attribute information and second attribute information As the first spacing distance locality;
According to the relationship between preset acquisition interval distance and first spacing distance, determine Image Acquisition next time when Between, and next Image Acquisition is carried out at the corresponding moment.
14. a kind of storage medium, which is characterized in that be stored with image acquisition procedure, described image acquisition on the storage medium The step of image-pickup method described in 1 to 11 any one is realized when program is executed by processor.
CN201810142617.5A 2018-02-11 2018-02-11 Image acquisition method and device, equipment and storage medium thereof Active CN110149474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810142617.5A CN110149474B (en) 2018-02-11 2018-02-11 Image acquisition method and device, equipment and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810142617.5A CN110149474B (en) 2018-02-11 2018-02-11 Image acquisition method and device, equipment and storage medium thereof

Publications (2)

Publication Number Publication Date
CN110149474A true CN110149474A (en) 2019-08-20
CN110149474B CN110149474B (en) 2022-04-01

Family

ID=67588249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810142617.5A Active CN110149474B (en) 2018-02-11 2018-02-11 Image acquisition method and device, equipment and storage medium thereof

Country Status (1)

Country Link
CN (1) CN110149474B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11108671A (en) * 1997-10-06 1999-04-23 Hitachi Ltd Road information acquisition and display apparatus
CN103002202A (en) * 2007-08-23 2013-03-27 索尼株式会社 Image-capturing apparatus and image-capturing method
CN104994355A (en) * 2015-07-14 2015-10-21 杨珊珊 Intelligent active image acquisition and update system and method
CN204993644U (en) * 2015-07-14 2016-01-20 杨珊珊 Intelligent initiative image acquisition and renewal system
US20170138752A1 (en) * 2015-06-19 2017-05-18 Yakov Z. Mermelstein Method and System for Providing Personalized Navigation Services and Crowd-Sourced Location-Based Data
CN107451526A (en) * 2017-06-09 2017-12-08 蔚来汽车有限公司 The structure of map and its application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11108671A (en) * 1997-10-06 1999-04-23 Hitachi Ltd Road information acquisition and display apparatus
CN103002202A (en) * 2007-08-23 2013-03-27 索尼株式会社 Image-capturing apparatus and image-capturing method
US20170138752A1 (en) * 2015-06-19 2017-05-18 Yakov Z. Mermelstein Method and System for Providing Personalized Navigation Services and Crowd-Sourced Location-Based Data
CN104994355A (en) * 2015-07-14 2015-10-21 杨珊珊 Intelligent active image acquisition and update system and method
CN204993644U (en) * 2015-07-14 2016-01-20 杨珊珊 Intelligent initiative image acquisition and renewal system
CN107451526A (en) * 2017-06-09 2017-12-08 蔚来汽车有限公司 The structure of map and its application

Also Published As

Publication number Publication date
CN110149474B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
JP7371924B2 (en) Video monitoring system, video monitoring method, and program
US10664708B2 (en) Image location through large object detection
US8103126B2 (en) Information presentation apparatus, information presentation method, imaging apparatus, and computer program
CN107845114B (en) Map construction method and device and electronic equipment
US20150054981A1 (en) Method, electronic device, and computer program product
WO2018120350A1 (en) Method and device for positioning unmanned aerial vehicle
EP3461136B1 (en) Video playing method and device
CN108513710A (en) The correlating method of image and location information, device and moveable platform
JP6397617B2 (en) Method and apparatus for removing shadows from aerial or satellite photographs
CN113378605A (en) Multi-source information fusion method and device, electronic equipment and storage medium
CN106060523A (en) Methods for collecting and displaying panoramic stereo images, and corresponding devices
CN105892638A (en) Virtual reality interaction method, device and system
JP2015128259A (en) Image processing device, photographing device, photographing system, image processing method, and computer program
JP7107596B2 (en) Station monitoring system and station monitoring method
CN113063421A (en) Navigation method and related device, mobile terminal and computer readable storage medium
WO2016011763A1 (en) Image presentation method, apparatus and device, and nonvolatile computer storage medium
WO2024221960A1 (en) Pedestrian geographic trajectory extraction method, and device
US20210357620A1 (en) System, moving object, and information processing apparatus
CN109765934A (en) The method and relevant apparatus of course line parameter are planned according to camera parameter
CN109767645A (en) A kind of parking planning householder method and system based on AR glasses
CN110149474A (en) A kind of image-pickup method and its device, equipment and storage medium
KR102168110B1 (en) Camera system
EP2653971A1 (en) Data management device, system, program, and method
CN108206940B (en) Video streaming connection and transmission method, gateway device and viewing device
JP7107597B2 (en) STATION MONITORING DEVICE, STATION MONITORING METHOD AND PROGRAM

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