CN108921146A - A kind of unmanned plane and storage medium - Google Patents

A kind of unmanned plane and storage medium Download PDF

Info

Publication number
CN108921146A
CN108921146A CN201811013219.XA CN201811013219A CN108921146A CN 108921146 A CN108921146 A CN 108921146A CN 201811013219 A CN201811013219 A CN 201811013219A CN 108921146 A CN108921146 A CN 108921146A
Authority
CN
China
Prior art keywords
multiple images
specified section
section
image
portrait
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811013219.XA
Other languages
Chinese (zh)
Inventor
喻明明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yanben Brand Design Co Ltd
Original Assignee
Shenzhen Yanben Brand Design Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yanben Brand Design Co Ltd filed Critical Shenzhen Yanben Brand Design Co Ltd
Priority to CN201811013219.XA priority Critical patent/CN108921146A/en
Publication of CN108921146A publication Critical patent/CN108921146A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • G06V20/53Recognition of crowd images, e.g. recognition of crowd congestion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/13Satellite images

Abstract

The invention discloses a kind of unmanned plane and storage mediums, including:Memory, processor and image collecting device, wherein memory stores executable program code and data, and processor calls the executable program code of memory storage, executes following steps:When specified section is cruised in unmanned plane timing, control image collecting device obtains the image in specified section, and the number in specified section is obtained according to the image in specified section;Multiple images that image collecting device is obtained specified section by interval time are controlled, multiple images are subjected to portrait comparison, obtain the dwell data of portrait;According to the dwell data, retaining state is judged.The characteristics of present invention carries out shooting analysis to the specified section in scenic spot by unmanned plane, obtains the data for being detained tourist in specified section, provides data support to shunt tourist for scenic spot, and data are fast with obtaining, and obtains accurate data.

Description

