CN109104570A - Shooting method based on wearable device and wearable device - Google Patents

Shooting method based on wearable device and wearable device Download PDF

Info

Publication number
CN109104570A
CN109104570A CN201810986000.1A CN201810986000A CN109104570A CN 109104570 A CN109104570 A CN 109104570A CN 201810986000 A CN201810986000 A CN 201810986000A CN 109104570 A CN109104570 A CN 109104570A
Authority
CN
China
Prior art keywords
wearable device
camera
face
horizontal plane
elongated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810986000.1A
Other languages
Chinese (zh)
Other versions
CN109104570B (en
Inventor
王强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810986000.1A priority Critical patent/CN109104570B/en
Publication of CN109104570A publication Critical patent/CN109104570A/en
Application granted granted Critical
Publication of CN109104570B publication Critical patent/CN109104570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/58Means for changing the camera field of view without moving the camera body, e.g. nutating or panning of optics or image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention relates to the field of wearable equipment, and discloses a shooting method based on the wearable equipment and the wearable equipment, wherein the method comprises the following steps: when a wearer lifts the wearable device worn on the wrist to perform self-photographing preview, the wearable device detects whether a screen of the wearable device is vertical to a horizontal plane or not by using a sensor; if the screen of the wearable device is not vertical to the horizontal plane, the wearable device automatically adjusts the end face of the lens of the camera to be vertical to the horizontal plane; the camera is arranged on one side where a screen of the wearable device is located; the wearable device judges whether the face preview image captured by the camera is the optimal face preview image which is not elongated or not, if so, the face preview image is shot to obtain the optimal face image which is not elongated. By implementing the embodiment of the invention, the efficiency of shooting the optimal human face image which is not elongated can be improved.

Description

A kind of image pickup method and wearable device based on wearable device
Technical field
The present invention relates to wearable device fields, and in particular to a kind of image pickup method based on wearable device and wearable Equipment.
Background technique
Currently, more and more wearable devices (such as call wrist-watch) have shooting function on the market.Work as wearable device When (such as call wrist-watch) is worn on progress self-timer in wrist, wearer usually requires twisting arm repeatedly so that wearable device (such as call wrist-watch) camera can take the best facial image not being elongated.In practice, it has been found that wearer turns round repeatedly The mode of arm of starting can reduce the efficiency for taking the best facial image not being elongated.
Summary of the invention
The embodiment of the invention discloses a kind of image pickup method and wearable device based on wearable device, is able to ascend bat Take the photograph the efficiency for the best facial image not being elongated.
First aspect of the embodiment of the present invention discloses a kind of image pickup method based on wearable device, which comprises
When the wearable device that wearer lifts weared on wrist carries out self-timer preview, the wearable device is utilized Sensor detect the wearable device screen whether with horizontal plane;
If the screen of the wearable device and horizontal plane out of plumb, the mirror of the wearable device automatic adjustment camera End surface and horizontal plane;Wherein, the screen side of the wearable device is arranged in the camera;
The wearable device judge face preview image that the camera captures whether be not elongated it is best Face preview image, if so, shooting to the best face preview image not being elongated, acquisition is not elongated best Facial image.
As an alternative embodiment, in first aspect of the embodiment of the present invention, if the screen of the wearable device Curtain and horizontal plane, the method also includes:
The wearable device detect the camera camera lens end face whether with horizontal plane, the mirror of the camera End surface and horizontal plane out of plumb execute camera lens end face and the horizontal plane of the automatic adjustment camera.
As an alternative embodiment, the wearable device detects institute in first aspect of the embodiment of the present invention State camera camera lens end face whether with horizontal plane, comprising:
Whether the axial line that the wearable device detects the camera is parallel to the horizontal plane, if the axis of the camera Heart line is parallel to the horizontal plane, determine the camera camera lens end face whether with horizontal plane;If the axis of the camera Heart line is not parallel with horizontal plane, determines camera lens end face and the horizontal plane out of plumb of the camera;Wherein, the camera Axial line is vertical with the camera lens end face of the camera.
As an alternative embodiment, the wearable device judges institute in first aspect of the embodiment of the present invention State whether the face preview image that camera captures is the best face preview image not being elongated, comprising:
The wearable device measures two nostril lateral borders from the face preview image that the camera captures Distance value a;
And the wearable device measures bridge of the nose length b from the face preview image that the camera captures;
And the wearable device calculates the ratio value a/b of distance value a and bridge of the nose length b;
And the wearable device judges that the ratio value a/b is adapted with designated ratio value, if so, described wear Wearing the face preview image that equipment determines that the camera captures is the best face preview image not being elongated;Wherein, The designated ratio value be previously according to two nostril lateral borders of the best facial image not being elongated distance value and the bridge of the nose it is long The ratio value of degree is arranged.
As an alternative embodiment, the acquisition is not elongated most in first aspect of the embodiment of the present invention After beautiful woman's face image, the method also includes:
The wearable device obtains the present position of the wearable device;
It is default that the wearable device judges whether the present position of the wearable device is located at the wearable device Allow for best facial image to be uploaded in the specified region of cloud platform, if so, the wearable device will include it is described most Beautiful woman's face image and the user information of the present position are uploaded to cloud platform, so that the cloud platform is from the best face figure As extracting face characteristic, and by the cloud platform by the best facial image store to the face characteristic and it is described immediately The specified region that position is located at corresponding user's face memory space simultaneously.
Second aspect of the embodiment of the present invention discloses a kind of wearable device, comprising:
Detection unit utilizes when the wearable device for lifting weared on wrist in wearer carries out self-timer preview Sensor detect the wearable device screen whether with horizontal plane;
Adjust unit, for the testing result in the detection unit be the wearable device screen and horizontal plane not When vertical, camera lens end face and the horizontal plane of camera are automatically adjusted;Wherein, camera setting wearable is set described Standby screen side;
First judging unit, for judging whether the face preview image that the camera captures is not to be elongated most Beautiful woman's face preview image;
Shooting unit, for the judging result in first judging unit be when, to it is described be not elongated it is best Face preview image is shot, and the best facial image not being elongated is obtained.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the wearable device further include:
Second detection unit, for the screen and level that the testing result in the detection unit is the wearable device When face is vertical, detect the camera camera lens end face whether with horizontal plane;
The adjusting unit is also used in the camera lens end face that the testing result of the second detection unit is the camera When with horizontal plane out of plumb, camera lens end face and the horizontal plane of camera are automatically adjusted.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the first detection unit detection The camera lens end face of the camera whether the mode with horizontal plane specifically:
Whether the axial line for detecting the camera is parallel to the horizontal plane, if the axial line of the camera and horizontal plane are flat Row, determine the camera camera lens end face whether with horizontal plane;If the axial line of the camera and horizontal plane are not In parallel, camera lens end face and the horizontal plane out of plumb of the camera are determined;Wherein, the axial line of the camera is taken the photograph with described As the camera lens end face of head is vertical.
As an alternative embodiment, in second aspect of the embodiment of the present invention, first judging unit includes:
Subelement is measured, is measured from the face preview image that the camera captures for the wearable device The distance value a of two nostril lateral borders;And bridge of the nose length b is measured from the face preview image that the camera captures;
Computation subunit, for calculating the ratio value a/b of distance value a Yu bridge of the nose length b;
Judgment sub-unit, for judging that the ratio value a/b is adapted with designated ratio value, if so, determining described take the photograph The face preview image captured as head is the best face preview image not being elongated;Wherein, the designated ratio value is pre- First it is arranged according to the distance value of two nostril lateral borders of the best facial image not being elongated and the ratio value of bridge of the nose length.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the wearable device further include:
Acquiring unit can described in acquisition for after the shooting unit obtains the best facial image that is not elongated The present position of wearable device;
Second judgment unit, for judging it is pre- whether the present position of the wearable device is located at the wearable device If allow for best facial image to be uploaded in the specified region of cloud platform;
Communication unit, being for the judging result in the second judgment unit will include the best face figure when being The user information of picture and the present position is uploaded to cloud platform, so that the cloud platform is extracted from the best facial image Face characteristic, and the best facial image is stored to the face characteristic and the present position by the cloud platform and is located at The specified region simultaneously corresponding user's face memory space.
The third aspect of the embodiment of the present invention discloses a kind of wearable device, comprising:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes the embodiment of the present invention the The image pickup method based on wearable device disclosed in one side.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein The computer program makes computer execute the bat based on wearable device disclosed in first aspect of the embodiment of the present invention Take the photograph method.
Compared with prior art, the embodiment of the present invention has the advantages that
It is wearable when the wearable device that wearer lifts weared on wrist carries out self-timer preview in the embodiment of the present invention Equipment can automatically adjust the shooting angle of its camera, to reach optimal shooting effect, camera be taken The best facial image not being elongated, so as to promote the efficiency for taking the best facial image not being elongated.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of image pickup method based on wearable device disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another image pickup method based on wearable device disclosed by the embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of the screen side of wearable device disclosed by the embodiments of the present invention;
Fig. 4 is the distance value a and nose of two nostril lateral borders in a kind of face preview image disclosed by the embodiments of the present invention The schematic diagram of beam length b;
Fig. 5 is a kind of structural schematic diagram of wearable device disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
It should be noted that term " includes " and " having " and their any changes in the embodiment of the present invention and attached drawing Shape, it is intended that cover and non-exclusive include.Such as contain the process, method of a series of steps or units, system, product or Equipment is not limited to listed step or unit, but optionally further comprising the step of not listing or unit or optional Ground further includes the other step or units intrinsic for these process, methods, product or equipment.
The embodiment of the invention discloses a kind of image pickup method and wearable device based on wearable device, is able to ascend bat Take the photograph the efficiency for the best facial image not being elongated.It is described in detail separately below.
Embodiment one
Referring to Fig. 1, the process that Fig. 1 is a kind of image pickup method based on wearable device disclosed by the embodiments of the present invention is shown It is intended to.As shown in Figure 1, being somebody's turn to do the image pickup method based on wearable device may comprise steps of:
101, when the wearable device that wearer lifts weared on wrist carries out self-timer preview, wearable device utilizes sensing Whether the screen that device detects wearable device executes with horizontal plane if the screen of wearable device and horizontal plane out of plumb Step 102~step 103;If the screen and horizontal plane of wearable device, step 103 is executed.
It is wearable when the wearable device that wearer lifts weared on wrist carries out self-timer preview in the embodiment of the present invention Equipment can use gyro sensor detection wearable device screen whether with horizontal plane, if the screen of wearable device Curtain and horizontal plane out of plumb, execute step 102;If the screen and horizontal plane of wearable device, step 103 is executed.
102, the camera lens end face of wearable device automatic adjustment camera and horizontal plane;Wherein, camera setting exists The screen side of wearable device.
In the embodiment of the present invention, wearable device can read the screen for the wearable device that gyro sensor detects With the angle of horizontal plane, and wearable device can automatically control the axial line counter-rotating of the camera angle, so as to take the photograph As the axis parallel of head is in horizontal plane, so that the camera lens end face of the camera vertical with the axial line of camera and horizontal Face is vertical.
103, wearable device judges whether the face preview image that camera captures is the best face not being elongated Preview image, if so, executing step 104;If it is not, terminating this process.
104, wearable device shoots the best face preview image not being elongated, and acquisition is not elongated best Facial image.
In the photographic method described in Fig. 1, self-timer preview is carried out in the wearable device that wearer lifts weared on wrist When, wearable device can automatically adjust the shooting angle of its camera, to reach optimal shooting effect, enable camera The best facial image not being elongated is taken, enough so as to promote the effect for taking the best facial image not being elongated Rate.
Embodiment two
Referring to Fig. 2, Fig. 2 is the process of another image pickup method based on wearable device disclosed by the embodiments of the present invention Schematic diagram.As shown in Fig. 2, being somebody's turn to do the image pickup method based on wearable device may comprise steps of:
201, when the wearable device that wearer lifts weared on wrist carries out self-timer preview, wearable device utilizes sensing Whether the screen that device detects wearable device executes with horizontal plane if the screen of wearable device and horizontal plane out of plumb Step 203~step 204;If the screen and horizontal plane of wearable device, step 202 is executed.
202, wearable device detection camera camera lens end face whether with horizontal plane, if the camera lens end face of camera With horizontal plane out of plumb, step 203~step 204 is executed;If the camera lens end face of camera and horizontal plane, step is executed 204。
In the embodiment of the present invention, wearable device detect camera camera lens end face whether with horizontal plane, comprising:
Whether the axial line of wearable device detection camera is parallel to the horizontal plane, if the axial line and horizontal plane of camera In parallel, determine camera camera lens end face whether with horizontal plane;If the axial line of camera and horizontal plane are not parallel, really Make camera lens end face and the horizontal plane out of plumb of camera;Wherein, the axial line of camera is vertical with the camera lens end face of camera.
203, the camera lens end face of wearable device automatic adjustment camera and horizontal plane;Wherein, camera setting exists The screen side of wearable device.
As shown in figure 3, the screen side of wearable device is arranged in camera.
204, wearable device judges whether the face preview image that camera captures is the best face not being elongated Preview image, if so, executing step 205~step 207;If it is not, terminating this process.
In the embodiment of the present invention, wearable device judges whether the face preview image that camera captures is not to be elongated Best face preview image, comprising:
Wearable device measures the distance value a of two nostril lateral borders from the face preview image that camera captures, And wearable device measures bridge of the nose length b from the face preview image that camera captures;Wherein, face preview image The distance value a and bridge of the nose length b of two nostril lateral borders can be as shown in Figure 4;
And wearable device calculates the ratio value a/b of distance value a and bridge of the nose length b;
And wearable device judges that ratio value a/b is adapted with designated ratio value, if so, wearable device is determined The face preview image that camera captures is the best face preview image not being elongated;Wherein, designated ratio value is preparatory It is arranged according to the distance value of two nostril lateral borders of the best facial image not being elongated and the ratio value of bridge of the nose length.
It is counted according to face aesthetics, the distance value and the bridge of the nose of two nostril lateral borders of the best facial image not being elongated are long The ratio value of degree is typically about 0.7, and therefore, wearable device can be set as designated ratio value for 0.7, and may determine that ratio Example value a/b is adapted with designated ratio value 0.7, if so, wearable device determines the face preview image that camera captures For the best face preview image not being elongated.Wherein, ratio value a/b is adapted with designated ratio value 0.7 and refers to: ratio value a/ B is equal with designated ratio value 0.7 or the absolute value of difference between ratio value a/b and designated ratio value 0.7 is in preset range It is interior.
205, wearable device shoots the best face preview image not being elongated, and acquisition is not elongated best Facial image.
206, wearable device obtains the present position of wearable device.
207, wearable device judge the present position of wearable device whether be located at wearable device it is preset allow by Best facial image is uploaded in the specified region of cloud platform, if so, executing step 208;If it is not, terminating this process.
208, the user information including best facial image and present position is uploaded to cloud platform by wearable device, so that Cloud platform extracts face characteristic from best facial image, and by cloud platform is stored best facial image to face characteristic and i.e. When the specified region that is located at of position corresponding user's face memory space simultaneously.
As an alternative embodiment, in the embodiment of the present invention, when above-mentioned present position is located at a certain sight spot, on The relevant sight spot in the sight spot first that the wearer that the user information in step 208 can also include wearable device reports is stated to comment By correspondingly, best facial image is stored the specified region being located to face characteristic and present position while correspondence by cloud platform User's face memory space after, the relevant sight spot in the sight spot that any one available other users of cloud platform report Two comments, and the sight spot first comment and the sight spot second comment are compared, if comparison shows that the sight spot first is commented on Commented on the sight spot second approximate, cloud platform can will send recommendation information to wearable device, which includes at least The identity information (including social account information) for any one other users for reporting the relevant sight spot second in the sight spot to comment on, In order to wearable device wearer can (including social account be believed according to the identity informations of any one other users Breath) make friends with any one other users, so as to be conducive to with oneself to sight spot there are approximate view its His traveller carries out tourism friend-making.
As an alternative embodiment, cloud platform compare the sight spot first comment with the sight spot second comment on it is approximate it Afterwards, before and sending recommendation information to wearable device, following operation is can also be performed in cloud platform:
Cloud platform detects whether the sight spot second comment is associated with friend-making additional information, and the friend-making additional information is at least wrapped Include the interested scenic spot type classified by tourism resource development value of any one other users;
If being associated with the friend-making additional information, cloud platform to wearable device send the first notification information, described first Notification information is used for the interested scenic spot type of wearer of notice reporting wearable device;
The interested scenic spot type of wearer for the wearable device that cloud platform detection wearable device reports, and verifying can The interested scenic spot type of the wearer of wearable device and any one other users are interested by tourism resource development value point Whether the scenic spot type that class obtains matches, if matching, sends recommendation information to wearable device.
As an alternative embodiment, the friend-making additional information further includes that any one other users are interested User's gender and age of user range;Cloud platform verify wearable device the interested scenic spot type of wearer and this After the interested scenic spot type matching classified by tourism resource development value of other users of anticipating, and set to wearable Before preparation send recommendation information, following operation is can also be performed in cloud platform:
Cloud platform sends the second notification information to wearable device, and second notification information is wearable for notice reporting Wearer's gender of equipment and wearer's age;
The wearer's gender and wearer's age that cloud platform detection wearable device reports, and whether verify wearer's gender It is identical as the interested user's gender of any one other users, and verification wearer's age whether be located at this any one Within the scope of the interested age of user of other users;
If wearer's gender is identical as the interested user's gender of any one other users and wearer's age bit In within the scope of the interested age of user of any one other users, cloud platform sends recommendation information to wearable device.
In the embodiment of the present invention, which is commented on and is compared with the sight spot second comment by cloud platform, comprising:
Cloud platform is disassembled the sight spot first comment to obtain each candidate sentences, determines the important of each candidate sentences Property score;Target sentences of the importance scores greater than preset value are extracted from each candidate sentences as the sight spot the The key message of one comment;The key message that the sight spot first is commented on and the key message that the sight spot second is commented on are carried out Comparison.
In the embodiment of the present invention, disassembled the sight spot first comment to obtain each candidate sentences, comprising:
Preset text dismantling rule is obtained, the preset text dismantling rule will be carried out including branch, comma, fullstop Dismantling, and pause mark, colon, quotation marks are without dismantling;
According to the preset text dismantling rule, the sight spot first comment is disassembled, to obtain each candidate sentence Son;
Determine the importance scores of each candidate sentences, comprising:
For each candidate sentences in each candidate sentences, if the candidate sentences are Chinese sentence, according to language The Chinese sentence is split as several phrases by the mode of justice analysis;
Full text traversal is carried out to each phrase that fractionation obtains to calculate, and obtains the frequency of occurrence of each phrase;
It is ranked up according to all phrases that the sequence of the frequency of occurrence from high to low obtains fractionation, and each word Group assigns corresponding weight according to the frequency of occurrence, and the frequency of occurrence is higher, and the weight is higher;
The importance scores of each Chinese sentence are calculated, the importance scores are that the Chinese sentence is split The weights sum of several phrases.
If the candidate sentences are webpage link address, the corresponding target network of the webpage link address is being opened from the background Page;
The importance point of the target webpage is determined according to the link in the target webpage, being directed toward the target webpage Number, the importance scores of the target webpage are the importance scores of the candidate sentences.
Wherein it is determined that the process of the importance scores of the target webpage are as follows:
Wherein, S (Vi) is the importance scores of target webpage, and d is damped coefficient, and In (Vi) is to exist to be directed toward target webpage Link collections of web pages, out (Vj) is the collections of web pages that the existing link of link in webpage j is directed toward, and out (Vj) takes absolutely Value is the number to indicate element in the collections of web pages, and S (Vj) is the importance scores of webpage j.
As an alternative embodiment, the cloud platform key message of commenting on the sight spot first and the sight spot the The key message of two comments compares, comprising:
Cloud platform determines the first sentence in the key message that the sight spot first is commented on, and determines the sight spot second The second sentence in the key message of comment;Wherein, the phrase to overlap each other between first sentence and second sentence Quantity it is most;
Cloud platform calculates the cosine similarity of first sentence Yu second sentence;
If the cosine similarity is higher than designated value, cloud platform determines that the comment of sight spot first is commented with the sight spot second By approximation.
Wherein, the calculating process of the cosine similarity are as follows:
First sentence is split as several phrases by cloud platform, to obtain one group of phrase;
Second sentence is split as several phrases by cloud platform, to obtain another group of phrase;
Cloud platform is compared the phrase in two groups of phrases one by one, and if it exists, is then recorded as 1, if it does not exist, is then recorded It is 0, to obtain First ray and the second sequence;
Cloud platform calculates the cosine similarity between the First ray and second sequence, and as described first Cosine similarity between sub and described second sentence.
In the photographic method described in Fig. 2, self-timer preview is carried out in the wearable device that wearer lifts weared on wrist When, wearable device can automatically adjust the shooting angle of its camera, to reach optimal shooting effect, enable camera The best facial image not being elongated is taken, enough so as to promote the effect for taking the best facial image not being elongated Rate.
In addition, in the photographic method described in Fig. 2, can be conducive to the wearer of wearable device with oneself to scape Other travellers that point has approximate view carry out tourism friend-making.
Embodiment three
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of wearable device disclosed by the embodiments of the present invention.Such as Fig. 5 institute Show, which may include:
Detection unit 501 utilizes biography when the wearable device for lifting weared on wrist in wearer carries out self-timer preview Sensor detect the wearable device screen whether with horizontal plane;
Unit 502 is adjusted, is not hung down for the screen that the testing result in detection unit 501 is wearable device with horizontal plane When straight, camera lens end face and the horizontal plane of camera are automatically adjusted;Wherein, the screen institute of wearable device is arranged in camera In side;
First judging unit 503, for judging whether the face preview image that camera captures is not to be elongated most Beautiful woman's face preview image;
Shooting unit 504 is when being, to the most beautiful woman not being elongated for the judging result in the first judging unit 503 Face preview image is shot, and the best facial image not being elongated is obtained.
Wherein, implement wearable device described in Fig. 5, carried out certainly in the wearable device that wearer lifts weared on wrist When clapping preview, wearable device can automatically adjust the shooting angle of its camera, to reach optimal shooting effect, so that taking the photograph As head can take the best facial image not being elongated, so as to promote the best facial image for taking and not being elongated Efficiency.
Example IV
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Wherein, scheme Wearable device shown in 6 is that wearable device as shown in Figure 5 optimizes.Wearable device shown in fig. 6 removes Except all components including wearable device shown in fig. 5, further includes:
Second detection unit 505 is the screen and horizontal plane of wearable device for the testing result in detection unit 501 When vertical, detect camera camera lens end face whether with horizontal plane;
Unit 502 is adjusted, is also used in the camera lens end face and level that the testing result of second detection unit 505 is camera When the out of plumb of face, camera lens end face and the horizontal plane of camera are automatically adjusted.
As an alternative embodiment, detection unit 501 detects camera in wearable device shown in Fig. 6 Camera lens end face whether the mode with horizontal plane specifically:
Whether the axial line of detection camera is parallel to the horizontal plane, if the axial line of camera is parallel to the horizontal plane, determines Out the camera lens end face of camera whether with horizontal plane;If the axial line of camera is not parallel with horizontal plane, determine to image The camera lens end face of head and horizontal plane out of plumb;Wherein, the axial line of camera is vertical with the camera lens end face of camera.
As an alternative embodiment, in wearable device shown in Fig. 6, the first judging unit 503 includes:
Subelement 5031 is measured, for measuring two nostril lateral borders from the face preview image that camera captures Distance value a;And bridge of the nose length b is measured from the face preview image that camera captures;
Computation subunit 5032, for calculating the ratio value a/b of distance value a Yu bridge of the nose length b;
Judgment sub-unit 5033, for judging that ratio value a/b is adapted with designated ratio value, if so, determining camera The face preview image captured is the best face preview image not being elongated;Wherein, designated ratio value is previously according to not The distance values of two nostril lateral borders of the best facial image being elongated and the ratio value of bridge of the nose length are arranged.
As an alternative embodiment, in wearable device shown in Fig. 6, wearable device further include:
Acquiring unit 506, for after shooting unit 505 obtains the best facial image not being elongated, acquisition can be worn Wear the present position of equipment;
Second judgment unit 507, for judging it is preset whether the present position of wearable device is located at wearable device Allow for best facial image to be uploaded in the specified region of cloud platform;
Communication unit 508, being for the judging result in second judgment unit 507 will include best facial image when being It is uploaded to cloud platform with the user information of present position, so that cloud platform extracts face characteristic from best facial image, and by Best facial image is stored the specified region being located to face characteristic and present position while corresponding user's face by cloud platform Memory space.
Wherein, implement wearable device described in Fig. 6, carried out certainly in the wearable device that wearer lifts weared on wrist When clapping preview, wearable device can automatically adjust the shooting angle of its camera, to reach optimal shooting effect, so that taking the photograph As head can take the best facial image not being elongated, so as to promote the best facial image for taking and not being elongated Efficiency.
In addition, implementing wearable device described in Fig. 6, most beautiful woman can be realized based on face characteristic and specified region The cloud storage of face image, to the occupancy in cloud storage space when so as to advantageously reduce best facial image progress cloud storage Rate.
Embodiment five
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Such as Fig. 7 institute Show, which may include:
It is stored with the memory 701 of executable program code;
The processor 702 coupled with memory 701;
Wherein, processor 702 calls the executable program code stored in memory 701, executes described by Fig. 1 or Fig. 2 Method.
The embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein the computer Program makes computer execute method described in Fig. 1 or Fig. 2.
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 be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of storing data.
Above to a kind of image pickup method and wearable device progress based on wearable device disclosed by the embodiments of the present invention It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Explanation be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion in this specification Appearance should not be construed as limiting the invention.

Claims (10)

1. a kind of image pickup method based on wearable device, which is characterized in that the described method includes:
When the wearable device that wearer lifts weared on wrist carries out self-timer preview, the wearable device utilizes sensing Device detect the wearable device screen whether with horizontal plane;
If the screen of the wearable device and horizontal plane out of plumb, the camera end of the wearable device automatic adjustment camera Face and horizontal plane;Wherein, the screen side of the wearable device is arranged in the camera;
The wearable device judges whether the face preview image that the camera captures is the best face not being elongated Preview image obtains the best face not being elongated if so, shooting to the best face preview image not being elongated Image.
2. image pickup method according to claim 1, which is characterized in that if the screen of the wearable device and horizontal plane hang down Directly, the method also includes:
The wearable device detect the camera camera lens end face whether with horizontal plane, if the camera lens of the camera End face and horizontal plane out of plumb execute camera lens end face and the horizontal plane of the automatic adjustment camera.
3. image pickup method according to claim 2, which is characterized in that the wearable device detects the mirror of the camera End surface whether with horizontal plane, comprising:
Whether the axial line that the wearable device detects the camera is parallel to the horizontal plane, if the axial line of the camera Be parallel to the horizontal plane, determine the camera camera lens end face whether with horizontal plane;If the axial line of the camera It is not parallel with horizontal plane, determine camera lens end face and the horizontal plane out of plumb of the camera;Wherein, the axle center of the camera Line is vertical with the camera lens end face of the camera.
4. image pickup method according to claim 1,2 or 3, which is characterized in that the wearable device judges the camera shooting Whether the face preview image that head captures is the best face preview image not being elongated, comprising:
The wearable device measures the distance of two nostril lateral borders from the face preview image that the camera captures Value a;
And the wearable device measures bridge of the nose length b from the face preview image that the camera captures;
And the wearable device calculates the ratio value a/b of distance value a and bridge of the nose length b;
And the wearable device judges that the ratio value a/b is adapted with designated ratio value, wearable sets if so, described It is standby to determine that the face preview image that the camera captures is the best face preview image not being elongated;Wherein, described Designated ratio value is the distance value and bridge of the nose length previously according to two nostril lateral borders of the best facial image not being elongated Ratio value is arranged.
5. image pickup method according to claim 4, which is characterized in that it is described obtain the best facial image that is not elongated it Afterwards, the method also includes:
The wearable device obtains the present position of the wearable device;
It is preset fair that the wearable device judges whether the present position of the wearable device is located at the wearable device Perhaps best facial image is uploaded in the specified region of cloud platform, if so, the wearable device will include the most beautiful woman Face image and the user information of the present position are uploaded to cloud platform, so that the cloud platform is mentioned from the best facial image Face characteristic is taken out, and is stored the best facial image to the face characteristic and the present position by the cloud platform The specified region being located at while corresponding user's face memory space.
6. a kind of wearable device characterized by comprising
Detection unit utilizes sensing when the wearable device for lifting weared on wrist in wearer carries out self-timer preview Device detect the wearable device screen whether with horizontal plane;
Unit is adjusted, is the screen and horizontal plane out of plumb of the wearable device for the testing result in the detection unit When, automatically adjust camera lens end face and the horizontal plane of camera;Wherein, the wearable device is arranged in the camera Screen side;
First judging unit, for judging whether the face preview image that the camera captures is the most beautiful woman not being elongated Face preview image;
Shooting unit is when being, to the best face not being elongated for the judging result in first judging unit Preview image is shot, and the best facial image not being elongated is obtained.
7. wearable device according to claim 6, which is characterized in that the wearable device further include:
Second detection unit is hung down for screen and horizontal plane that the testing result in the detection unit is the wearable device When straight, detect the camera camera lens end face whether with horizontal plane;
The adjusting unit is also used in camera lens end face and the water that the testing result of the second detection unit is the camera When plane out of plumb, camera lens end face and the horizontal plane of camera are automatically adjusted.
8. wearable device according to claim 7, which is characterized in that the first detection unit detects the camera Camera lens end face whether the mode with horizontal plane specifically:
Whether the axial line for detecting the camera is parallel to the horizontal plane, if the axial line of the camera is parallel to the horizontal plane, Determine the camera camera lens end face whether with horizontal plane;If the axial line of the camera and horizontal plane are uneven Row determines camera lens end face and the horizontal plane out of plumb of the camera;Wherein, the axial line of the camera and the camera shooting The camera lens end face of head is vertical.
9. according to wearable device described in claim 6,7 or 8, which is characterized in that first judging unit includes:
Subelement is measured, measures two noses from the face preview image that the camera captures for the wearable device The distance value a of hole lateral border;And bridge of the nose length b is measured from the face preview image that the camera captures;
Computation subunit, for calculating the ratio value a/b of distance value a Yu bridge of the nose length b;
Judgment sub-unit, for judging that the ratio value a/b is adapted with designated ratio value, if so, determining the camera The face preview image captured is the best face preview image not being elongated;Wherein, the designated ratio value is preparatory root It is arranged according to the distance value of two nostril lateral borders of the best facial image not being elongated and the ratio value of bridge of the nose length.
10. wearable device according to claim 9, which is characterized in that the wearable device further include:
Acquiring unit, for obtaining described wearable after the shooting unit obtains the best facial image not being elongated The present position of equipment;
Second judgment unit, for judging it is preset whether the present position of the wearable device is located at the wearable device Allow for best facial image to be uploaded in the specified region of cloud platform;
Communication unit, for the judging result in the second judgment unit be when, will include the best facial image and The user information of the present position is uploaded to cloud platform, so that the cloud platform extracts face from the best facial image Feature, and the best facial image is stored into the institute being located to the face characteristic and the present position by the cloud platform State specified region corresponding user's face memory space simultaneously.
CN201810986000.1A 2018-08-28 2018-08-28 Shooting method based on wearable device and wearable device Active CN109104570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810986000.1A CN109104570B (en) 2018-08-28 2018-08-28 Shooting method based on wearable device and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810986000.1A CN109104570B (en) 2018-08-28 2018-08-28 Shooting method based on wearable device and wearable device

Publications (2)

Publication Number Publication Date
CN109104570A true CN109104570A (en) 2018-12-28
CN109104570B CN109104570B (en) 2021-06-25

Family

ID=64851569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810986000.1A Active CN109104570B (en) 2018-08-28 2018-08-28 Shooting method based on wearable device and wearable device

Country Status (1)

Country Link
CN (1) CN109104570B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166693A (en) * 2019-06-20 2019-08-23 广东小天才科技有限公司 Image acquisition method and image acquisition system
CN110177241A (en) * 2019-04-08 2019-08-27 广东小天才科技有限公司 Posture adjustment method of wearable device and wearable device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859369A (en) * 2009-04-08 2010-10-13 华晶科技股份有限公司 Face partition method
CN101867730A (en) * 2010-06-09 2010-10-20 马明 Multimedia integration method based on user trajectory
US20110099199A1 (en) * 2009-10-27 2011-04-28 Thijs Stalenhoef Method and System of Detecting Events in Image Collections
CN102224500A (en) * 2008-09-24 2011-10-19 法国电信公司 Content classification utilizing a reduced description palette to simplify content analysis
CN102521253A (en) * 2011-11-17 2012-06-27 西安交通大学 Visual multi-media management method of network users
CN102724402A (en) * 2012-06-08 2012-10-10 中兴通讯股份有限公司 Shooting device as well as processing method and processing device of shooting image
CN103369214A (en) * 2012-03-30 2013-10-23 华晶科技股份有限公司 An image acquiring method and an image acquiring apparatus
CN103577537A (en) * 2013-09-24 2014-02-12 上海交通大学 Image sharing website picture-oriented multi-pairing similarity determining method
CN104080045A (en) * 2013-03-30 2014-10-01 百度在线网络技术(北京)有限公司 Photo uploading method and device based on location technology
CN105468149A (en) * 2015-11-19 2016-04-06 广东小天才科技有限公司 Method and system for controlling camera to carry out rotation shooting and smart watch
CN106161184A (en) * 2015-03-30 2016-11-23 重庆邮电大学 Method for message interaction and instant communication server and communication system
CN106713728A (en) * 2015-11-12 2017-05-24 任伟 Method and system for enhancing scenic spot photographing information
CN107103593A (en) * 2017-04-26 2017-08-29 广东小天才科技有限公司 Picture shooting optimization method and device
CN107798354A (en) * 2017-11-16 2018-03-13 腾讯科技(深圳)有限公司 A kind of picture clustering method, device and storage device based on facial image

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102224500A (en) * 2008-09-24 2011-10-19 法国电信公司 Content classification utilizing a reduced description palette to simplify content analysis
CN101859369A (en) * 2009-04-08 2010-10-13 华晶科技股份有限公司 Face partition method
US20110099199A1 (en) * 2009-10-27 2011-04-28 Thijs Stalenhoef Method and System of Detecting Events in Image Collections
CN101867730A (en) * 2010-06-09 2010-10-20 马明 Multimedia integration method based on user trajectory
CN102521253A (en) * 2011-11-17 2012-06-27 西安交通大学 Visual multi-media management method of network users
CN103369214A (en) * 2012-03-30 2013-10-23 华晶科技股份有限公司 An image acquiring method and an image acquiring apparatus
CN102724402A (en) * 2012-06-08 2012-10-10 中兴通讯股份有限公司 Shooting device as well as processing method and processing device of shooting image
CN104080045A (en) * 2013-03-30 2014-10-01 百度在线网络技术(北京)有限公司 Photo uploading method and device based on location technology
CN103577537A (en) * 2013-09-24 2014-02-12 上海交通大学 Image sharing website picture-oriented multi-pairing similarity determining method
CN106161184A (en) * 2015-03-30 2016-11-23 重庆邮电大学 Method for message interaction and instant communication server and communication system
CN106713728A (en) * 2015-11-12 2017-05-24 任伟 Method and system for enhancing scenic spot photographing information
CN105468149A (en) * 2015-11-19 2016-04-06 广东小天才科技有限公司 Method and system for controlling camera to carry out rotation shooting and smart watch
CN107103593A (en) * 2017-04-26 2017-08-29 广东小天才科技有限公司 Picture shooting optimization method and device
CN107798354A (en) * 2017-11-16 2018-03-13 腾讯科技(深圳)有限公司 A kind of picture clustering method, device and storage device based on facial image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177241A (en) * 2019-04-08 2019-08-27 广东小天才科技有限公司 Posture adjustment method of wearable device and wearable device
CN110166693A (en) * 2019-06-20 2019-08-23 广东小天才科技有限公司 Image acquisition method and image acquisition system

Also Published As

Publication number Publication date
CN109104570B (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN101341515B (en) Computer-based facial paralysis assessment
US9202121B2 (en) Liveness detection
WO2019120115A1 (en) Facial recognition method, apparatus, and computer apparatus
KR100840021B1 (en) Method and system for recognizing face of person included in digital data by using feature data
CN106210902B (en) A kind of cameo shot clipping method based on barrage comment data
CN104537389B (en) Face identification method and device
US7916903B2 (en) Personal identification device, personal identification method, updating method for identification dictionary data, and updating program for identification dictionary data
CN109740491A (en) A kind of human eye sight recognition methods, device, system and storage medium
CN104143086B (en) Portrait compares the application process on mobile terminal operating system
CN105426723A (en) Voiceprint identification, face identification and synchronous in-vivo detection-based identity authentication method and system
CN108875452A (en) Face identification method, device, system and computer-readable medium
CN101482919A (en) Face collation apparatus
CN104471589A (en) Patient interface identification system
KR20080042009A (en) Image processing apparatus, image processing method, person identification apparatus, and method and program of producing/updating dictionary data in person identification apparatus
CN108968905A (en) Method, apparatus, system and the computer readable storage medium to give a test of one's eyesight
WO2017177259A1 (en) System and method for processing photographic images
CN106529379A (en) Method and device for recognizing living body
CN108921125A (en) Sitting posture detection method and wearable device
CN109104570A (en) Shooting method based on wearable device and wearable device
CN110175990A (en) Quality of human face image determination method, device and computer equipment
CA3050456C (en) Facial modelling and matching systems and methods
CN112037788B (en) Voice correction fusion method
CN107911643A (en) Show the method and apparatus of scene special effect in a kind of video communication
CN107748765A (en) A kind of personnel's library generating method and system
CN108520512A (en) A kind of method and device measuring eye parameter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant