CN109063039A - A kind of video map dynamic labels display methods and system based on mobile terminal - Google Patents
A kind of video map dynamic labels display methods and system based on mobile terminal Download PDFInfo
- Publication number
- CN109063039A CN109063039A CN201810783430.3A CN201810783430A CN109063039A CN 109063039 A CN109063039 A CN 109063039A CN 201810783430 A CN201810783430 A CN 201810783430A CN 109063039 A CN109063039 A CN 109063039A
- Authority
- CN
- China
- Prior art keywords
- geographical labels
- collection
- labels
- geographical
- remaining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Navigation (AREA)
Abstract
The video map dynamic labels display methods and system, method that the present invention provides a kind of based on mobile terminal include obtaining the first real-time video code stream of server end data, are embedded with the first geographical labels collection in the first real-time video code stream;The first geographical labels collection is called, and coordinate transformation is carried out to the label position that the first geographical labels are concentrated, obtains the position coordinates collection P that first geographical labels are shown in terminal;Edge filtering is carried out to the first geographical labels collection, obtains the first remaining geographical labels collection;Classification processing, the remaining geographical labels example of dynamic creation first are carried out to the first remaining geographical labels collection;First remaining geographical labels example is cached to spatial cache;The first of caching remaining geographical labels example is displayed on the terminals according to the position coordinates P.It solves the problems, such as the synchronism of real-time video map Yu virtual label information, also solves the problems, such as constantly to change the simplification for causing mobile terminal dynamically to handle label in real time when real-time video map scene.
Description
Technical field
Map Dynamic Recognition of the present invention field more particularly to a kind of video map dynamic labels display side based on mobile terminal
Method and system.
Background technique
With the universal and application that internet is explosive, the application of electronic map is also more and more extensive, Internet map clothes
The information provided of being engaged in and search service bring great convenience to the life and work of user, are also Internet map service
Create huge market.
Map tag is labeled specific place exactly on map.The accuracy and dynamic synchronization of map tag
Property directly affect user family experience.Video map label application technology based on mobile terminal, at home application market
Upper few preferable realizations at present, by the application on video map dynamic labels Technology application to mobile terminal be even more it is few again
It is few.Currently available technology scheme can only accomplish simply to merge virtually drawing mark object with video map scene, institute
The information that can be showed has unicity, and is very easy to copy, and is only virtually constructed by simple animation implementation
One pseudo- augmented reality, can not be organic with video map Scene realization by way of friendly by various useful virtual informations
In conjunction with.
Real-time change for video map scene, there are mainly two types of schemes for the prior art:
Scheme one shoots the scenery on periphery by the camera of mobile terminal, the picture number then obtained to shooting
According to carry out algorithm process, frame selects wherein geographically relevant mark object, to carry out the difference of other scenery to arround, further
Mark object and augmented reality application data are bound, and are overlapped with true image scene, are carried out most by mobile terminal
Whole processing simultaneously exports displaying.Based on this kind of scheme is mainly handled with mobile terminal, sub-moduleization carries out the merging addition of label, main
It to be following several big modules: input module, identification module, merging module, output module.Input module is that mobile terminal acquires equipment
Or external image capture device, carry out the acquisition of original image;Identification module carries out frame to collected raw image data
Select geographically relevant mark object;Merging module realizes the binding of mark object and augmented reality geodata information etc., and will tie up
Mark object and true scene after fixed merge superposition;Output module renders the augmented reality scene of superposition,
It is output on the display of mobile terminal and presents.
Scheme two, mobile terminal directly store the label object of single fixation, by the test amount of drawing to label object, obtain
Its size out is matched with the size of display of mobile terminal, realizes mark by the augmented reality data that background server is adjusted back
The positioning for signing view is drawn, and then is overlapped above Video Layer display and is completed label view.
Above scheme one carries out a large amount of image procossing synthetic operation by mobile terminal merely, for the performance of mobile terminal
Consumption greatly, due to a large amount of memory consumption, will cause mobile terminal Caton, generates heat, is not responding to the drawbacks such as user's operation;
Above scheme two, can only simply add single label, and label can not accomplish correction position in time and
It is dynamic to draw, using technology by the way of to be that comparison is traditional obtain data based on background service, or directly utilize terminal
Functions of the equipments handle augmented reality information, this will cause the time delay of information, isolate consistent with the space-time of real-time video map
Property.It is more complicated that data procedures are obtained simultaneously, are unfavorable for carrying out subsequent expand and develop at the terminal.
Summary of the invention
For above-mentioned existing timely deficiency, the invention proposes a kind of, and the video map dynamic labels based on mobile terminal are aobvious
Show method and system, solves the problems, such as the synchronism of real-time video map Yu virtual label information, also solve and work as real-time video
Map scene constantly changes the simplification problem for causing mobile terminal dynamically to handle label in real time.
A kind of video map dynamic labels display methods based on mobile terminal provided by the invention, including,
The first real-time video code stream of server end data are obtained, the first geographical mark is embedded in the first real-time frequency code stream
Label collection;
The first geographical labels collection is called, and coordinate is carried out to the label position that first geographical labels are concentrated and is changed
It calculates, obtains the position coordinates collection P that first geographical labels are shown in terminal;
Edge filtering is carried out to the first geographical labels collection, obtains the first remaining geographical labels collection;
Classification processing, the remaining geographical labels example of dynamic creation first are carried out to the described first remaining geographical labels collection;
Described first remaining geographical labels example is cached to spatial cache;
The first of the caching remaining geographical labels example is displayed on the terminals according to the position coordinates P.
Further, the first of the caching the remaining geographical labels example is shown at the terminal according to the position coordinates P
Show to be geographical labels layer, shows top layer as mobile terminal;The mobile terminal shows that bottom is video map layer, for showing the
One real-time video code stream;Show that there are also gesture control layers between bottom and the geographical labels layer in the mobile terminal, for leading to
Cross the visual angle and/or orientation of video map described in gesture control.
Further, when the visual angle of first real-time video code stream changes, after acquisition visual angle changes
Second real-time video code stream is embedded with the second geographical labels collection in second real-time video code stream;
The second geographical labels collection is compared with the described first remaining geographical labels, obtains the geographical labels of coincidence
The collection A and geographical labels collection B not being overlapped;
It is displayed on the terminals to the geographical labels collection A of the coincidence and the geographical labels collection B not being overlapped respectively.
Further, described respectively to the geographical labels collection A of the coincidence and the geographical labels collection B not being overlapped in terminal
Upper display, specifically includes,
Obtain the coordinate set of the geographical labels collection A of the coincidence and according to the coordinate set by the geographical labels collection of the coincidence
A updates display at the terminal;
Coordinate transformation is carried out to the label position in the geographical labels collection B not being overlapped, obtains geographical labels collection B at end
Hold the position coordinates collection Q of display;
Edge filtering is carried out to the geographical coordinate collection B, obtains the second remaining geographical labels collection;
Classification processing, the remaining geographical labels example of dynamic creation second are carried out to the described second remaining geographical labels collection;
Described second remaining geographical labels example is cached to spatial cache;
The second of the caching remaining geographical labels example is displayed on the terminals according to the position coordinates Q.
Further,
The coordinate transformation that the coordinate transformation unit carries out label position can be video camera ball machine PT coordinate, GPS warp
Latitude coordinate, XY mathematical coordinates;
The classification processing unit be used to for the described first remaining geographical labels collection being divided into point, vector line segment, vector arrows,
Four seed type of polygon, the remaining geographical labels example of dynamic creation first.
The video map dynamic labels display system based on mobile terminal that the present invention also provides a kind of, including,
First data capture unit, for obtaining server end the first real-time video code stream data, the described first real-time frequency
The first geographical labels collection is embedded in code stream;
Coordinate transformation unit, for calling the first geographical labels collection, and to the mark that first geographical labels are concentrated
It signs position and carries out coordinate transformation, obtain the position coordinates collection P that first geographical labels are shown in terminal;
Edge filtering unit obtains the first remaining geographical mark for carrying out edge filtering to the first geographical labels collection
Label collection (in the tally set that terminal is shown);
Classification processing unit, for carrying out classification processing to the described first remaining geographical labels collection, dynamic creation first is surplus
Remaining geographical labels example;
Cache unit, for caching the described first remaining geographical labels example to spatial cache;
First display unit, for the first of the caching the remaining geographical labels example to exist according to the position coordinates P
It is shown in terminal.
Further, the display mode Layering manifestation of first display unit,
The remaining geographical labels example of the first of the caching is marked according to the position coordinates P is displayed on the terminals for geography
Layer is signed, shows top layer as mobile terminal;
The mobile terminal shows that bottom is video map layer, for showing the first real-time video;
Show that there are also gesture control layers between bottom and the geographical labels layer in the mobile terminal, for passing through gesture control
Make the visual angle and/or orientation of the video map.
Further, further include,
Second data capture unit, for obtaining visual angle when the visual angle of first real-time video code stream changes
The second real-time video code stream after changing is embedded with the second geographical labels collection in second real-time video code stream;
Comparing unit is obtained for the second geographical labels collection to be compared with the described first remaining geographical labels
The geographical labels collection A of the coincidence and geographical labels collection B not being overlapped;
Second display unit, for respectively to the geographical labels collection A of the coincidence and the geographical labels collection B not being overlapped at end
It is shown on end.
Further, second display unit specifically includes,
Update module, for obtain the geographical labels collection A of the coincidence coordinate set and will be described heavy according to the coordinate set
The geographical labels collection A of conjunction updates display at the terminal;
Coordinate transformation module is obtained for carrying out coordinate transformation to the label position in the geographical labels collection B not being overlapped
Obtain the position coordinates collection Q that geographical labels collection B is shown in terminal;
Edge filtering module obtains the second remaining geographical labels for carrying out edge filtering to the geographical coordinate collection B
Collection;
Classification processing module, for carrying out classification processing to the described second remaining geographical labels collection, dynamic creation second is surplus
Remaining geographical labels example;
Cache module, for caching the described second remaining geographical labels example to spatial cache;
Display module, for by the second of the caching the remaining geographical labels example according to the position coordinates Q in terminal
Upper display.
Further, the coordinate transformation that the coordinate transformation unit carries out label position can be video camera ball machine PT
Coordinate, GPS latitude and longitude coordinates, XY mathematical coordinates;
The classification processing unit be used to for the described first remaining geographical labels collection being divided into point, vector line segment, vector arrows,
Four seed type of polygon, the remaining geographical labels example of dynamic creation first.
As can be seen from the above technical solutions:
The present invention is using real-time video map as starting point, in conjunction with augmented reality picture pick-up device, to be embedded in real-time video code stream
Geographical labels information as label data source, while mobile terminal realizes that real-time video is checked, it is real to pass through interface readjustment
When video in geographical labels information, later by carrying out edge filtering and classification processing, dynamic creation to geographical label data
Various types of labels, and all kinds of labels are cached, it is finally synchronous to show on mobile terminal, realize the exhibition of video map label
Show function.When in real-time video angle of field is mobile, new camera parameters and new geographical labels data are adjusted back by interface,
It is mobile-terminated receive data after, to existing label data carry out position update calculate, from the label example of caching directly
Various types of labels are taken out, update is shown on mobile terminal.
The invention has the following advantages that
The mathematical conversion that a variety of geographical labels data can be carried out with coordinate, obtains label in the final display position in mobile terminal
Coordinate, applied widely, user is strong to the alternative in label data source;
By classifying to geographical label information, so as to establish a plurality of types of label subtypes, system is encapsulated
One label base class realizes that the control management and the conversion of coordinate that attribute is shared to geographical label information, open label creation connect
Mouth for users to use, simplifies the usability of video map label;In addition user can easily inherit label base class and realize oneself
Video map tag class, scalability with higher.
It is crossed the border filtering by classification caching process to label and label, greatly reduces the creation of a large amount of label examples
Consumption to mobile end memory, avoids application caused by the decline of mobile terminal performance from improving without response and phenomenon slow in reacting
User checks the experience property of video map.
Display mode of the video map label on mobile terminal, eliminates the interaction with background service, improves fluency
Network interaction bring abnormality processing is also eliminated simultaneously, improves robustness.
Detailed description of the invention
Fig. 1 is the flow diagram of the embodiment of the present invention 1;
Fig. 2 is mobile terminal displaing coordinate schematic diagram;
Fig. 3 is geographical labels classification schematic diagram in the embodiment of the present invention 1;
Fig. 4 is the flow diagram of the embodiment of the present invention 2;
Fig. 5 is the realization block diagram of the embodiment of the present invention 2;
Fig. 6 is the first visual angle of mobile terminal figure in 2 practical application of the embodiment of the present invention;
Fig. 7 is the schematic diagram in 2 practical application of the embodiment of the present invention after visual angle change;
Fig. 8 is the structural schematic diagram of the embodiment of the present invention 3;
Fig. 9 is the structural schematic diagram of the embodiment of the present invention 4.
Specific embodiment
To enable the goal of the invention, feature, advantage of the embodiment of the present application more obvious and understandable, below in conjunction with
Attached drawing in the embodiment of the present application, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that below
Described embodiment is only the embodiment of the present application a part of the embodiment, and not all embodiment.Implemented based on the application
Embodiment in example, all other implementation obtained by those of ordinary skill in the art without making creative efforts
Example belongs to the range of the embodiment of the present application protection.
Embodiment 1:
Fig. 1 is the present embodiment flow diagram, a kind of video map dynamic labels display methods based on mobile terminal, packet
It includes,
Step 101, the first real-time video code stream of server end data are obtained, are embedded with first in the first real-time frequency code stream
Geographical labels collection;
It should be noted that the application message of geographical labels is added processing by server end, reality is embedded it in
When video code flow in, with the request command of terminal, video code flow and geographical labels are transferred to terminal together, when user checks
When, the geographical labels of video code flow and its carrying can be viewed, terminal can be adjusted back by interface, be taken to frame each in video
The geographical labels of band are extracted and are parsed.
Step 102, the first geographical labels collection is called, and coordinate is carried out to the label position that the first geographical labels are concentrated and is changed
It calculates, obtains the position coordinates collection P that first geographical labels are shown in terminal;
By extracting the geographical labels in original video code stream, the position of geographical labels is obtained, and carry out to the position of label
Conversion, in order to obtain the coordinate that geographical labels are shown in mobile terminal.
It should be noted that can be following three to the coordinate transformation that the label position that the first geographical labels are concentrated carries out
The conversion of kind coordinate:
PT coordinate, that is, ball machine coordinate, P ball machine coordinate, P are deflection angle, and for range at 0~360 degree, due north is 0 degree, is pressed
It is incremented by clockwise, T is pitch angle, 0~90 degree, is perpendicularly oriented to when ground be 90 degree, and is 0 degree when ground level;
XY coordinate, that is, plane rectangular coordinates, using the upper left corner as origin;
GPS, that is, latitude and longitude coordinates, coordinate system WGS-84.
Geographical labels label can be obtained in mobile terminal by mathematical conversion using the geographical labels data source of different coordinates
The coordinate of final display position, applied widely, user is strong to the alternative in label data source.
In general, the size of real-time video is 1080p, i.e. 1920*1080, using plane right-angle coordinate base
Standard, for the mobile terminal of android system, as shown in Fig. 2, the origin for drawing painting canvas is the upper left corner, with former real-time video picture
Coordinate system be the same, so when label data source is XY coordinate type, equal proportion scaling can be used and acquire it in hand
The position coordinates point shown on machine screen, if source coordinate points are (120,120), if a height of 1920*1080 of mobile phone screen width is (horizontal
Screen), then it is calculated as 1:1 in proportion, then the coordinate points shown on screen are still (120,120);When coordinate type is PT or GPS
When coordinate type, then the interface for calling bottom library (library C++ is vital strategic secrets) to provide is needed to be converted.
Step 103, edge filtering is carried out to the first geographical labels collection, obtains the first remaining geographical labels collection;
It should be noted that the cartographic information and geographical labels in original video code stream might not can be carried out in mobile terminal
It has been shown that, the label data that crosses the border refer to Tag Type data its coordinate position not number in the display device of mobile terminal after conversion
According to, the coordinate system of mobile phone screen as shown in Figure 2, length and width 1920*1080, if the label length and width after converting is 2400*
890, since the length after its conversion has been more than the length range that mobile phone screen is shown, then the label data is not aobvious in mobile phone screen
Demonstration is referred to as the label data that crosses the border in enclosing.For the label data that crosses the border, need to carry out edge filtering, specific filter type,
Can be and judge to compare by simple coordinate size, the x of the coordinate of original video code stream, y-coordinate with mobile phone screen size into
Row compares, and filters out data of crossing the border.
In the present embodiment, that is, to the first geographical labels collection edge filtering, the remaining geographical mark of the first of acquisition are carried out
Label collection, seeks to the tally set shown in mobile terminal.
Step 104, classification processing is carried out to the first remaining geographical labels collection, the remaining geographical labels of dynamic creation first are real
Example;
Classification processing is carried out to the first remaining geographical labels collection, geographical labels classification schematic diagram as shown in Figure 3, classification can
To include point, vector line segment, vector arrows, polygon, the purpose of classification is to allow video map preferably to present to user
Vector label can be used for point label, road cross direction in the effect of augmented reality, such as fixed building building, bus station
Polygon etc. may be used in platform or warning region.
By classifying to geographical label information, so as to establish various types of label subtypes, system is encapsulated
One label base class realizes that the control management and the conversion of coordinate that attribute is shared to geographical label information, open label creation connect
Mouth for users to use, simplifies the usability of video map label;In addition user can easily inherit label base class and realize oneself
Video map tag class, scalability with higher.
Step 105, the first remaining geographical labels example is cached to spatial cache;
The purpose of caching is to show geographical labels glibly on mobile terminal.The augmented reality of geographical labels
Information company real-time video code stream shown together in terminal, the interaction with background service is eliminated, while improving fluency
Network interaction bring abnormality processing is also eliminated, robustness is improved.
Step 106, the first of caching the remaining geographical labels example is displayed on the terminals according to position coordinates P;
Geographical labels in caching are finally precisely shown on mobile terminal, are needed by its displaing coordinate, just need at this time by
Geographical labels are shown at the terminal according to step 102 geographical labels position coordinates collection P obtained.
It, can be by step 106, i.e., by the cached first remaining geographical location mark as further improvement of this embodiment
The geographical labels shown in terminal, referred to as " geographical labels are shown according to position coordinates P at the terminal for label example
Layer ", in not only geographical labels layer that mobile terminal is shown, there are also video map layers and gesture control layer etc..On mobile terminal
The final picture shown can be by the way of Layering manifestation, specifically, geographical labels layer is shown in top, for real
The display of existing geographical labels;Video map is shown in the bottom, for showing real-time video code stream;In geographical labels layer and video
There are also gesture control layers between map layer, such as left up and down for realizing the visual angle and/or orientation for passing through gesture control video map
It the control instruction included to camera such as moving right, is drawn in gesture, then camera receives the instruction faced upward, when gesture is left sliding, camera shooting
Head then turns left.By way of Layering manifestation, it is clear that logic is realized, each display layer is mutually isolated, and later period scalability is strong.
By above embodiment it is found that the present embodiment is using the first real-time video map as starting point, imaged in conjunction with augmented reality
Equipment, the geographical labels information being embedded in using in the first video code flow realize real-time video as label data source, in mobile terminal
While checking, the geographical labels information in real-time video is adjusted back by interface, later by carrying out side to geographical label data
The processing of boundary's filtration and classification, the various types of labels of dynamic creation, and all kinds of labels are cached, finally synchronous show is being moved
On moved end, the displaying function of real-time video map tag is realized.The present embodiment is alternative to geographical label data source strong, and
And a plurality of types of labels can be created and handled according to label data, and it is adaptable, by being carried out to geographical label information
Filter and classification caching greatly reduce consumption of the creation of a large amount of label examples to mobile end memory, avoid mobile terminal performance
Decline caused by application without response and phenomenon slow in reacting, improve the experience property that user checks video map.For movement
The mode of Layering manifestation is held, it is clear that logic is realized, each display layer is mutually isolated, and later period scalability is strong.
Embodiment 2:
By technical solution disclosed in embodiment 1, geographical labels are realized in the real-time display of mobile terminal, are further real
Existing technical effect of the invention, the present embodiment increases on the basis of embodiment 1 to be become at the visual angle of the first video code flow
Processing mode when change.It should be noted that because the display to the first video code flow and geographical labels is same as Example 1, i.e.,
The present embodiment includes embodiment step 101 to the process of step 106, and this will not be repeated here, and only the first real-time video is worked as in description below
The processing mode when visual angle of code stream changes.
Fig. 4 is the flow diagram that further increases on the basis of embodiment 1 of the present embodiment, a kind of based on mobile terminal
Video map dynamic labels display methods further includes on the basis of embodiment 1,
Step 201, when the visual angle of the first real-time video code stream changes, second after acquisition visual angle changes is real
When video code flow, be embedded with the second geographical labels collection in the second real-time video code stream;
After the visual angle of the first real-time video code stream changes, the position of the video and geographical labels that are shown on mobile terminal
Setting also can accordingly change, it is therefore desirable to obtain the second real-time video code stream of the second geographical labels collection of same insertion.
Step 202, the second geographical labels collection is compared with the first remaining geographical labels, obtains the geographical labels of coincidence
The collection A and geographical labels collection B not being overlapped;
It is in order to for original it should be noted that distinguishing the geographical labels collection A the being overlapped and geographical labels collection B not being overlapped
The existing geographical labels A that begins carries out coordinate and updates display, and to newly-increased geographical labels B carry out coordinate transformation, edge filtering,
It is shown after creation, caching.Such as have 2 geographical labels in the first real-time video code stream, in the second real-time video code stream
There are 10 geographical labels, comprising 2 geographical labels in the first real-time video code stream in this 10 geographical labels, then being directed to
2 geographical labels originally show the geographical labels in caching in terminal according to new coordinate, and 8 geography for increasing newly
Labeling requirement coordinate transformation, edge filtering, classification are created, are cached, being finally shown in terminal.
Step 203, displayed on the terminals to the geographical labels collection A of coincidence and the geographical labels collection B not being overlapped respectively.
It should be noted that the step is the continuity of step 202, it is above-mentioned to the geographical labels collection A of coincidence and not to be overlapped
The display of geographical labels collection B be illustrated, next specifically described in the present embodiment for the geographical labels collection A being overlapped
How the geographical labels collection B not being overlapped is shown.
Step 2031, the coordinate set of the geographical labels collection A of coincidence is obtained and according to the coordinate set by the geography of the coincidence
Tally set A updates display at the terminal;
It should be noted that for the common existing geographical mark being overlapped of the second geographical labels collection and the first geographical labels collection
Label collection A, has been buffered in spatial cache, so calling directly the geographical labels in caching and carrying out more by new coordinate in terminal
New display.
Step 2032, coordinate transformation is carried out to the label position in the geographical labels collection B not being overlapped, obtains geographical labels collection
The position coordinates collection Q that B is shown in terminal;
It should be noted that concentrating newly-increased geographical labels to be created for the second geographical labels.Specifically, obtaining not
The geographical labels collection B location of coincidence, and convert to the position of label, in order to obtain the geographical labels collection not being overlapped
The coordinate that B is shown in mobile terminal.
Step 2033, edge filtering is carried out to geographical coordinate set B, obtains the second remaining geographical labels collection;
It should be noted that step 2033 principle and purpose are identical as step 103 in the embodiment of the present application 1, specifically describe
It may refer to the content of first embodiment step 103, this will not be repeated here.
Step 2034, classification processing, the remaining geographical labels of dynamic creation second are carried out to the remaining geographical labels collection of institute second
Example;
It should be noted that step 2034 is identical as the content of step 104 in the embodiment of the present application 1, specific descriptions can be with
Referring to the content of first embodiment step 104, details are not described herein.
Step 2035, the second remaining geographical labels example is cached to spatial cache;
It should be noted that step 2035 is identical as the content of step 105 in the embodiment of the present application 1, specific descriptions can be with
Referring to the content of first embodiment step 105, details are not described herein.
While it is noted that spatial cache here is same slow with the spatial cache in the embodiment of the present application 1
Space is deposited, whenever the visual angle of real-time video code stream changes, and is had when generating new geographical labels, it can be by newly-increased label
Caching to spatial cache, mobile terminal shown be all spatial cache geographical labels.Certainly, spatial cache is often deposited
The upper limit of storage, when the geographical labels of spatial cache storage are more than storage cap, newly-increased label will be override before part
Which part labels the label cached specifically covers, and is required according to specific, can choose the covering the smallest label of frequency of use
Or buffer tag at first, it no longer specifically describes in this application.
Step 2036, the second of caching the remaining geographical labels example is displayed on the terminals according to position coordinates Q.
It should be noted that with reference to the step 106 in the embodiment of the present application 1, by the remaining geographical mark of second in caching
Label are finally precisely shown on mobile terminal, are needed by its displaing coordinate, are just needed at this time by geographical labels according to step 2032 institute
The geographical labels position coordinates collection Q of acquisition is shown at the terminal.
To further illustrate that the present embodiment, Fig. 5 are the realization block diagram of the present embodiment, Fig. 6 is mobile terminal in practical application
First visual angle figure, Fig. 7 are the schematic diagram after visual angle change, by comparison it is found that its label relative to video map be it is fixed,
And with the conversion at visual angle, the label in screen visual range is only shown.
According to the above-mentioned detailed description to the present embodiment, when the visual angle of real-time video code stream changes, reacquire
Second real-time video code stream, and be present in the first video code flow by the geographical labels data separation in the second video code flow
Geographical labels collection A and do not appear in geographical labels collection B in the first video code flow, to geographical tally set A carry out coordinate update it is aobvious
Show, creation is carried out to geographical coordinate set B and is shown.The present embodiment on the basis of embodiment 1 so that inherit early period caching ground
Label mark type is managed, scalability with higher further reduces the memory consumption of mobile terminal, improves the stream that terminal is shown
Smooth degree.
Embodiment 3:
Fig. 8 is the present embodiment structural schematic diagram, and a kind of video map dynamic labels display system based on mobile terminal is special
Sign is, including,
First data capture unit 301, for obtaining server end the first real-time video code stream data, the first real-time frequency code
The first geographical labels collection is embedded in stream;
Coordinate transformation unit 302, for calling the first geographical labels collection, and to the label that first geographical labels are concentrated
Position carries out coordinate transformation, obtains the position coordinates collection P that the first geographical labels are shown in terminal;
Edge filtering unit 303 obtains the first remaining geographical labels for carrying out edge filtering to the first geographical labels collection
Collection;
Classification processing unit 304, for carrying out classification processing to the first remaining geographical labels collection, dynamic creation first is remaining
Geographical labels example;
Cache unit 305, for caching the first remaining geographical labels example to spatial cache;
First display unit 306, the first remaining geographical labels example for that will cache is according to position coordinates P in terminal
Upper display.
It should be noted that as further improvement of this embodiment, the first display unit 306, the first residue of display
Geographical labels collection is " the geographical labels layer " shown in terminal, and not only geographical labels layer shown in mobile terminal, also
Video map layer and gesture control layer etc..The final picture shown on mobile terminal can by the way of Layering manifestation,
Specifically, geographical labels layer is shown in top, for realizing the display of geographical labels;Video map is shown in the bottom, uses
In display real-time video code stream;There are also gesture control layers between geographical labels layer and video map layer, for realizing hand is passed through
Gesture controls the visual angle and/or orientation of video map, such as the control instruction included to camera that moves up and down, and draws in gesture,
Then camera receives the instruction faced upward, and when gesture is left sliding, camera then turns left.By way of Layering manifestation, logic is real
Now clear, each display layer is mutually isolated, and later period scalability is strong.
Embodiment 4:
Video map dynamic labels display system based on mobile terminal disclosed in embodiment 13, realizes geographical labels and is moving
The real-time display of moved end, to further realize technical effect of the invention, the present embodiment increases on the basis of embodiment 3
The processing structure when visual angle of first video code flow changes.It should be noted that because to the first video code flow and geographical mark
The display of label is same as Example 3, i.e., the present embodiment includes embodiment step 301 to step 306 unit, and this will not be repeated here, with
Under processing module when the visual angle of the first real-time video code stream changes only is described.
Fig. 9 is the flow diagram that further increases on the basis of embodiment 3 of the present embodiment, a kind of based on mobile terminal
Video map dynamic labels display methods further includes on the basis of embodiment 1,
Second data capture unit 401, for when the visual angle of the first real-time video code stream changes, obtaining visual angle hair
The second real-time video code stream after changing is embedded with the second geographical labels collection in the second real-time video code stream;
Comparing unit 402 obtains coincidence for the second geographical labels collection to be compared with the first remaining geographical labels
The geographical labels collection A and geographical labels collection B not being overlapped;
Second display unit 403, for respectively to the geographical labels collection A of coincidence and the geographical labels collection B not being overlapped at end
It is shown on end, specifically includes,
Update module 4031, for obtain be overlapped geographical labels collection A coordinate set and will be described heavy according to the coordinate set
The geographical labels collection A of conjunction updates display at the terminal;
Coordinate transformation module 4032 is obtained for carrying out coordinate transformation to the label position in the geographical labels collection B not being overlapped
Obtain the position coordinates collection Q that geographical labels collection B is shown in terminal;
Edge filtering module 4033 obtains the second remaining geographical labels for carrying out edge filtering to geographical coordinate set B
Collection;
Classification processing module 4034, for carrying out classification processing to the second remaining geographical labels collection, dynamic creation second is surplus
Remaining geographical labels example;
Cache module 4035, for caching the second remaining geographical labels example to spatial cache;
Display module 4036, the second remaining geographical labels example for that will cache are shown at the terminal according to position coordinates Q
Show.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
Specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of video map dynamic labels display methods based on mobile terminal, which is characterized in that including,
The first real-time video code stream of server end data are obtained, are embedded with the first geographical labels in the first real-time frequency code stream
Collection;
The first geographical labels collection is called, and coordinate transformation is carried out to the label position that first geographical labels are concentrated, is obtained
Obtain the position coordinates collection P that first geographical labels are shown in terminal;
Edge filtering is carried out to the first geographical labels collection, obtains the first remaining geographical labels collection;
Classification processing, the remaining geographical labels example of dynamic creation first are carried out to the described first remaining geographical labels collection;
Described first remaining geographical labels example is cached to spatial cache;
The first of the caching remaining geographical labels example is displayed on the terminals according to the position coordinates P.
2. the video map dynamic labels display methods according to claim 1 based on mobile terminal, which is characterized in that by institute
It is displayed on the terminals for geographical labels layer according to the position coordinates P to state the first remaining geographical labels example of caching, as
Mobile terminal shows top layer;The mobile terminal shows that bottom is video map layer, for showing the first real-time video code stream;Described
Mobile terminal shows that there are also gesture control layers between bottom and the geographical labels layer, for passing through video map described in gesture control
Visual angle and/or orientation.
3. the video map dynamic labels display methods according to claim 1 or 2 based on mobile terminal, which is characterized in that
Further include,
When the visual angle of first real-time video code stream changes, the second real-time video code after visual angle changes is obtained
It flows, is embedded with the second geographical labels collection in second real-time video code stream;
The second geographical labels collection is compared with the described first remaining geographical labels, obtains the geographical labels collection A of coincidence
And the geographical labels collection B not being overlapped;
It is displayed on the terminals to the geographical labels collection A of the coincidence and the geographical labels collection B not being overlapped respectively.
4. the video map dynamic labels display methods according to claim 3 based on mobile terminal, which is characterized in that described
It is displayed on the terminals to the geographical labels collection A of the coincidence and the geographical labels collection B not being overlapped respectively, it specifically includes,
It obtains the coordinate set of the geographical labels collection A of the coincidence and the geographical labels collection A of the coincidence is existed according to the coordinate set
Display is updated in terminal;
Coordinate transformation is carried out to the label position in the geographical labels collection B not being overlapped, it is aobvious in terminal to obtain geographical labels collection B
The position coordinates collection Q shown;
Edge filtering is carried out to the geographical coordinate collection B, obtains the second remaining geographical labels collection;
Classification processing, the remaining geographical labels example of dynamic creation second are carried out to the described second remaining geographical labels collection;
Described second remaining geographical labels example is cached to spatial cache;
The second of the caching remaining geographical labels example is displayed on the terminals according to the position coordinates Q.
5. the video map dynamic labels display system according to claim 1 or 2 or 4 based on mobile terminal, feature exist
In,
The coordinate transformation that the coordinate transformation unit carries out label position can be video camera ball machine PT coordinate, GPS longitude and latitude
Coordinate, XY mathematical coordinates;
The classification processing unit is used to for the described first remaining geographical labels collection being divided into point, vector line segment, vector arrows, polygon
Four seed type of shape, the remaining geographical labels example of dynamic creation first.
6. a kind of video map dynamic labels display system based on mobile terminal, which is characterized in that including,
First data capture unit, for obtaining server end the first real-time video code stream data, the first real-time frequency code stream
In be embedded with the first geographical labels collection;
Coordinate transformation unit, for calling the first geographical labels collection, and to the label position that first geographical labels are concentrated
Carry out coordinate transformation is set, the position coordinates collection P that first geographical labels are shown in terminal is obtained;
Edge filtering unit obtains the first remaining geographical labels collection for carrying out edge filtering to the first geographical labels collection
(in the tally set that terminal is shown);
Classification processing unit, for carrying out classification processing, the remaining ground of dynamic creation first to the described first remaining geographical labels collection
Manage label example;
Cache unit, for caching the described first remaining geographical labels example to spatial cache;
First display unit, for by the first of the caching the remaining geographical labels example according to the position coordinates P in terminal
Upper display.
7. the video map dynamic labels display system according to claim 6 based on mobile terminal, which is characterized in that described
The display mode Layering manifestation of first display unit,
The remaining geographical labels example of the first of the caching is displayed on the terminals for geographical labels according to the position coordinates P
Layer shows top layer as mobile terminal;
The mobile terminal shows that bottom is video map layer, for showing the first real-time video;
Show that there are also gesture control layers between bottom and the geographical labels layer in the mobile terminal, for passing through gesture control institute
State the visual angle and/or orientation of video map.
8. the video map dynamic labels display system according to claim 6 or 7 based on mobile terminal, which is characterized in that
Further include,
Second data capture unit, for obtaining visual angle when the visual angle of first real-time video code stream changes
The second real-time video code stream after variation is embedded with the second geographical labels collection in second real-time video code stream;
Comparing unit is obtained and is overlapped for the second geographical labels collection to be compared with the described first remaining geographical labels
Geographical labels collection A and the geographical labels collection B that is not overlapped;
Second display unit, for respectively to the geographical labels collection A of the coincidence and the geographical labels collection B not being overlapped at the terminal
Display.
9. the video map dynamic labels display system according to claim 8 based on mobile terminal, which is characterized in that described
Second display unit specifically includes,
Update module, for obtaining the coordinate set of the geographical labels collection A of the coincidence and according to the coordinate set by the coincidence
Geographical labels collection A updates display at the terminal;
Coordinate transformation module obtains ground for carrying out coordinate transformation to the label position in the geographical labels collection B not being overlapped
The position coordinates collection Q that reason tally set B is shown in terminal;
Edge filtering module obtains the second remaining geographical labels collection for carrying out edge filtering to the geographical coordinate collection B;
Classification processing module, for carrying out classification processing, the remaining ground of dynamic creation second to the described second remaining geographical labels collection
Manage label example;
Cache module, for caching the described second remaining geographical labels example to spatial cache;
Display module, for showing the second of the caching the remaining geographical labels example at the terminal according to the position coordinates Q
Show.
10. the video map dynamic labels display system described according to claim 6 or 7 or 9 based on mobile terminal, feature
It is,
The coordinate transformation that the coordinate transformation unit carries out label position can be video camera ball machine PT coordinate, GPS longitude and latitude
Coordinate, XY mathematical coordinates;
The classification processing unit is used to for the described first remaining geographical labels collection being divided into point, vector line segment, vector arrows, polygon
Four seed type of shape, the remaining geographical labels example of dynamic creation first.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810783430.3A CN109063039A (en) | 2018-07-17 | 2018-07-17 | A kind of video map dynamic labels display methods and system based on mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810783430.3A CN109063039A (en) | 2018-07-17 | 2018-07-17 | A kind of video map dynamic labels display methods and system based on mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109063039A true CN109063039A (en) | 2018-12-21 |
Family
ID=64816852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810783430.3A Pending CN109063039A (en) | 2018-07-17 | 2018-07-17 | A kind of video map dynamic labels display methods and system based on mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109063039A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889785A (en) * | 2019-02-26 | 2019-06-14 | 高新兴科技集团股份有限公司 | A kind of dummy emulation method that the POI label based on unity is shown |
CN110298889A (en) * | 2019-06-13 | 2019-10-01 | 高新兴科技集团股份有限公司 | A kind of video tab adjusting method, system and equipment |
CN110365995A (en) * | 2019-07-22 | 2019-10-22 | 视云融聚(广州)科技有限公司 | The stream media service method and system of augmented reality label are merged in video |
CN110880027A (en) * | 2019-10-21 | 2020-03-13 | 福建江夏学院 | Monitoring system based on short-distance communication |
CN111737510A (en) * | 2020-05-28 | 2020-10-02 | 杭州视在数科信息技术有限公司 | Label processing method and application for road traffic scene image algorithm |
CN111752438A (en) * | 2020-06-29 | 2020-10-09 | 高新兴科技集团股份有限公司 | Method for displaying mobile terminal multi-trigger update dynamic label |
CN115361596A (en) * | 2022-07-04 | 2022-11-18 | 浙江大华技术股份有限公司 | Panoramic video data processing method and device, electronic device and storage medium |
CN116010725A (en) * | 2023-03-23 | 2023-04-25 | 北京白龙马云行科技有限公司 | Map point location set dynamic display method, device, computer equipment and medium |
CN116212361A (en) * | 2021-12-06 | 2023-06-06 | 广州视享科技有限公司 | Virtual object display method and device and head-mounted display device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103119544A (en) * | 2010-05-16 | 2013-05-22 | 诺基亚公司 | Method and apparatus for presenting location-based content |
CN104285244A (en) * | 2012-05-23 | 2015-01-14 | 高通股份有限公司 | Image-driven view management for annotations |
CN107632709A (en) * | 2013-03-15 | 2018-01-26 | 奇跃公司 | Display system and method |
CN107958490A (en) * | 2011-11-08 | 2018-04-24 | 高通股份有限公司 | Hands-free augmented reality for radio communication device |
-
2018
- 2018-07-17 CN CN201810783430.3A patent/CN109063039A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103119544A (en) * | 2010-05-16 | 2013-05-22 | 诺基亚公司 | Method and apparatus for presenting location-based content |
CN107958490A (en) * | 2011-11-08 | 2018-04-24 | 高通股份有限公司 | Hands-free augmented reality for radio communication device |
CN104285244A (en) * | 2012-05-23 | 2015-01-14 | 高通股份有限公司 | Image-driven view management for annotations |
CN107632709A (en) * | 2013-03-15 | 2018-01-26 | 奇跃公司 | Display system and method |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889785A (en) * | 2019-02-26 | 2019-06-14 | 高新兴科技集团股份有限公司 | A kind of dummy emulation method that the POI label based on unity is shown |
CN110298889B (en) * | 2019-06-13 | 2021-10-19 | 高新兴科技集团股份有限公司 | Video tag adjusting method, system and equipment |
CN110298889A (en) * | 2019-06-13 | 2019-10-01 | 高新兴科技集团股份有限公司 | A kind of video tab adjusting method, system and equipment |
CN110365995A (en) * | 2019-07-22 | 2019-10-22 | 视云融聚(广州)科技有限公司 | The stream media service method and system of augmented reality label are merged in video |
CN110880027A (en) * | 2019-10-21 | 2020-03-13 | 福建江夏学院 | Monitoring system based on short-distance communication |
CN110880027B (en) * | 2019-10-21 | 2022-06-07 | 福建江夏学院 | Monitoring system based on short-distance communication |
CN111737510A (en) * | 2020-05-28 | 2020-10-02 | 杭州视在数科信息技术有限公司 | Label processing method and application for road traffic scene image algorithm |
CN111737510B (en) * | 2020-05-28 | 2024-04-16 | 杭州视在数科信息技术有限公司 | Label processing method and application for road traffic scene image algorithm |
CN111752438A (en) * | 2020-06-29 | 2020-10-09 | 高新兴科技集团股份有限公司 | Method for displaying mobile terminal multi-trigger update dynamic label |
CN111752438B (en) * | 2020-06-29 | 2022-01-25 | 高新兴科技集团股份有限公司 | Method for displaying mobile terminal multi-trigger update dynamic label |
CN116212361A (en) * | 2021-12-06 | 2023-06-06 | 广州视享科技有限公司 | Virtual object display method and device and head-mounted display device |
CN116212361B (en) * | 2021-12-06 | 2024-04-16 | 广州视享科技有限公司 | Virtual object display method and device and head-mounted display device |
CN115361596A (en) * | 2022-07-04 | 2022-11-18 | 浙江大华技术股份有限公司 | Panoramic video data processing method and device, electronic device and storage medium |
CN116010725A (en) * | 2023-03-23 | 2023-04-25 | 北京白龙马云行科技有限公司 | Map point location set dynamic display method, device, computer equipment and medium |
CN116010725B (en) * | 2023-03-23 | 2023-10-13 | 北京白龙马云行科技有限公司 | Map point location set dynamic display method, device, computer equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109063039A (en) | A kind of video map dynamic labels display methods and system based on mobile terminal | |
CN110009561B (en) | Method and system for mapping surveillance video target to three-dimensional geographic scene model | |
CN112053446B (en) | Real-time monitoring video and three-dimensional scene fusion method based on three-dimensional GIS | |
CN103763479B (en) | The splicing apparatus and its method of real time high-speed high definition panorama video | |
CN104765905B (en) | Plan view and the first visual angle split screen synchronous display method based on BIM and system | |
TW201915943A (en) | Method, apparatus and system for automatically labeling target object within image | |
CN101859433B (en) | Image mosaic device and method | |
CN102903144B (en) | Cloud computing based interactive augmented reality system implementation method | |
CN106816077A (en) | Interactive sandbox methods of exhibiting based on Quick Response Code and augmented reality | |
CN103335657A (en) | Method and system for strengthening navigation performance based on image capture and recognition technology | |
CN103607568A (en) | Stereo street scene video projection method and system | |
CN110072087B (en) | Camera linkage method, device, equipment and storage medium based on 3D map | |
CN106683197A (en) | VR (virtual reality) and AR (augmented reality) technology fused building exhibition system and VR and AR technology fused building exhibition method | |
CN104427230B (en) | The method of augmented reality and the system of augmented reality | |
CN110992484B (en) | Display method of traffic dynamic video in real scene three-dimensional platform | |
CN106780629A (en) | A kind of three-dimensional panorama data acquisition, modeling method | |
WO2017133147A1 (en) | Live-action map generation method, pushing method and device for same | |
CN108133454B (en) | Space geometric model image switching method, device and system and interaction equipment | |
CN110660125B (en) | Three-dimensional modeling device for power distribution network system | |
CN106303497A (en) | A kind of virtual reality content generating method and device | |
CN115641401A (en) | Construction method and related device of three-dimensional live-action model | |
JP2015079354A (en) | Three-dimensional map display system using virtual reality | |
CN108280873A (en) | Model space position capture and hot spot automatically generate processing system | |
US11694405B2 (en) | Method for displaying annotation information, electronic device and storage medium | |
CN110275179A (en) | A kind of building merged based on laser radar and vision ground drawing method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181221 |
|
RJ01 | Rejection of invention patent application after publication |