A kind of unmanned plane and storage medium
Technical field
The present invention relates to air vehicle technique fields, and more specifically, it relates to a kind of unmanned plane and storage mediums.
Background technique
With the development of unmanned air vehicle technique, unmanned plane is become increasingly widespread among the production and living applied to people, such as Mapping, cruise monitoring etc..With flourishing for unmanned air vehicle technique, many application cases about unmanned plane are emerged in the market Example.These applications are concentrated mainly on mapping, landforms investigation, three-dimensional modeling and logistics distribution etc..These are applied Public production and life brings many conveniences.
In tourist attractions, in order to enhance the Tourist Experience of tourist, some sight spots are furnished with tour guide often for tourist's introduction Sight spot.However since tour guide staff trains, the period is long, it is at high cost to employ, so that many sight spots unit is hung back.Currently, Had some mechanisms propose it is some replace tour guide to explain and introduce sight spot based on the scheme of robot, but machine The high expense of device people the program compare traditional artificial tour guide's scheme advantage to be not obvious with relatively dull explanation mode. Unmanned plane is cheap, and scope of activities is extensive, while having high bandwagon effect, this makes unmanned plane in scenic spot guide field In have advantageous advantage.Conduct a sightseeing tour compared to traditional manual tour guide and robot, unmanned plane tour guide has obviously Advantage, application potential with higher and commercial value.
Even so, but in scenic spot, what unmanned plane tour guide can do is only merely to lead the way and explain, and cannot be made for tourist Temporary route variation, and then lead to tourist's congestion, influence the experience of playing of tourist.
Summary of the invention
The purpose of the present invention is in view of the above-mentioned drawbacks of the prior art, providing a kind of unmanned plane scenic spot tourist delay point Analysis method, system, storage medium and a kind of unmanned plane.
The purpose of the present invention is achieved through the following technical solutions:
In a first aspect, a kind of unmanned plane scenic spot tourist delay analysis method is provided, the method includes the steps:
Unmanned plane timing, which is cruised, specifies section, obtains the image in specified section, is obtained according to the image in specified section specified The number in section;
Multiple images are carried out portrait comparison, obtain stopping for portrait by multiple images that specified section is obtained by interval time Residual evidence;
According to the dwell data, retaining state is judged.
Preferably, the method also includes:
After judging retaining state, the retention rate in each section is calculated.The retention rate can be used for illustrating the logical of the section Smooth degree can also be used to the tourist's mobility status for illustrating the section.
Preferably, multiple images are carried out portrait comparison, obtained by described multiple images that specified section is obtained by interval time The dwell data for taking portrait includes:
Preset interval time, the time interval for obtaining image twice is the interval time;
Default times of acquisition get multiple images according to preset times of acquisition;
Multiple images are subjected to Identification of Images, identify identical portrait feature.
The preset interval time can be used for illustrating obtaining the period of image, when the times of acquisition are with the interval Between can be used for calculating residence time of tourist, Identification of Images is carried out to multiple images, can be used for judging whether people is in and stop Stay state.
Preferably, described according to the dwell data, judge that retaining state includes:
The number in multiple images is appeared according to identical portrait feature and reaches preset frequency threshold value, is determined as being detained State, and counted.In this way, illustrate that residence time is enough long when there is identical portrait feature in multiple images, it can To be defined as retaining state.
Second aspect provides a kind of unmanned plane scenic spot tourist delay analysis system, the system comprises:
First obtains module, cruises for unmanned plane timing and specifies section, the image in specified section is obtained, according to specified circuit The image of section obtains the number in specified section;
Second obtains module, for obtaining multiple images in specified section by interval time;
Contrast module obtains the dwell data of portrait for multiple images to be carried out portrait comparison;
Judgment module, for judging retaining state according to the dwell data.
Preferably, the system also includes:
Computing module, for calculating the retention rate in each section after the judgment module judges retaining state.Pass through institute Stating the retention rate that computing module calculates can be used for illustrating the degree of mobility in the section, can also be used to illustrate the road Tourist's mobility status of section.
Preferably, the second acquisition module includes:
It is spaced submodule, is used for preset interval time, the time interval for obtaining image twice is the interval time;
Number submodule, according to preset times of acquisition, gets multiple images for presetting times of acquisition;
The contrast module includes:
Identification of Images submodule identifies identical portrait feature for multiple images to be carried out Identification of Images.
It can be used for illustrating obtaining the period of image, the acquisition time by the interval submodule preset interval time Several residence times that can be used for calculating tourist with the interval time carry out Identification of Images to multiple images, can be used for sentencing Whether disconnected people is in resting state.
Preferably, the judgment module includes:
Counting submodule, for appearing according to identical portrait feature the number in multiple images in the judgment module Reach preset frequency threshold value, is determined as being counted when retaining state.
In this way, after identifying portrait feature by the Identification of Images submodule, when occurring some phase in multiple images Same portrait feature illustrates that residence time is enough long, can be defined as retaining state.It is calculated as adding 1 by counting submodule Stranded crowd number, stranded crowd number can be calculated by being made into after adding up.
The third aspect provides a kind of unmanned plane, including:Memory, processor and image collecting device, wherein described to deposit Reservoir is used to call the executable program of the memory storage for storing executable program code and data, the processor Code executes following steps:
When specified section is cruised in unmanned plane timing, control described image acquisition device obtains the image in specified section, root The number in specified section is obtained according to the image in specified section;
Multiple images that described image acquisition device is obtained specified section by interval time are controlled, multiple images are subjected to people As comparison, the dwell data of portrait is obtained;
According to the dwell data, retaining state is judged.
Preferably, the processor is also used to call the executable program code of the memory storage, executes following step Suddenly:
After judging retaining state, the retention rate in each section is calculated.
Preferably, the processor control described image acquisition device is obtained multiple figures in specified section by interval time Multiple images are carried out portrait comparison by picture, and the mode for obtaining the dwell data of portrait includes:
Preset interval time, the time interval for obtaining image twice is the interval time;
Default times of acquisition control described image acquisition device and get multiple images according to preset times of acquisition;
Multiple images are subjected to Identification of Images, identify identical portrait feature.
Preferably, the processor judges that the mode of retaining state includes according to the dwell data:
The number in multiple images is appeared according to identical portrait feature and reaches preset frequency threshold value, is determined as being detained State, and counted.
Fourth aspect provides a kind of computer readable storage medium, and the storage medium is stored with computer program, described Following steps are realized when computer program is executed by processor:
When specified section is cruised in unmanned plane timing, the image in specified section is obtained, is obtained according to the image in specified section The number in specified section;
Multiple images are carried out portrait comparison, obtain stopping for portrait by multiple images that specified section is obtained by interval time Residual evidence;
According to the dwell data, retaining state is judged.
Preferably, following steps are also realized when the computer program is executed by the processor:
After judging retaining state, the retention rate in each section is calculated.
Preferably, the processor is obtained multiple images in specified section by interval time, multiple images are carried out portrait Comparison, the mode for obtaining the dwell data of portrait include:
Preset interval time, the time interval for obtaining image twice is the interval time;
Default times of acquisition get multiple images according to preset times of acquisition;
Multiple images are subjected to Identification of Images, identify identical portrait feature.
Preferably, the processor judges that the mode of retaining state includes according to the dwell data:
The number in multiple images is appeared according to identical portrait feature and reaches preset frequency threshold value, is determined as being detained State, and counted.
Bring beneficial effect of the present invention:Shooting analysis is carried out to the specified section in scenic spot by unmanned plane, is referred to Determine the data for being detained tourist in section, provides data support to shunt tourist for scenic spot, have acquisition data fast, obtain number According to accurate feature.
Detailed description of the invention
Fig. 1 is the flow diagram of the embodiment of the present invention;
Fig. 2 is the flow diagram of an embodiment of the present invention;
Fig. 3 is the flow chart of another embodiment of the present invention;
Fig. 4 is the method flow diagram of another embodiment of the invention;
Fig. 5 is the method flow diagram of the embodiment of the present invention;
Fig. 6 is that the dwell data of the embodiment of the present invention obtains flow chart;
Fig. 7 is the system module schematic diagram of the embodiment of the present invention;
Fig. 8 is the structural schematic diagram of the unmanned plane of the embodiment of the present invention.
Specific embodiment
The preferred embodiment of the present invention is described below, those of ordinary skill in the art will be according to described below with this The relevant technologies in field are realized, and can be more clearly understood that innovation and bring benefit of the invention.
The present invention provides a kind of unmanned plane scenic spot tourists to be detained analysis method, system, storage medium and unmanned plane, for more Clearly illustrate that invention of the invention is intended to, proposes that a kind of implementation environment of the invention, implementation environment of the invention include first: Equipped with acquisition module in multiple unmanned plane terminals of scenic spot cruise, the unmanned plane terminal, the acquisition module is for obtaining It finds a view area's image, the acquisition module can be camera, can be used in the unmanned plane terminal with carrying image processing module Pass through the collected scenic spot image of acquisition module in processing;The implementation environment further includes:Electronic bulletin in scenic spot is set Board is provided with display module on the broadcasting bulletin system, naturally it is also possible to be voice broadcast module, for reminding each section of pedestrian In stranded crowd number.
In some possible implementation environments, implementation environment of the invention can also include:Base station, at scenic spot, cruise is more A unmanned plane terminal is handled by transferring data to base station by base station, and sends electronic bulletin for the data of processing It is noticed on board.
As shown in Figure 1, in a first aspect, providing a kind of unmanned plane scenic spot tourist delay analysis method, the method includes steps Suddenly:
S1, unmanned plane timing cruise and specify section, obtain the image in specified section, are referred to according to the acquisition of the image in specified section Determine the number in section;Further, specified section is shot by the camera on the unmanned plane, gets specified circuit The image of section, the unmanned plane can specify a plurality of section while be shot, while get the image in a plurality of specified section.
A step is more carried out, Identification of Images is carried out to the image in specified section, identifies the number on specified section, specifically , it is that can take whole road within the scope of the flying height of unmanned plane because the section at general scenic spot will not be too long People in section, can number in the flying height or longer section by raising unmanned plane, can also pass through reduces nothing Man-machine flying height gets clearer image, makes faster to identify number when carrying out portrait analysis.
Multiple images are carried out portrait comparison, obtain portrait by S2, multiple images that specified section is obtained by interval time Dwell data;Further, after the number for getting specified section, certain interval of time again claps specified section It takes the photograph, obtains shooting image again, after being spaced the identical time, specified section is shot again, wherein interval time can With by artificially being set, the number of shooting can also be by artificially being set.
Specifically, carrying out Identification of Images to every image in multiple images, the recognition result of every image is carried out pair Than residence time being obtained, for example, for carrying out shooting 5 times to specified section, front and back shooting is obtained with 1 minute for time interval 5 photos are taken, the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was that two photos or more go out It is existing, it may be considered that this tourist is at least the residence time one minute.
S3, according to the dwell data, judge retaining state.Further, when dwell data reaches a scheduled value Afterwards, then such stop of definition is retaining state.Likewise, carrying out shooting 5 times to specified section with 1 minute for time interval For, front and back shooting obtains 5 photos, and the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was Two photos appear above, it may be considered that this tourist is at least the residence time one minute, when making a reservation for occur 3 photos or more It is that tourist is at least the residence time two minutes for retaining state.
Generally, shooting analysis is carried out to the specified section in scenic spot by unmanned plane, obtains being detained in specified section The data of tourist provide data support to shunt tourist for scenic spot, have acquisition data fast, obtain the spy of accurate data Point.
As shown in Fig. 2, as a kind of possible embodiment, the method may include:
S1a, only a unmanned plane timing cruises and specifies section, the image in specified section is obtained, according to the figure in specified section Number as obtaining specified section;Further, specified section is shot by the camera on the unmanned plane, is obtained To the image in specified section, the unmanned plane can only be shot a specified section, make the image taken more Clearly, it is easier to be identified.
A step is more carried out, Identification of Images is carried out to the image in specified section, identifies the number on specified section, specifically , it is that can take whole road within the scope of the flying height of unmanned plane because the section at general scenic spot will not be too long People in section, can number in the flying height or longer section by raising unmanned plane, can also pass through reduces nothing Man-machine flying height gets clearer image, makes faster to identify number when carrying out portrait analysis.
Multiple images are carried out portrait comparison, obtain portrait by S2a, multiple images that specified section is obtained by interval time Dwell data;Further, after the number for getting specified section, certain interval of time again claps specified section It takes the photograph, obtains shooting image again, after being spaced the identical time, specified section is shot again, wherein interval time can With by artificially being set, the number of shooting can also be by artificially being set.
Specifically, carrying out Identification of Images to every image in multiple images, the recognition result of every image is carried out pair Than residence time being obtained, for example, for carrying out shooting 5 times to specified section, front and back shooting is obtained with 1 minute for time interval 5 photos are taken, the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was that two photos or more go out It is existing, it may be considered that this tourist is at least the residence time one minute.
S3a, according to the dwell data, judge retaining state.Further, when dwell data reaches a scheduled value Afterwards, then such stop of definition is retaining state.Likewise, carrying out shooting 5 times to specified section with 1 minute for time interval For, front and back shooting obtains 5 photos, and the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was Two photos appear above, it may be considered that this tourist is at least the residence time one minute, when making a reservation for occur 3 photos or more It is that tourist is at least the residence time two minutes for retaining state.
As shown in figure 3, as alternatively possible embodiment, the method may include:
The unmanned plane timing of S1b, at least one, which is cruised, specifies section, the image in specified section is obtained, according to specified section Image obtains the number in specified section;Further, specified section is shot by the camera on the unmanned plane, is obtained The image for getting specified section can configure two unmanned planes for the specified section and be shot when specified section is longer.
A step is more carried out, two images not overlapped are obtained under same flying height by two unmanned planes, to finger Two images for determining section carry out Identification of Images, identify that the number on specified section is spliced, obtain final number, when It so, is that can take whole road within the scope of the flying height of unmanned plane because the section at general scenic spot will not be too long People in section, can number in the flying height or longer section by raising unmanned plane, can also pass through reduces nothing Man-machine flying height gets clearer image, makes faster to identify number when carrying out portrait analysis.
S2b, two unmanned planes obtain specified multiple images of the two parts in section by interval time, by multiple images of two parts Portrait comparison is carried out, the dwell data of portrait is obtained;Further, after the number for getting specified section, when being spaced one section Between specified section is shot again, again obtain shooting image, after being spaced the identical time, again to specified section into Row shooting, wherein interval time can be by artificially being set, and the number of shooting can also be by artificially being set.
Specifically, carrying out Identification of Images to every image in multiple images, the recognition result of every image is carried out pair Than residence time being obtained, for example, for carrying out shooting 5 times to specified section, front and back shooting is obtained with 1 minute for time interval 5 photos are taken, the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was that two photos or more go out It is existing, it may be considered that this tourist is at least the residence time one minute.
S3b, according to the dwell data, judge retaining state.Further, when dwell data reaches a scheduled value Afterwards, then such stop of definition is retaining state.Likewise, carrying out shooting 5 times to specified section with 1 minute for time interval For, front and back shooting obtains 5 photos, and the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was Two photos appear above, it may be considered that this tourist is at least the residence time one minute, when making a reservation for occur 3 photos or more It is that tourist is at least the residence time two minutes for retaining state.
As shown in figure 4, as another possible embodiment, the method can also include:
S1c, one group of unmanned plane timing cruise and specify section, the image in specified section are obtained, according to the image in specified section Obtain the number in specified section;Further, specified section is shot by the camera on the unmanned plane, is got The image in specified section can configure at least one set of unmanned plane for specified section and be shot, and one group of unmanned plane is at least It is one high and one low respectively to carry out flight shooting including two unmanned planes, two groups of different images are obtained, keep the identification of image more smart It is quasi-.
A step is more carried out, Identification of Images is carried out to the image in specified section, identifies the number on specified section, specifically , it is that can take whole road within the scope of the flying height of unmanned plane because the section at general scenic spot will not be too long People in section, can number in the flying height or longer section by raising unmanned plane, can also pass through reduces nothing Man-machine flying height gets clearer image, makes faster to identify number when carrying out portrait analysis.
S2c, it is obtained using one group of unmanned plane by interval time and specifies two groups of section multiple images, by two groups of multiple images Portrait comparison is carried out by group respectively, the dwell data for obtaining two groups of portraits is averaged;Further, specified section is being got Number after, certain interval of time again shoots specified section, again obtain shooting image, be spaced the identical time Afterwards, specified section is shot again, wherein interval time can be by artificially being set, and the number of shooting can also be with By artificially being set.
Specifically, carrying out Identification of Images to every image in multiple images, the recognition result of every image is carried out pair Than residence time being obtained, for example, for carrying out shooting 5 times to specified section, front and back shooting is obtained with 1 minute for time interval 5 photos are taken, the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was that two photos or more go out It is existing, it may be considered that this tourist is at least the residence time one minute.
S3c, according to the dwell data, judge retaining state.Further, when dwell data reaches a scheduled value Afterwards, then such stop of definition is retaining state.Likewise, carrying out shooting 5 times to specified section with 1 minute for time interval For, front and back shooting obtains 5 photos, and the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was Two photos appear above, it may be considered that this tourist is at least the residence time one minute, when making a reservation for occur 3 photos or more It is that tourist is at least the residence time two minutes for retaining state.
As shown in figure 5, in embodiments of the present invention, the method also includes:
S1d, unmanned plane timing cruise and specify section, obtain the image in specified section, are obtained according to the image in specified section The number in specified section;Further, specified section is shot by the camera on the unmanned plane, is got specified The image in section, the unmanned plane can specify a plurality of section while being shot, while get the figure in a plurality of specified section Picture.
As a kind of possible embodiment, the unmanned plane can only be shot a specified section, make to shoot To image be more clear, it is easier to identified.
As alternatively possible embodiment, when specified section is longer, two nothings can be configured for the specified section It is man-machine to be shot.
As another possible embodiment, at least one set of unmanned plane can be configured for specified section and is shot, institute One group of unmanned plane is stated including at least two unmanned planes, one high and one low respectively to carry out flight shooting, two groups of different images of acquisition make The identification of image is more accurate.
A step is more carried out, Identification of Images is carried out to the image in specified section, identifies the number on specified section, specifically , it is that can take whole road within the scope of the flying height of unmanned plane because the section at general scenic spot will not be too long People in section, can number in the flying height or longer section by raising unmanned plane, can also pass through reduces nothing Man-machine flying height gets clearer image, makes faster to identify number when carrying out portrait analysis.
Multiple images are carried out portrait comparison, obtain portrait by S2d, multiple images that specified section is obtained by interval time Dwell data;Further, after the number for getting specified section, certain interval of time again claps specified section It takes the photograph, obtains shooting image again, after being spaced the identical time, specified section is shot again, wherein interval time can With by artificially being set, the number of shooting can also be by artificially being set.
Specifically, carrying out Identification of Images to every image in multiple images, the recognition result of every image is carried out pair Than residence time being obtained, for example, for carrying out shooting 5 times to specified section, front and back shooting is obtained with 1 minute for time interval 5 photos are taken, the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was that two photos or more go out It is existing, it may be considered that this tourist is at least the residence time one minute.
S3d, according to the dwell data, judge retaining state.Further, when dwell data reaches a scheduled value Afterwards, then such stop of definition is retaining state.Likewise, carrying out shooting 5 times to specified section with 1 minute for time interval For, front and back shooting obtains 5 photos, and the used time 4 minutes, recognizing the number that an identical portrait occurs in 5 photos was Two photos appear above, it may be considered that this tourist is at least the residence time one minute, when making a reservation for occur 3 photos or more It is that tourist is at least the residence time two minutes for retaining state.
S4d, after judging retaining state, calculate the retention rate in each section.The retention rate can be used for illustrating the section Degree of mobility, can also be used to the tourist's mobility status for illustrating the section.
Specifically, obtain stranded crowd number according to the number of retaining state, by the ratio of stranded crowd number and tourist's number, Obtain retention rate.
As shown in fig. 6, in embodiments of the present invention, described multiple images for obtaining specified section by interval time will be more It opens image and carries out portrait comparison, the dwell data for obtaining portrait includes:
S21, preset interval time, the time interval for obtaining image twice is the interval time;The interval time can To be set as 1 minute or 2 minutes, certainly, only illustrated within 1 minute and be illustrated with 2 minutes, this is not to limit of the invention System can also be other interval times for being greater than 0.
S22, default times of acquisition get multiple images according to preset times of acquisition;The times of acquisition can be 5 times, 10 is inferior, certainly, is merely illustrative with 10 times for 5 times, be not it is bright to person's character after limitation in the present invention can be with It is the selection of times that other are greater than 1.
S23, multiple images are subjected to Identification of Images, identify identical portrait feature.It further, can be according to portrait Contour feature identified, and then the contour feature of multiple images is identified, identical contour feature is marked.
It is of course also possible to be identified by clothes of portrait etc..
The preset interval time can be used for illustrating obtaining the period of image, when the times of acquisition are with the interval Between can be used for calculating residence time of tourist, Identification of Images is carried out to multiple images, can be used for judging whether people is in and stop Stay state.
Further, after dwell data reaches a scheduled value, then such stop of definition is retaining state.Equally , with 1 minute for time interval, for carrying out shooting 5 times to specified section, front and back shooting 5 photos of acquisition, the used time 4 minutes, Recognizing the number that an identical portrait occurs in 5 photos is that two photos appear above, it may be considered that this tourist Residence time is at least one minute, is retaining state when more than 3 photos of predetermined appearance, is that tourist is at least two at the residence time Minute.
In embodiments of the present invention, described according to the dwell data, judge that retaining state includes:
The number in multiple images is appeared according to identical portrait feature and reaches preset frequency threshold value, is determined as being detained State, and counted.In this way, illustrate that residence time is enough long when there is identical portrait feature in multiple images, it can To be defined as retaining state.
As shown in fig. 7, second aspect, provides a kind of unmanned plane scenic spot tourist delay analysis system, the system comprises:
First obtains module 1, cruises for unmanned plane timing and specifies section, the image in specified section is obtained, according to specified The image in section obtains the number in specified section;The first acquisition module 1 can shoot specified circuit by camera with camera The image of section.
Second obtains module 2, for obtaining multiple images in specified section by interval time;Described second obtains module Can be camera, certainly, it is described second obtain module 2 can it is independent in it is described first obtain module 1 second camera, A shared camera of module 1 can also be obtained with described first.
Contrast module 3 obtains the dwell data of portrait for multiple images to be carried out portrait comparison;The contrast module 3 The pattern recognition device of processor can be had.
Judgment module 4, for judging retaining state according to the dwell data.The judgment module 4 can be handled with one piece Chip.
In embodiments of the present invention, the system also includes:
Computing module 5, for calculating the retention rate in each section after the judgment module judges retaining state.Pass through The retention rate that the computing module calculates can be used for illustrating the degree of mobility in the section, and can also be used to explanation should Tourist's mobility status in section.The computing module 5 can be one piece of processing chip with computing function.
In embodiments of the present invention, the second acquisition module 2 includes:
It is spaced submodule, is used for preset interval time, the time interval for obtaining image twice is the interval time;It is described Interval submodule can be a clocked flip-flop, and the clocked flip-flop has been written to how long trigger primary instruction.
Number submodule, according to preset times of acquisition, gets multiple images for presetting times of acquisition;Described time Number submodule can be a number encoder.
The contrast module 3 includes:
Identification of Images submodule identifies identical portrait feature for multiple images to be carried out Identification of Images.The people As identification submodule can be used for the chip of Identification of Images with one piece.
It can be used for illustrating obtaining the period of image, the acquisition time by the interval submodule preset interval time Several residence times that can be used for calculating tourist with the interval time carry out Identification of Images to multiple images, can be used for sentencing Whether disconnected people is in resting state.
In embodiments of the present invention, the judgment module 4 includes:
Counting submodule, for appearing according to identical portrait feature the number in multiple images in the judgment module Reach preset frequency threshold value, is determined as being counted when retaining state.The counting submodule can be one and sentence with described The counter of disconnected 4 signal of module connection.
In this way, after identifying portrait feature by the Identification of Images submodule, when occurring some phase in multiple images Same portrait feature illustrates that residence time is enough long, can be defined as retaining state.It is calculated as adding 1 by counting submodule Stranded crowd number, stranded crowd number can be calculated by being made into after adding up.
The third aspect, the embodiment of the present application also provide a kind of unmanned plane, can be used for executing the nothing of previous embodiment offer Some or all of analysis method step is detained at man-machine scenic spot.As shown in figure 8, the unmanned plane at least may include:Memory 10, At least one processor 20, such as CPU (Central Processing Unit, central processing unit), at least one Image Acquisition Device 30, for acquiring video image, such as camera.Wherein, memory 10, processor 20 and image collecting device 30 can be with It is communicatively coupled by one or more bus.It will be understood by those skilled in the art that the structure of unmanned plane shown in Fig. 8 The restriction to the embodiment of the present invention is not constituted, it is also possible to hub-and-spoke configuration either busbar network, can also include Than illustrating more or fewer components, certain components or different component layouts are perhaps combined.
Wherein, memory 10 can be high speed RAM memory, be also possible to non-labile memory (non- Volatile memory), a for example, at least magnetic disk storage.It is remote that memory 10 optionally can also be that at least one is located at Storage device from aforementioned processor 20.Memory 10 can be used for storing executable program code and data, and the present invention is implemented Example is not construed as limiting.
In unmanned plane shown in Fig. 8, the executable program code that processor 20 can be used for that memory 10 is called to store, Execute following steps:
When specified section is cruised in unmanned plane timing, control image collecting device 30 obtains the image in specified section, according to The image in specified section obtains the number in specified section;
Multiple images that image collecting device 30 is obtained specified section by interval time are controlled, multiple images are subjected to portrait Comparison, obtains the dwell data of portrait;
According to dwell data, retaining state is judged.
Optionally, processor 20 can be also used for the executable program code for calling memory 10 to store, and execute following step Suddenly:
After judging retaining state, the retention rate in each section is calculated.
Optionally, processor 20 controls multiple images that image collecting device 30 is obtained specified section by interval time, will Multiple images carry out portrait comparison, and the mode for obtaining the dwell data of portrait may include:
Preset interval time, the time interval for obtaining image twice is interval time;
Default times of acquisition control image collecting device 30 and get multiple images according to preset times of acquisition;
Multiple images are subjected to Identification of Images, identify identical portrait feature.
Optionally, processor 20 judges that the mode of retaining state may include according to dwell data:
The number in multiple images is appeared according to identical portrait feature and reaches preset frequency threshold value, is determined as being detained State, and counted.
Implement unmanned plane shown in Fig. 8, shooting analysis is carried out to the specified section in scenic spot by unmanned plane, is specified It is detained the data of tourist in section, provides data support to shunt tourist for scenic spot, have acquisition data fast, obtain data Accurate feature.
Fourth aspect, the embodiment of the present application also provide a kind of computer readable storage medium, and storage medium is stored with calculating Machine program, may be implemented following steps when computer program is executed by processor:
When specified section is cruised in unmanned plane timing, the image in specified section is obtained, is obtained according to the image in specified section The number in specified section;
Multiple images are carried out portrait comparison, obtain stopping for portrait by multiple images that specified section is obtained by interval time Residual evidence;
According to dwell data, retaining state is judged.
Optionally, following steps can also be realized when which is executed by processor:
After judging retaining state, the retention rate in each section is calculated.
Optionally, processor is obtained multiple images in specified section by interval time, multiple images are carried out portrait comparison, The mode of dwell data for obtaining portrait may include:
Preset interval time, the time interval for obtaining image twice is interval time;
Default times of acquisition get multiple images according to preset times of acquisition;
Multiple images are subjected to Identification of Images, identify identical portrait feature.
Optionally, processor judges that the mode of retaining state may include according to dwell data:
The number in multiple images is appeared according to identical portrait feature and reaches preset frequency threshold value, is determined as being detained State, and counted.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to alternative embodiment, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary
It, can also be in addition, the processor, chip in each embodiment of the application can integrate in one processing unit It is to physically exist alone, it can also be with two or more hardware integrations in a unit.Computer readable storage medium or Computer-readable program can store in a computer-readable access to memory.Based on this understanding, the technology of the application Substantially all or part of the part that contributes to existing technology or the technical solution can be with software in other words for scheme The form of product embodies, which is stored in a memory, including some instructions are used so that one Platform computer equipment (can be personal computer, server or network equipment etc.) executes each embodiment the method for the application All or part of the steps.And memory above-mentioned includes:It is USB flash disk, read-only memory (ROM, Read-Only Memory), random Access memory (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. are various to can store program The medium of code.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that A specific embodiment of the invention is only limited to these instructions.General technical staff of the technical field of the invention is come It says, without departing from the inventive concept of the premise, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to this hair Bright protection scope.

Claims (8)

1. a kind of unmanned plane, which is characterized in that including:Memory, processor and image collecting device, wherein the memory For storing executable program code and data, the processor is used to call the executable program generation of the memory storage Code executes following steps:
When specified section is cruised in unmanned plane timing, control described image acquisition device obtains the image in specified section, according to finger The image for determining section obtains the number in specified section;
Multiple images that described image acquisition device is obtained specified section by interval time are controlled, multiple images are subjected to portrait pair Than obtaining the dwell data of portrait;
According to the dwell data, retaining state is judged.
2. unmanned plane as described in claim 1, which is characterized in that the processor is also used to call the memory storage Executable program code executes following steps:
After judging retaining state, the retention rate in each section is calculated.
3. unmanned plane as claimed in claim 1 or 2, which is characterized in that the processor control described image acquisition device is pressed Interval time obtains multiple images in specified section, multiple images are carried out portrait comparison, obtain the side of the dwell data of portrait Formula includes:
Preset interval time, the time interval for obtaining image twice is the interval time;
Default times of acquisition control described image acquisition device and get multiple images according to preset times of acquisition;
Multiple images are subjected to Identification of Images, identify identical portrait feature.
4. unmanned plane as claimed in claim 3, which is characterized in that the processor judges to be detained according to the dwell data The mode of state includes:
The number in multiple images is appeared according to identical portrait feature and reaches preset frequency threshold value, is determined as being detained shape State, and counted.
5. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the calculating Machine program realizes following steps when being executed by processor:
When specified section is cruised in unmanned plane timing, the image in specified section is obtained, is obtained according to the image in specified section specified The number in section;
Multiple images are carried out portrait comparison, obtain the stop number of portrait by multiple images that specified section is obtained by interval time According to;
According to the dwell data, retaining state is judged.
6. computer readable storage medium as claimed in claim 5, which is characterized in that the computer program is by the processing Device also realizes following steps when executing:
After judging retaining state, the retention rate in each section is calculated.
7. such as computer readable storage medium described in claim 5 or 6, which is characterized in that the processor presses interval time Multiple images are carried out portrait comparison by multiple images for obtaining specified section, and the mode for obtaining the dwell data of portrait includes:
Preset interval time, the time interval for obtaining image twice is the interval time;
Default times of acquisition get multiple images according to preset times of acquisition;
Multiple images are subjected to Identification of Images, identify identical portrait feature.
8. computer readable storage medium as claimed in claim 7, which is characterized in that the processor is according to the stop number According to judging that the mode of retaining state includes:
The number in multiple images is appeared according to identical portrait feature and reaches preset frequency threshold value, is determined as being detained shape State, and counted.
CN201811013219.XA 2018-08-31 2018-08-31 A kind of unmanned plane and storage medium Pending CN108921146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811013219.XA CN108921146A (en) 2018-08-31 2018-08-31 A kind of unmanned plane and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811013219.XA CN108921146A (en) 2018-08-31 2018-08-31 A kind of unmanned plane and storage medium

Publications (1)

Publication Number Publication Date
CN108921146A true CN108921146A (en) 2018-11-30

Family

ID=64407379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811013219.XA Pending CN108921146A (en) 2018-08-31 2018-08-31 A kind of unmanned plane and storage medium

Country Status (1)

Country Link
CN (1) CN108921146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11237007B2 (en) * 2019-03-12 2022-02-01 Here Global B.V. Dangerous lane strands

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120321134A1 (en) * 2011-06-15 2012-12-20 Samsung Electornics Co., Ltd Face tracking method and device
CN106295513A (en) * 2016-07-26 2017-01-04 中电海康集团有限公司 Demographic method based on residence time probability distribution and device
CN107352032A (en) * 2017-07-14 2017-11-17 广东工业大学 A kind of monitoring method and unmanned plane of flow of the people data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120321134A1 (en) * 2011-06-15 2012-12-20 Samsung Electornics Co., Ltd Face tracking method and device
CN106295513A (en) * 2016-07-26 2017-01-04 中电海康集团有限公司 Demographic method based on residence time probability distribution and device
CN107352032A (en) * 2017-07-14 2017-11-17 广东工业大学 A kind of monitoring method and unmanned plane of flow of the people data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨文学: "留园景区"园"空间游客驻留分布密度研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11237007B2 (en) * 2019-03-12 2022-02-01 Here Global B.V. Dangerous lane strands

Similar Documents

Publication Publication Date Title
CN107730457B (en) Image completion method and device, electronic equipment and storage medium
CN109388093A (en) Robot pose control method, system and robot based on the identification of line feature
WO2021082662A1 (en) Method and apparatus for assisting user in shooting vehicle video
CN110298327B (en) Visual special effect processing method and device, storage medium and terminal
CN112052815B (en) Behavior detection method and device and electronic equipment
CN111127303A (en) Background blurring method and device, terminal equipment and computer readable storage medium
CN109960969B (en) Method, device and system for generating moving route
CN103501411A (en) Image shooting method and system
CN108702463A (en) A kind of image processing method, device and terminal
CN110991297A (en) Target positioning method and system based on scene monitoring
CN103581562A (en) Panoramic shooting method and panoramic shooting device
CN107395990A (en) Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing
CN110572570A (en) intelligent recognition shooting method and system for multi-person scene and storage medium
CN106357978B (en) Image output method, device and terminal
CN109427038A (en) A kind of cell phone pictures display methods and system
CN107527095A (en) A kind of vehicle detection image-pickup method and system
CN108921146A (en) A kind of unmanned plane and storage medium
CN112446254A (en) Face tracking method and related device
CN108263074A (en) Localization method, device, terminal device and the readable storage medium storing program for executing of silk-screen halftone
CN109472289B (en) Key point detection method and device
CN109242745A (en) Unmanned plane scenic spot tourist is detained analysis method and system
CN116363628A (en) Mark detection method and device, nonvolatile storage medium and computer equipment
CN113052815B (en) Image definition determining method and device, storage medium and electronic equipment
CN113538462A (en) Image processing method and device, computer readable storage medium and electronic device
CN112966575B (en) Target face recognition method and device applied to smart community

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181130