CN108024050A - One kind shooting reminding method and device - Google Patents
One kind shooting reminding method and device Download PDFInfo
- Publication number
- CN108024050A CN108024050A CN201610969057.1A CN201610969057A CN108024050A CN 108024050 A CN108024050 A CN 108024050A CN 201610969057 A CN201610969057 A CN 201610969057A CN 108024050 A CN108024050 A CN 108024050A
- Authority
- CN
- China
- Prior art keywords
- personage
- taken
- characteristic information
- preview image
- environment
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Analysis (AREA)
Abstract
The present invention provides one kind shooting reminding method and device, applied to mobile terminal, wherein method includes:The preview image of camera collection is obtained, person recognition detection is carried out to present preview image;When being taken personage, to being taken, the environment residing for personage is detected existing in detecting present preview image, and judges whether the personage that is taken is in hazardous environment according to testing result;When the personage that is taken is in hazardous environment, safety instruction processing is carried out.The embodiment of the present invention is identified the environment residing for imaged person, to judge that current shooting environment whether there is security risk, in shooting environmental there are during security risk, is prompted, ensure personnel safety by image recognition technology.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of shooting reminding method and device.
Background technology
Existing technique for taking scheme can combine image recognition technology or landscape identification technology when taking pictures, and can be used for
The adjustment for effect of taking pictures, such as:Composition, color adjustment, brightness regulation etc. analyze and process, and customer satisfaction system photo is made so as to obtain.
Picture in the picture and picture library of shooting can also be identified using the Land-scape picture identifying system of view-based access control model content,
Matched landscape in picture library is found, landscape just can be rapidly and accurately identified to help user only to need to take pictures.
Current technique for taking scheme brings in effect of taking pictures, landscape identification and monitoring etc. and is obviously improved, still
It is commonplace that the situation for not paying attention to surrounding environment and hazards and causing danger too is put into when in recent years due to taking pictures, it is existing
There is the shooting mechanism for lacking in technology and safety instruction being carried out to shooting environmental, have impact on shooting experience and the shooting safety of user.
The content of the invention
The embodiment of the present invention provides a kind of shooting reminding method and device, to solve in the prior art to lack to shooting environmental
The shooting mechanism of safety instruction is carried out, the shooting experience of user is influenced and shoots the problem of safe.
The embodiment of the present invention provides a kind of shooting reminding method, applied to mobile terminal, the described method includes:
The preview image of camera collection is obtained, person recognition detection is carried out to present preview image;
In detecting present preview image exist be taken personage when, to being taken, the environment residing for personage is examined
Survey, and judge whether the personage that is taken is in hazardous environment according to testing result;
When the personage that is taken is in hazardous environment, safety instruction processing is carried out.
Wherein, the method that person recognition detection is carried out to present preview image includes:
Detected using face identification method in present preview image and whether there is face;
There are determine to have the personage that is taken in present preview image during face in present preview image.
Wherein, when face being not present in present preview image, the method further includes:
Pixel edge detection is carried out to each object in present preview image, obtains the profile of each object;
Determined according to the profile of each object in present preview image with the presence or absence of the personage that is taken.
Wherein, the described pair of environment being taken residing for personage is detected, and judges the personage that is taken according to testing result
The step of whether being in hazardous environment includes:
Obtain the characteristic information for the personage's local environment that is taken;
By the feature in the characteristic information for the personage's local environment that is taken and default hazardous environment characteristic information data storehouse
Information is compared;
Characteristic information when the personage's local environment that is taken and the feature in default hazardous environment characteristic information data storehouse
During information match, the personage's local environment that determines to be taken is hazardous environment.
Wherein, the characteristic information in default hazardous environment characteristic information data storehouse include preset height difference scope and/or
Predetermined angle difference scope;
It is described acquisition be taken personage's local environment characteristic information the step of include:
It is poor compared to the first difference in height and/or first angle of reference position to detect the personage present position that is taken;
In the characteristic information by the personage's local environment that is taken and default hazardous environment characteristic information data storehouse
The step of characteristic information is compared includes:
By first difference in height be compared with the preset height difference scope and/or by the first angle difference and institute
Predetermined angle difference scope is stated to be compared;
Correspondingly, when in the characteristic information for the personage's local environment that is taken and default hazardous environment characteristic information data storehouse
Characteristic information when matching, the step of personage's local environment is hazardous environment that determine to be taken include:
When first difference in height is located at the preset height difference model in default hazardous environment characteristic information data storehouse
In enclosing and/or first angle difference is located at the predetermined angle difference scope in default hazardous environment characteristic information data storehouse
When interior, the personage's local environment that determines to be taken is hazardous environment.
Wherein, it is described when the personage that is taken is in hazardous environment, carry out safety instruction processing the step of include:
When the personage that determines to be taken is in hazardous environment, show that the personage that is taken is in hazards loops in shooting preview interface
The prompt message and/or triggering loudspeaker in border send prompt tone.
The embodiment of the present invention also provides a kind of shooting suggestion device, and applied to mobile terminal, described device includes:
Acquisition module, for obtaining the preview image of camera collection, person recognition detection is carried out to present preview image;
Processing module, in detecting present preview image exist be taken personage when, to being taken residing for personage
Environment be detected, and judge whether the personage that is taken is in hazardous environment according to testing result;
Reminding module, for when the personage that is taken is in hazardous environment, carrying out safety instruction processing.
Wherein, the acquisition module includes:
First detection sub-module, whether there is face for being detected using face identification method in present preview image;
First determination sub-module, for there are determine that there are quilt in present preview image during face in present preview image
Shoot personage.
Wherein, the acquisition module further includes:
Second detection sub-module, during for face to be not present in present preview image, to each in present preview image
A object carries out pixel edge detection, obtains the profile of each object;
Second determination sub-module, is taken for determining to whether there is in present preview image according to the profile of each object
Personage.
Wherein, the processing module includes:
Acquisition submodule, for obtaining the characteristic information for the personage's local environment that is taken;
Submodule is compared, for by the characteristic information for the personage's local environment that is taken and default hazardous environment characteristic information
Characteristic information in database is compared;
Submodule is handled, for the characteristic information when the personage's local environment that is taken and default hazardous environment characteristic information
When characteristic information in database matches, the personage's local environment that determines to be taken is hazardous environment.
Wherein, the characteristic information in default hazardous environment characteristic information data storehouse include preset height difference scope and/or
Predetermined angle difference scope;
The acquisition submodule is further used for:
It is poor compared to the first difference in height and/or first angle of reference position to detect the personage present position that is taken;
The comparison submodule is further used for:
By first difference in height be compared with the preset height difference scope and/or by the first angle difference and institute
Predetermined angle difference scope is stated to be compared;
Correspondingly, the processing submodule is further used for:
When first difference in height is located at the preset height difference model in default hazardous environment characteristic information data storehouse
In enclosing and/or first angle difference is located at the predetermined angle difference scope in default hazardous environment characteristic information data storehouse
When interior, the personage's local environment that determines to be taken is hazardous environment.
Wherein, the reminding module is further used for:
When the personage that determines to be taken is in hazardous environment, show that the personage that is taken is in hazards loops in shooting preview interface
The prompt message and/or triggering loudspeaker in border send prompt tone.
The beneficial effect of technical solution of the embodiment of the present invention includes at least:
Technical solution of the present invention, by image recognition technology to preview image carry out person recognition detection, determine it is pre-
Look at and exist in image when being taken personage, detect the environment being taken residing for personage and whether there is security risk, clapped definite
The shooting environmental residing for personage is taken the photograph there are during security risk, carries out safety instruction so that the personage that is taken removes according to safety instruction
From there are the shooting environmental of security risk, ensure the safety of personnel, lift the experience of shooting.
Brief description of the drawings
Fig. 1 shows the shooting reminding method schematic diagram that the embodiment of the present invention one provides;
Fig. 2 represents shooting reminding method schematic diagram provided by Embodiment 2 of the present invention;
Fig. 3 represents the shooting suggestion device schematic diagram one that the embodiment of the present invention three provides;
Fig. 4 represents the shooting suggestion device schematic diagram two that the embodiment of the present invention three provides;
Fig. 5 represents the shooting suggestion device schematic diagram three that the embodiment of the present invention three provides.
Embodiment
It is right below in conjunction with the accompanying drawings and the specific embodiments to make the object, technical solutions and advantages of the present invention clearer
The present invention is described in detail.
Embodiment one
As shown in Figure 1, the shooting reminding method that the embodiment of the present invention one provides, applied to mobile terminal, this method includes:
Step 101, the preview image for obtaining camera collection, person recognition detection is carried out to present preview image.
First with the preview image of camera collection present filming scene, the corresponding preview of present filming scene is being obtained
After image, present preview image is detected, is judged in present preview image with the presence or absence of the personage that is taken.Wherein examining
Survey and whether there is in present preview image when being taken personage, it is necessary to be detected using image-recognizing method.Such as:It can use
Recognition of face carries out person recognition detection to present preview image, can also be using contour feature extraction come to present preview image
Carry out person recognition detection.Determine present preview image in exist be taken personage when, step 102 can be performed.
Step 102, in detecting present preview image exist be taken personage when, to the environment being taken residing for personage
It is detected, and judges whether the personage that is taken is in hazardous environment according to testing result.
Determine present preview image in exist be taken personage when, it is thus necessary to determine that the environment being taken residing for personage, it is right
The environment residing for personage that is taken is detected.Such as the height of the location of personage with respect to the horizontal plane that is taken can be detected
Degree is poor;Be taken the location of personage and the differential seat angle of horizontal plane can be detected.When being taken, personage is in plateau, and by
When shooting the difference in height of the location of personage with respect to the horizontal plane more than default safe altitude difference scope, it may be determined that be taken
Personage is in hazardous environment.When being taken, personage is on abrupt slope, and is taken the location of personage with respect to the horizontal plane
Differential seat angle when exceeding default security standpoint difference scope, it may be determined that the personage that is taken is in hazardous environment.Determining to be clapped
Take the photograph when personage is in hazardous environment, it is necessary to perform step 103.
Step 103, when the personage that is taken is in hazardous environment, carry out safety instruction processing.
When the personage that determines to be taken is in hazardous environment, it is necessary to carry out safety instruction processing.When photographer is to be taken
When personage takes pictures, whether mobile terminal is in hazardous environment according to the pre-set image that camera the gathers personage that determines to be taken,
When the personage that is taken is in hazardous environment, mobile terminal can eject safety instruction information in shooting preview interface, and photographer exists
It was found that after safety instruction information, the personage that is taken can be informed so that the personage that is taken is away from residing hazardous environment.It is mobile
Terminal the pre-set image gathered according to camera determine to be taken personage be under hazardous environment when, loudspeaker can also be triggered
Alarm, the personage that is taken of photographer and the personage that is taken acquisition at the same time at this time is in the prompt message of hazardous environment so that
The personage that is taken withdraws as early as possible, can also remind user by the way of display reminding information and triggering loudspeaker at the same time, into
One step ensures the personal safety of personage of being taken.
When photographer carries out self-timer, photographer is at the same time as the personage that is taken at this time, in mobile terminal according to camera
The pre-set image of collection determines to be taken personage when being under hazardous environment, and mobile terminal can be ejected in shooting preview interface pacifies
Full enlightening information reminds photographer, and photographer may be located remotely from residing danger after shooting preview interface finds safety instruction information
Dangerous environment.Mobile terminal can also remind photographer by the way of loudspeaker is triggered, and can also use display reminding at the same time
Information and the mode of triggering loudspeaker remind user, are further ensured that personal safety.
The embodiment of the present invention one, by image recognition technology to preview image carry out person recognition detection, determine it is pre-
Look at and exist in image when being taken personage, detect the environment being taken residing for personage and whether there is security risk, clapped definite
The shooting environmental residing for personage is taken the photograph there are during security risk, carries out safety instruction so that the personage that is taken removes according to safety instruction
From there are the shooting environmental of security risk, ensure the safety of personnel, lift the experience of shooting.
Embodiment two
As shown in Fig. 2, shooting reminding method provided by Embodiment 2 of the present invention, applied to mobile terminal, this method includes:
Step 201, the preview image for obtaining camera collection.
First with the preview image of camera collection present filming scene, the corresponding preview graph of present filming scene is obtained
Picture., it is necessary to perform step 202 after the corresponding preview image of present filming scene is obtained.
Step 202, using face identification method detect present preview image in whether there is face.
, it is necessary to carry out recognition of face for present preview image after the corresponding preview image of present filming scene is obtained
Detection, that is, detect in present preview image and whether there is face, there are during face in present preview image is determined, you can to hold
Row step 203, it is necessary to perform step 204 when face being not present in present preview image.
Step 203, there are determine to have the personage that is taken in present preview image during face in present preview image.
When face is detected in present preview image, you can to determine to have the personage that is taken in present preview image.
At this time determine to be taken scene there are during personage, it is necessary to perform step 206.
Step 204, carry out pixel edge detection to each object in present preview image, obtains the wheel of each object
It is wide.
When face being not present in present preview image, it can not conclude and the personage that is taken is not present in present preview image,
There may be taken personage back to, side to camera when camera collection preview image situation, in preview image not at this time
There are face, but still need to be detected present preview image.Specifically detection mode is:
Pixel is carried out to each object in present preview image using based on the pixel edge detection mode of Facet models
Edge detection, obtains the profile of each object in present preview image.Each object in present preview image is obtained
After profile, step 205 is performed.
Step 205, determine in present preview image with the presence or absence of being taken personage according to the profile of each object.
After the profile of each object is obtained, by the profile of each object with it is each in the manikin storehouse that prestores
Anthropoid model is compared, the profile of object and wherein certain anthropoid model in manikin storehouse in present preview image
When matching, determine there is the personage that is taken in present preview image.
It should be noted that there may be one or more personage that is taken, manikin storehouse in present preview image
Middle each class model there are human body, in present preview image there are it is multiple be taken personage when, the wheel of multiple personages that are taken
Wide information difference, but due to each class model in manikin storehouse there are human body, can be found in manikin storehouse
With the manikin of the outline for the personage that is taken.Exist in definite present preview image when being taken personage, it is necessary to hold
Row step 206.
Step 206, when being taken personage, acquisition is taken personage's local environment existing in detecting present preview image
Characteristic information.
Exist in definite present preview image when being taken personage, it is necessary to be examined to the environment residing for personage that is taken
Survey, obtain the characteristic information for the personage's local environment that is taken.
Specially:Detect first difference in height and/or first angle of the personage present position compared to reference position that be taken
Difference.Rectilinear picture is refined using HOUGH conversion, the position being taken residing for personage is obtained using bow feature extraction algorithms
The first difference in height between reference position is put, or angle inspection is carried out to the relation of direction code and angle using HOUGH conversion
Survey, so as to judge the gradient for the location of the personage that is taken, and then be taken using bow feature extraction algorithms
Personage present position is poor compared to the first angle of reference position.Be taken the location of personage and base can also be obtained at the same time
Level put between the first difference in height and the first angle that is taken between the location of personage and reference position it is poor.Obtaining
Take the personage that is taken of the personage present position that is taken composition poor compared to the first difference in height and/or first angle of reference position
, it is necessary to perform step 207 after the characteristic information of local environment.
Step 207, by the characteristic information for the personage's local environment that is taken and default hazardous environment characteristic information data storehouse
In characteristic information be compared.
Since the characteristic information for the personage's local environment that is taken includes being taken personage present position compared to reference position
The first difference in height and/or first angle it is poor, characteristic information in default hazardous environment characteristic information data storehouse includes default
Difference in height scope and/or predetermined angle difference scope;By the characteristic information for the environment being taken residing for personage and default hazards loops
The process that characteristic information in the characteristic information data storehouse of border is compared is:First difference in height and preset height difference scope are carried out
Compare and/or first angle difference is compared with predetermined angle difference scope.
Specifically, when the characteristic information in default hazardous environment characteristic information data storehouse includes preset height difference scope,
The characteristic information for the personage's local environment that is taken includes first difference in height of the personage present position compared to reference position that be taken
When, by the first difference in height compared with preset height difference scope.Spy in default hazardous environment characteristic information data storehouse
Reference breath includes predetermined angle difference scope, and the characteristic information for the personage's local environment that is taken includes the personage present position phase that is taken
When poor compared with the first angle of reference position, by first angle difference compared with predetermined angle difference scope.When default danger
Characteristic information in environmental characteristic information database includes preset height difference scope and predetermined angle difference scope, and be taken personage institute
The characteristic information of the environment at place includes first difference in height and first angle of the personage present position compared to reference position that be taken
When poor, by the first difference in height compared with preset height difference scope, first angle difference is compared with predetermined angle difference scope
Compared with.
Step 208, characteristic information and default hazardous environment characteristic information data storehouse when the personage's local environment that is taken
In characteristic information when matching, the personage's local environment that determines to be taken is hazardous environment.
Due to the characteristic information in default hazardous environment characteristic information data storehouse including preset height difference scope and/or in advance
If differential seat angle scope;Be taken the environment residing for personage characteristic information include be taken personage present position compared to benchmark position
The first difference in height and/or first angle put are poor.Characteristic information and default hazardous environment when the personage's local environment that is taken
When characteristic information in characteristic information data storehouse matches, the personage's local environment that determines to be taken is that the process of hazardous environment is specific
For:When the first difference in height is located within the scope of the preset height difference in default hazardous environment characteristic information data storehouse and/or first
When differential seat angle is located within the scope of the predetermined angle difference in default hazardous environment characteristic information data storehouse, the personage institute that is taken is determined
Place's environment is hazardous environment.
When the characteristic information in default hazardous environment characteristic information data storehouse includes preset height difference scope, be taken people
The characteristic information of environment residing for thing include being taken personage present position compared to reference position the first difference in height when, by the
One difference in height is compared with preset height difference scope, when the first difference in height is located within the scope of preset height difference, determines to be clapped
It is hazardous environment to take the photograph the environment residing for personage.
When the characteristic information in default hazardous environment characteristic information data storehouse includes predetermined angle difference scope, be taken people
The characteristic information of environment residing for thing include being taken personage present position it is poor compared to the first angle of reference position when, by the
One differential seat angle, when first angle difference is within the scope of predetermined angle difference, determines to be clapped compared with predetermined angle difference scope
It is hazardous environment to take the photograph the environment residing for personage.
When the characteristic information in default hazardous environment characteristic information data storehouse includes preset height difference scope and preset angle
The poor scope of degree, the characteristic information for the environment residing for personage that is taken include being taken personage present position compared to reference position
When first difference in height and first angle are poor, by the first difference in height with preset height difference scope compared with, by first angle difference and
Predetermined angle difference scope is compared, and is located in the first difference in height within the scope of preset height difference and first angle difference is located at preset angle
When in the poor scope of degree, the environment for determining to be taken residing for personage is hazardous environment.
Step 209, when the personage that determines to be taken is in hazardous environment, shown in shooting preview interface at the personage that is taken
Prompt tone is sent in the prompt message and/or triggering loudspeaker of hazardous environment.
When the personage that determines to be taken is in hazardous environment, it is necessary to carry out safety instruction processing.Can be pre- in current shooting
Look at interface display prompt message and/or triggering loudspeaker send prompt tone to remind user.
When photographer takes pictures for the personage that is taken, mobile terminal can determine quilt according to the pre-set image that camera gathers
Shoot whether personage is under hazardous environment, when the personage that is taken is under hazardous environment, mobile terminal can be pre- in shooting
Look at interface pop-up safety instruction information, photographer can inform the personage that is taken so that quilt after safety instruction information is found
Personage is shot away from residing hazardous environment.Mobile terminal can also trigger loudspeaker and alarm, can also be at the same time using aobvious
Show prompt message and trigger the mode of loudspeaker to remind user, the personal safety for the personage that ensures to be taken.
When photographer carries out self-timer, photographer is at the same time as the personage that is taken at this time, in mobile terminal according to camera
The pre-set image of collection determines to be taken personage when being under hazardous environment, and mobile terminal can be ejected in shooting preview interface pacifies
Full enlightening information reminds photographer, can also remind photographer by the way of loudspeaker is triggered, can also be at the same time using aobvious
Show prompt message and trigger the mode of loudspeaker to remind user, the personal safety for the personage that ensures to be taken.
The embodiment of the present invention two, by image recognition technology to preview image carry out person recognition detection, determine it is pre-
Look at and exist in image when being taken personage, detect the environment being taken residing for personage and whether there is security risk, clapped definite
The shooting environmental residing for personage is taken the photograph there are during security risk, carries out safety instruction so that the personage that is taken removes according to safety instruction
From there are the shooting environmental of security risk, ensure the safety of personnel, lift the experience of shooting.
Embodiment three
A kind of shooting suggestion device provided below for the embodiment of the present invention three.The wherein embodiment of device and above-mentioned side
Method embodiment belongs to same design, and the detail content of not detailed description, may be referred to above method embodiment in device embodiment.
The embodiment of the present invention provides a kind of shooting suggestion device, applied to mobile terminal, as shown in figure 3, the device includes:
Acquisition module 10, for obtaining the preview image of camera collection, person recognition inspection is carried out to present preview image
Survey;
Processing module 20, in detecting present preview image exist be taken personage when, to the personage institute that is taken
The environment at place is detected, and judges whether the personage that is taken is in hazardous environment according to testing result;
Reminding module 30, for when the personage that is taken is in hazardous environment, carrying out safety instruction processing.
Wherein, as shown in figure 4, acquisition module 10 includes:
First detection sub-module 11, whether there is face for being detected using face identification method in present preview image;
First determination sub-module 12, for there are determine to exist in present preview image during face in present preview image
Be taken personage.
Wherein, acquisition module 10 further includes:
Second detection sub-module 13, during for face to be not present in present preview image, in present preview image
Each object carries out pixel edge detection, obtains the profile of each object;
Second determination sub-module 14, is clapped for determining to whether there is in present preview image according to the profile of each object
Take the photograph personage.
Wherein, as shown in figure 5, processing module 20 includes:
Acquisition submodule 21, for obtaining the characteristic information for the personage's local environment that is taken;
Submodule 22 is compared, for the characteristic information for the personage's local environment that is taken and default hazardous environment feature to be believed
Characteristic information in breath database is compared;
Submodule 23 is handled, is believed for the characteristic information when the personage's local environment that is taken with default hazardous environment feature
Characteristic information in breath database is when matching, and the personage's local environment that determines to be taken is hazardous environment.
Wherein, the characteristic information in default hazardous environment characteristic information data storehouse include preset height difference scope and/or
Predetermined angle difference scope;
Acquisition submodule 21 is further used for:
It is poor compared to the first difference in height and/or first angle of reference position to detect the personage present position that is taken;
Submodule 22 is compared to be further used for:
By the first difference in height be compared with preset height difference scope and/or by first angle difference with predetermined angle difference scope
It is compared;
Correspondingly, processing submodule 23 is further used for:
Be located within the scope of the preset height difference in default hazardous environment characteristic information data storehouse when the first difference in height and/or
When first angle difference is located within the scope of the predetermined angle difference in default hazardous environment characteristic information data storehouse, the people that is taken is determined
Thing local environment is hazardous environment.
Wherein, reminding module 30 is further used for:
When the personage that determines to be taken is in hazardous environment, show that the personage that is taken is in hazards loops in shooting preview interface
The prompt message and/or triggering loudspeaker in border send prompt tone.
The embodiment of the present invention three, by image recognition technology to preview image carry out person recognition detection, determine it is pre-
Look at and exist in image when being taken personage, detect the environment being taken residing for personage and whether there is security risk, clapped definite
The shooting environmental residing for personage is taken the photograph there are during security risk, carries out safety instruction so that the personage that is taken removes according to safety instruction
From there are the shooting environmental of security risk, ensure the safety of personnel, lift the experience of shooting.
It should be noted that shooting suggestion device provided in an embodiment of the present invention is the device using the above method, then on
All embodiments for stating method are suitable for the device, and can reach the same or similar beneficial effect.
Above-described is the preferred embodiment of the present invention, it should be pointed out that is come for the ordinary person of the art
Say, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, these improvements and modifications also exist
In protection scope of the present invention.
Claims (12)
1. one kind shooting reminding method, applied to mobile terminal, it is characterised in that the described method includes:
The preview image of camera collection is obtained, person recognition detection is carried out to present preview image;
In detecting present preview image exist be taken personage when, to being taken, the environment residing for personage is detected, and
Judge whether the personage that is taken is in hazardous environment according to testing result;
When the personage that is taken is in hazardous environment, safety instruction processing is carried out.
2. according to the method described in claim 1, it is characterized in that, described carry out person recognition detection to present preview image
Method includes:
Detected using face identification method in present preview image and whether there is face;
There are determine to have the personage that is taken in present preview image during face in present preview image.
3. according to the method described in claim 2, it is characterized in that, when face being not present in present preview image, the side
Method further includes:
Pixel edge detection is carried out to each object in present preview image, obtains the profile of each object;
Determined according to the profile of each object in present preview image with the presence or absence of the personage that is taken.
4. according to the method described in claim 1, it is characterized in that, the described pair of environment being taken residing for personage is detected,
And judge that the step of whether personage is in hazardous environment that be taken includes according to testing result:
Obtain the characteristic information for the personage's local environment that is taken;
By the characteristic information in the characteristic information for the personage's local environment that is taken and default hazardous environment characteristic information data storehouse
It is compared;
Characteristic information when the personage's local environment that is taken and the characteristic information in default hazardous environment characteristic information data storehouse
When matching, the personage's local environment that determines to be taken is hazardous environment.
5. according to the method described in claim 4, it is characterized in that, feature in default hazardous environment characteristic information data storehouse
Information includes preset height difference scope and/or predetermined angle difference scope;
It is described acquisition be taken personage's local environment characteristic information the step of include:
It is poor compared to the first difference in height and/or first angle of reference position to detect the personage present position that is taken;
The characteristic information by the personage's local environment that is taken and the feature in default hazardous environment characteristic information data storehouse
The step of information is compared includes:
By first difference in height be compared with the preset height difference scope and/or by the first angle it is poor with it is described pre-
If differential seat angle scope is compared;
Correspondingly, the characteristic information when the personage's local environment that is taken and the spy in default hazardous environment characteristic information data storehouse
When levying information match, the step of personage's local environment is hazardous environment that determine to be taken includes:
When first difference in height is located within the scope of the preset height difference in default hazardous environment characteristic information data storehouse
And/or the first angle difference is located within the scope of the predetermined angle difference in default hazardous environment characteristic information data storehouse
When, the personage's local environment that determines to be taken is hazardous environment.
6. according to the method described in claim 1, it is characterized in that, described when the personage that is taken is in hazardous environment, progress
The step of safety instruction is handled includes:
When the personage that determines to be taken is in hazardous environment, show that the personage that is taken is in hazardous environment in shooting preview interface
Prompt message and/or triggering loudspeaker send prompt tone.
7. one kind shooting suggestion device, applied to mobile terminal, it is characterised in that described device includes:
Acquisition module, for obtaining the preview image of camera collection, person recognition detection is carried out to present preview image;
Processing module, in detecting present preview image exist be taken personage when, to the ring being taken residing for personage
Border is detected, and judges whether the personage that is taken is in hazardous environment according to testing result;
Reminding module, for when the personage that is taken is in hazardous environment, carrying out safety instruction processing.
8. device according to claim 7, it is characterised in that the acquisition module includes:
First detection sub-module, whether there is face for being detected using face identification method in present preview image;
First determination sub-module, for there are determine to exist in present preview image during face to be taken in present preview image
Personage.
9. device according to claim 8, it is characterised in that the acquisition module further includes:
Second detection sub-module, during for face to be not present in present preview image, to each thing in present preview image
Body carries out pixel edge detection, obtains the profile of each object;
Second determination sub-module, for being determined according to the profile of each object in present preview image with the presence or absence of the people that is taken
Thing.
10. device according to claim 7, it is characterised in that the processing module includes:
Acquisition submodule, for obtaining the characteristic information for the personage's local environment that is taken;
Submodule is compared, for by the characteristic information for the personage's local environment that is taken and default hazardous environment characteristic information data
Characteristic information in storehouse is compared;
Submodule is handled, for the characteristic information when the personage's local environment that is taken and default hazardous environment characteristic information data
When characteristic information in storehouse matches, the personage's local environment that determines to be taken is hazardous environment.
11. device according to claim 10, it is characterised in that the spy in default hazardous environment characteristic information data storehouse
Reference breath includes preset height difference scope and/or predetermined angle difference scope;
The acquisition submodule is further used for:
It is poor compared to the first difference in height and/or first angle of reference position to detect the personage present position that is taken;
The comparison submodule is further used for:
By first difference in height be compared with the preset height difference scope and/or by the first angle it is poor with it is described pre-
If differential seat angle scope is compared;
Correspondingly, the processing submodule is further used for:
When first difference in height is located within the scope of the preset height difference in default hazardous environment characteristic information data storehouse
And/or the first angle difference is located within the scope of the predetermined angle difference in default hazardous environment characteristic information data storehouse
When, the personage's local environment that determines to be taken is hazardous environment.
12. device according to claim 7, it is characterised in that the reminding module is further used for:
When the personage that determines to be taken is in hazardous environment, show that the personage that is taken is in hazardous environment in shooting preview interface
Prompt message and/or triggering loudspeaker send prompt tone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610969057.1A CN108024050A (en) | 2016-10-28 | 2016-10-28 | One kind shooting reminding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610969057.1A CN108024050A (en) | 2016-10-28 | 2016-10-28 | One kind shooting reminding method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108024050A true CN108024050A (en) | 2018-05-11 |
Family
ID=62083446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610969057.1A Pending CN108024050A (en) | 2016-10-28 | 2016-10-28 | One kind shooting reminding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108024050A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005136695A (en) * | 2003-10-30 | 2005-05-26 | Nec Corp | Portable information equipment, portable telephone system and display control method |
CN103106374A (en) * | 2013-01-15 | 2013-05-15 | 广东欧珀移动通信有限公司 | Safety pre-warning processing method, system and mobile terminal of reminding user of mobile terminal |
CN104427327A (en) * | 2013-08-23 | 2015-03-18 | 索尼公司 | Image capturing device, image capturing method, and information distribution system |
CN105575045A (en) * | 2016-01-13 | 2016-05-11 | 广东小天才科技有限公司 | Pavement condition prompting method and apparatus for mobile terminal, and mobile terminal |
CN105654044A (en) * | 2015-12-28 | 2016-06-08 | 深圳市金立通信设备有限公司 | Information processing method and terminal |
-
2016
- 2016-10-28 CN CN201610969057.1A patent/CN108024050A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005136695A (en) * | 2003-10-30 | 2005-05-26 | Nec Corp | Portable information equipment, portable telephone system and display control method |
CN103106374A (en) * | 2013-01-15 | 2013-05-15 | 广东欧珀移动通信有限公司 | Safety pre-warning processing method, system and mobile terminal of reminding user of mobile terminal |
CN104427327A (en) * | 2013-08-23 | 2015-03-18 | 索尼公司 | Image capturing device, image capturing method, and information distribution system |
CN105654044A (en) * | 2015-12-28 | 2016-06-08 | 深圳市金立通信设备有限公司 | Information processing method and terminal |
CN105575045A (en) * | 2016-01-13 | 2016-05-11 | 广东小天才科技有限公司 | Pavement condition prompting method and apparatus for mobile terminal, and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106022209B (en) | A kind of method and device of range estimation and processing based on Face datection | |
JP6544244B2 (en) | INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM | |
CN110955912B (en) | Privacy protection method, device, equipment and storage medium based on image recognition | |
CN104364798B (en) | System and method for face verification | |
US10956715B2 (en) | Decreasing lighting-induced false facial recognition | |
CN109002786B (en) | Face detection method, face detection equipment and computer-readable storage medium | |
WO2017071065A1 (en) | Area recognition method and apparatus | |
US11676424B2 (en) | Iris or other body part identification on a computing device | |
CN110443016B (en) | Information leakage prevention method, electronic device and storage medium | |
CN107358219B (en) | Face recognition method and device | |
US20130169821A1 (en) | Detecting Orientation of Digital Images Using Face Detection Information | |
CN110059644A (en) | A kind of biopsy method based on facial image, system and associated component | |
KR101546933B1 (en) | Apparatus for sensing fire | |
US11006864B2 (en) | Face detection device, face detection system, and face detection method | |
CN110163100B (en) | Anti-photographing display | |
US9098243B2 (en) | Display device and method for adjusting observation distances thereof | |
US20170339287A1 (en) | Image transmission method and apparatus | |
TW201338516A (en) | Image capturing device and method thereof and human recognition photograph system | |
CN112115886A (en) | Image detection method and related device, equipment and storage medium | |
CN106297734B (en) | Screen brightness adjusting method and device for electronic terminal | |
CN111066023A (en) | Detection system, detection device and method thereof | |
CN109492509A (en) | Personal identification method, device, computer-readable medium and system | |
CN104065949B (en) | A kind of Television Virtual touch control method and system | |
WO2018086420A1 (en) | Displaying method and device, and smart mirror | |
CN106650583B (en) | Method for detecting human face, device and terminal device |
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: 20180511 |