CN107169042A - A kind of method, device and the computer-readable recording medium of shared picture - Google Patents
A kind of method, device and the computer-readable recording medium of shared picture Download PDFInfo
- Publication number
- CN107169042A CN107169042A CN201710271998.2A CN201710271998A CN107169042A CN 107169042 A CN107169042 A CN 107169042A CN 201710271998 A CN201710271998 A CN 201710271998A CN 107169042 A CN107169042 A CN 107169042A
- Authority
- CN
- China
- Prior art keywords
- user
- facial image
- good friend
- picture
- target facial
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
Abstract
The disclosure is directed to a kind of method, device and the computer-readable recording medium of shared picture, belong to field of Internet communication.Methods described includes:Obtain the picture shot;Target facial image in the picture determine personage that the target facial image belongs to whether be user good friend;If the good friend of the user, the picture is sent to the good friend of the user.The disclosure can improve the efficiency of shared picture.
Description
Technical field
This disclosure relates to field of Internet communication, more particularly to a kind of method of shared picture, device and computer-readable
Storage medium.
Background technology
With the development of terminal technology, many terminals all have camera function at present, and user can be shot with using terminal to be shone
Piece.For example, with the development of mobile phone technique, current mobile phone substantially has camera function, and user is usually carried out using mobile phone
Take pictures.
Sometimes user's using terminal to its good friend shoot obtaining picture, because the picture includes the image of the good friend,
So user may want the picture to share to its good friend.When shared, user can be opened with finding the good friend in social networking application
The chat interface of the good friend, the picture is sent by the chat interface to the good friend.
The content of the invention
In order to improve the efficiency of shared picture, the embodiment of the present disclosure provides a kind of method, device and the meter of shared picture
Calculation machine readable storage medium storing program for executing.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure there is provided a kind of method of shared picture, methods described includes:
Obtain the picture shot;
Target facial image in the picture determines whether the personage that the target facial image belongs to is user
Good friend;
If the good friend of the user, the picture is sent to the good friend of the user.
Optionally, the target facial image in the picture determines the personage that the target facial image belongs to
Whether be user good friend, including:
Obtain the face photograph album of the good friend of the user;
The facial image of the good friend of the user is obtained from the face photograph album;
The target facial image and the facial image are carried out into recognition of face to compare;
If compare out the target facial image belongs to same personage with the facial image, it is determined that the target person
The personage that face image belongs to is the good friend of the user.
Optionally, the target facial image in the picture determines the personage that the target facial image belongs to
Whether be user good friend, including:
Obtain the head portrait of the good friend of the user;
The target facial image and the head portrait are carried out into recognition of face to compare;
If compare out the target facial image belongs to same personage with the head portrait, it is determined that the target face figure
As the good friend that the personage belonged to is the user.
Optionally, the good friend to the user sends the picture, including:
The first prompt message is sent to the good friend of the user, the first configured information is for pointing out the good friend of the user
It is no to need the picture of the shooting;
Receive first configured information it is corresponding confirm response when, show the second prompt message to the user,
Second prompt message is used to point out whether the user allows the good friend that the picture is shared with to the user;
It is described detect that second prompt message is corresponding to confirm order when, send described to the good friend of the user
Picture.
Optionally, methods described also includes:
Obtain shared face photograph album;
Facial image unnamed in the shared face photograph album is named according to the face photograph album being locally stored.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of device of shared picture, described device includes:
First acquisition module, is configured as obtaining the picture shot;
Determining module, is configured as the target facial image in the picture and determines that the target facial image belongs to
Personage whether be user good friend;
Sending module, goes out for the good friend of the user if being configured as the determining module, to the good friend of the user
Send the picture.
Optionally, the determining module, is configured as obtaining the face photograph album of the good friend of the user;From the face phase
The facial image of the good friend of the user is obtained in volume;The target facial image and the facial image are subjected to recognition of face
Compare;If compare out the target facial image belongs to same personage with the facial image, it is determined that the target face
The personage that image belongs to is the good friend of the user.
Optionally, the determining module, is configured as obtaining the head portrait of the good friend of the user;By the target face figure
Compared as carrying out recognition of face with the head portrait;If compare out the target facial image belongs to same people with the head portrait
Thing, it is determined that the personage that the target facial image belongs to is the good friend of the user.
Optionally, the sending module, is configured as sending the first prompt message to the good friend of the user, first indicates
Information is used to point out whether the good friend of the user needs the picture of the shooting;Receiving the first configured information correspondence
Confirmation response when, show the second prompt message to the user, the second prompt message is for pointing out whether the user allows
The picture is shared with to the good friend of the user;It is described detect second prompt message it is corresponding confirm order when,
The picture is sent to the good friend of the user.
Optionally, described device also includes:
Second acquisition module, is configured as obtaining shared face photograph album;
Module is named, is configured as naming unnamed in the shared face photograph album according to the face photograph album being locally stored
Facial image.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of device of shared picture, including:
Processor;
For the memory for the executable instruction for storing the processor;
Wherein, the processor is configured as:
Obtain the picture shot;
Target facial image in the picture determines whether the personage that the target facial image belongs to is user
Good friend;
If the good friend of the user, the picture is sent to the good friend of the user.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of computer-readable recording medium, calculating is stored thereon with
Machine programmed instruction, the programmed instruction realizes first aspect methods described when being executed by processor the step of.
The technical scheme that the embodiment of the present disclosure is provided can include the following benefits:
By obtaining the picture shot, the target facial image in the picture determines the people that target facial image belongs to
Thing whether be user good friend;If the good friend of user, the picture shot is sent to the good friend of user.So, when shooting
As soon as during to pictures, judge whether the picture belongs to the good friend of user immediately, if it is, the picture is shared into the good of user
Friend, so as to improve sharing efficiency.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of the method for shared picture according to an exemplary embodiment;
Fig. 2-1 is a kind of flow chart of the method for name facial image according to another exemplary embodiment;
Fig. 2-2 is a kind of picture schematic diagram according to an exemplary embodiment;
Fig. 2-3 is a kind of picture schematic diagram according to another exemplary embodiment;
Fig. 3 is a kind of flow chart of the method for name facial image according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of the method for shared picture according to an exemplary embodiment;
Fig. 5-1 is a kind of block diagram of the device of shared picture according to an exemplary embodiment;
Fig. 5-2 is the block diagram of the device of another shared picture according to an exemplary embodiment;
Fig. 6 is the block diagram of the device of another shared picture according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings
It is not intended to limit the scope that the disclosure is conceived by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Referring to Fig. 1, Fig. 1 is that the embodiment of the present disclosure provides a kind of method of shared picture, and methods described includes:
In a step 101:Obtain the picture shot.
In a step 102:Target facial image in the picture determines whether is personage that target facial image belongs to
For the good friend of user.
In step 103:If the good friend of user, the picture shot is sent to the good friend of user.
In the present embodiment, by obtaining the picture shot, the target facial image in the picture determines target person
The personage that face image belongs to whether be user good friend;If the good friend of user, the picture shot is sent to the good friend of user.
So, as soon as when shooting obtains pictures, judging whether the picture belongs to the good friend of user immediately, if it is, by the picture
The good friend of user is shared to, so as to improve sharing efficiency.
The embodiment of the present disclosure provides a kind of method for naming facial image, the executive agent of this method can for terminal or
Server, terminal can be mobile phone, tablet personal computer, notebook computer or desktop computer etc..Referring to Fig. 2-1, this method includes:
In step 201, the first picture is obtained, the first picture includes the first face figure of the first personage to be named.
Optionally, the first picture can be the picture in the face photograph album of the first user.The face photograph album of first user is
First user carries out the good new face photograph album of automatic taxonomic revision to its picture.The face photograph album of first user includes same personage
Picture, the facial image in every pictures that now the face photograph album of the first user includes is all unnamed.
This step can be:A picture to be named is selected from the face photograph album of the first user, for convenience of description
The picture of selection is called the first picture, and the first picture includes at least one facial image to be named, the first of the first personage
Facial image is any one facial image to be named in the first picture.
For example, obtaining the first picture as shown in Fig. 2-2, the first picture includes the first facial image A, and in Fig. 2-2 institutes
The first facial image A is unnamed state in the first picture shown.
The executive agent of the present embodiment can be that terminal can also be server;When for terminal, terminal is used to first
The automatic taxonomic revision of picture at family obtains performing this step during the face photograph album of the first user;When for server, server connects
The picture for the first user that terminal is sent is received, the first user's obtained to the automatic taxonomic revision of picture of the first user of reception
Face photograph album, then performs this step.
In step 202.:Obtain face photograph album.
The face photograph album can be the face photograph album of the good friend of the first user.
This step can be:User's mark of the good friend of the first user is obtained, is marked according to the user of the good friend of the first user
Know, the face photograph album of the good friend of the first user is obtained from server.
The address list of the first user can be all preserved in server and terminal, the address list includes the good friend's of the first user
User identifies.Server will also maintain user's mark of the other users communicated with the first user.Server will also maintain use
Family identifies the corresponding relation with face photograph album.
When the executive agent of the present embodiment is terminal, the implementation process of this step can be:
User's mark of the good friend of the first user is obtained in the address list that terminal can be preserved from itself, and from server
The middle user's mark for inquiring about the other users communicated with the first user, the first use is also served as by user's mark of the other users
User's mark of the good friend at family;According to the user of each good friend of the first user identify, from server preserve user mark with
The face photograph album of each good friend of the first user is obtained in the corresponding relation of face photograph album;Or, according to the part of the first user
User's mark of good friend, people of the user's mark preserved from server with obtaining part good friend in the corresponding relation of face photograph album
Face photograph album.
When the executive agent of the present embodiment is server, the implementation process of this step can be:
Server obtains the address list of the first user, and user's mark of the good friend of the first user is obtained from the address list;
User's mark of the other users communicated with the first user preserved is obtained, the users of other users mark is also served as the
User's mark of the good friend of one user;Identified according to the user of each good friend of the first user, from user's mark of preservation and people
The face photograph album of each good friend of the first user is obtained in the corresponding relation of face photograph album;Or, it is good according to the part of the first user
User's mark of friend, obtains the face photograph album of part good friend from user's mark of preservation and the corresponding relation of face photograph album.
In step 203:Obtain the facial image named that face photograph album includes.
The face photograph album of face photograph album, the i.e. good friend include an at least pictures, for every pictures, the pictures bag
At least one facial image is included, the good friend of the first user may be named to the facial image in advance, so in the pictures
The title for having facial image may be marked.
For example, with reference to the pictures in the face photograph album of the good friend of the first user shown in Fig. 2-3, the picture includes
Facial image B, it is assumed that facial image B name nominating is in advance " Jack " by the good friend of the first user, and shown in Fig. 2-3
Picture in, title " Jack " is marked at facial image B lower section.
This step can be:The denominative face figure of mark is searched out from every pictures of the face photograph album of the good friend
Picture, that is, search out the facial image named.For example, the facial image for being marked with title " Jack " can be found out from Fig. 2-3
B, i.e. facial image B are the facial image named.
In step 204:Recognition of face is carried out to the first facial image and the facial image named to compare, and is being compared out
When first facial image belongs to same personage with the facial image named, the facial image named is defined as the first personage
The second facial image.
Specifically, for the every facial image named, by the first facial image and the facial image named
Recognition of face comparison is carried out, if comparing out the facial image that both are same personage, for convenience of description, claims what this had been named
The facial image is the second facial image of the first personage.
Compared for example, the first facial image A and facial image B that has named is carried out into recognition of face, and compare out the
The one facial image A and facial image B named belongs to same personage, so facial image B is referred to as into the second of the first personage
Facial image.
In step 205:It is the first facial image with the name nominating of the second facial image.
For example, the first facial image A title is named with the second facial image B title " Jack ", then such as Fig. 2-4 institutes
Show, entitled " Jack " of the first facial image of mark A in the first picture.
In the disclosed embodiments, (it is the face phase of the first user when the first user sorts out a new face photograph album
Volume) when, the first facial image of the first personage included for the face photograph album of the first user passes through the good friend from the first user
Face photograph album in obtain the second facial image of the first personage named, the name nominating with the second facial image is the first
Face image, helps the first user to be named to facial image so as to automatic, improves name efficiency, increases Consumer's Experience.
Referring to Fig. 3, the embodiment of the present disclosure provides a kind of method for naming facial image, and this method can apply in reality
After the method for applying example 2, the executive agent of this method can be terminal or server, including:
In step 301:Obtain shared face photograph album.
When second user is when to the first users to share face photograph album, the terminal to server of second user sends shared ask
Ask, the sharing request includes the shared face photograph album of second user and user's mark of the first user.
When the executive agent of the present embodiment is server, server receives the sharing request, is obtained from the sharing request
Take shared face photograph album.
When the executive agent of the present embodiment is terminal, terminal receives first that the server includes according to the sharing request
The sharing request of user's mark forwarding of user, obtains shared face photograph album from the sharing request.
Shared face photograph album includes at least one facial image, and somebody's face image may be labeled with title, have
Facial image may not marked without labeled title or each facial image.
In step 302:According to face figure unnamed in the shared face photograph album of the face photograph album name being locally stored
Picture.
This step can be realized by following 3021 and 3022 flow, including:
3021:The unnamed facial image that shared facial image photograph album is included and the face photograph album bag being locally stored
The facial image named included carries out recognition of face comparison, if unnamed facial image and the facial image category named
In same personage, then 3022 are performed.
This step can be to obtain the face photograph album of the first user, the face photograph album of the first user is the people being locally stored
Face photograph album, obtains the facial image named from the face photograph album of the first user, will be unnamed in shared face photograph album
Facial image carry out recognition of face with every facial image having named respectively and compare, if comparing out unnamed face figure
As belonging to same personage with certain facial image named, then 3022 are performed.
For the operation for the face photograph album for obtaining the first user, when the executive agent of the present embodiment is server, service
The user's mark for the first user that device can include according to the sharing request, from user's mark and the face photograph album itself preserved
The first face photograph album of the first user is obtained in corresponding relation.
When the executive agent of the present embodiment is terminal, terminal can be identified according to the user of the first user, from server
Face photograph album of the user's mark of preservation with inquiring about the first user in the corresponding relation of face photograph album.
3022:With the unnamed facial image of the name nominating for the facial image named.
, wherein it is desired to which explanation is:Some of shared face photograph album picture includes the facial image named, so
The shared face photograph album also includes correspondence in configuration file, the configuration file and saves what is named in shared face photograph album
The picture identification of picture where the title of each facial image, the facial image and the position in the picture.
Optionally, the present embodiment can also add its corresponding name to the facial image named in shared face photograph album
Claim, implementation process can be:
For each facial image named in shared face photograph album, the facial image is obtained from configuration file
The picture identification of picture where title, the facial image and the position in the picture;In the corresponding picture of the picture identification
In and add at the position title of the facial image.
In the disclosed embodiments, can be according to the face phase of the first user when second user shares its face photograph album
Unnamed facial image is named in the automatic face photograph album shared to second user of volume, and first is helped so as to automatic
User names to facial image, improves name efficiency, increases Consumer's Experience.
Referring to Fig. 4, the embodiment of the present disclosure provides a kind of method of shared picture, and this method is applied to when the first user claps
When taking the photograph the picture of its good friend, the picture is shared into its good friend, the executive agent of this method can be terminal, terminal can be with
For mobile phone, tablet personal computer etc..Detailed implementation can include:
In step 401:The picture shot is obtained, the picture of the shooting includes facial image.
The image that the picture of acquisition can shoot for the first user.First user can use its terminal-pair, and other people are clapped
Take the photograph and obtain picture.When the camera of terminal, which is shot, obtains picture, the picture of terminal taking is obtained, the picture includes other people
Facial image.
In step 402:Determine personage that target facial image belongs to whether be the first user good friend, target face figure
It seem the facial image in the picture.
Attend class to identify facial image from the picture, extract the facial image identified as target facial image.
Target facial image can be one or more.
This step can have following two ways to realize, including:
First way:Obtain the face photograph album of the good friend of the first user;For any good friend, from the face phase of the good friend
The facial image of the good friend is obtained in volume, target facial image and the progress recognition of face of the facial image of the good friend are compared;Such as
Fruit compares out target facial image and the facial image of the good friend belongs to same personage, it is determined that the people that target facial image belongs to
Thing is the good friend.
Optionally, obtaining the operation of the face photograph album of the good friend of the first user can be:
User's mark of each good friend of the first user is obtained from terminal local address list, according to the user of each good friend
Mark, face photograph album of the user's mark preserved from server with obtaining each good friend in the corresponding relation of face photograph album.
Because every facial image in the face photograph album of good friend is typically the facial image of good friend itself, so when shooting
Target facial image and the facial image of good friend when belonging to same personage, it may be determined that target facial image is the good friend
Facial image, you can determine that the personage that target facial image belongs to is the good friend.
The second way:Obtain the head portrait of the good friend of the first user;It is for any good friend, target facial image is good with this
The head portrait of friend carries out recognition of face comparison;If comparing out target facial image and the head portrait of the good friend belonging to same personage,
Determine that the personage that target facial image belongs to is the good friend.
The associated person information of each good friend of the first user, the contact of good friend are often saved in the address list of first user
People's information includes user's mark, name and head portrait of the good friend etc..
Optionally, obtaining the operation of the head portrait of the good friend of the first user can be:Obtained from the address list of the first user
The head portrait of each good friend of first user.
The head portrait of good friend is typically the auto heterodyne picture of good friend, and the auto heterodyne picture frequently includes the facial image of user itself,
Target facial image and the head portrait of the good friend belong to same personage, it may be determined that target facial image is the face figure of the good friend
Picture, you can determine that the personage that target facial image belongs to is the good friend.
In step 403:If some good friend of the first user, user's mark of the good friend is obtained.
Optionally, when the target facial image and the facial image of some good friend of the user of shooting belong to same personage
When, the corresponding user's mark of face photograph album where obtaining the facial image of the good friend, the user is designated user's mark of the good friend
Know.Or, when the head portrait of target facial image and the good friend belongs to same personage, obtain the contact where the head portrait of the good friend
People's information, the user that the associated person information includes the good friend is identified, and user's mark of the good friend is obtained from the associated person information.
In step 404:Identified according to the user of the good friend and captured picture is sent to the good friend.
When actually realizing, the first prompt message first can be sent to the good friend, the first configured information is used to point out this good
Friendly first user have taken the picture of the good friend and point out whether the good friend needs the picture;If the good friend needs the picture,
The second prompt message then is shown to the first user, the second prompt message is used to point out whether the first user allows to share in the picture
Give the good friend;When the first user allows to be shared with the good friend, the picture of the shooting is sent to the good friend.
In the present embodiment, by obtaining the picture that the first user shoots, the picture of the shooting includes target facial image;
According to target facial image determine personage that target facial image belongs to whether be the first user good friend;If the first user
Good friend, to the first user good friend send shoot picture.So, as soon as when shooting obtains pictures, judging immediately should
Whether picture belongs to the good friend of the first user, if it is, the picture to be shared to the good friend of the first user, so as to improve shared effect
Rate.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.It is real for disclosure device
The details not disclosed in example is applied, method of disclosure embodiment is refer to.
Fig. 5-1 is a kind of device 500 of shared picture according to an exemplary embodiment, and described device 500 includes:
First acquisition module 501, is configured as obtaining the picture shot;
Determining module 502, is configured as determining what target facial image belonged to according to the target facial image in the picture
Personage whether be user good friend;
Sending module 503, is configured as if it is determined that module 502 goes out the good friend for user, to good friend's transmission institute of user
State picture.
Have a variety of for the implementation of determining module 502, realized for example, providing following two in the present embodiment:
Optionally, determining module 502, are configured as obtaining the face photograph album of the good friend of user;Obtained from the face photograph album
Take the facial image of the good friend at family;Target facial image and the facial image are carried out into recognition of face to compare;If compared out
Target facial image belongs to same personage with the facial image, it is determined that the personage that target facial image belongs to is good for user's
Friend.
Optionally, determining module 502, are configured as obtaining the head portrait of the good friend of user;By target facial image and the head
As carrying out recognition of face comparison;If compare out target facial image belongs to same personage with the head portrait, it is determined that target face
The personage that image belongs to is the good friend of user.
Optionally, example is realized in the one kind for present embodiments providing sending module 503, the example is as follows:
For example, sending module 503, is configured as sending the first prompt message to the good friend of user, the first configured information is used
The picture for whether needing to shoot in the good friend of prompting user;Receive the first configured information it is corresponding confirm response when, Xiang Yong
Family shows the second prompt message, and the second prompt message is used for the good friend for prompting the user whether to allow to be shared with the picture into user;
Detect the second prompt message it is corresponding confirm order when, send the picture to the good friend of user.
Optionally, the device 500 also includes:
Second acquisition module 504, is configured as obtaining shared face photograph album;
Module 505 is named, is configured as according to unnamed in the shared face photograph album of the face photograph album name being locally stored
Facial image.
In the present embodiment, by obtaining the picture shot, the target facial image in the picture determines target person
The personage that face image belongs to whether be user good friend;If the good friend of user, the picture shot is sent to the good friend of user.
So, as soon as when shooting obtains pictures, judging whether the picture belongs to the good friend of user immediately, if it is, by the picture
The good friend of user is shared to, so as to improve sharing efficiency.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is a kind of block diagram of the device 600 of shared picture according to an exemplary embodiment.For example, device 600
Can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices,
Body-building equipment, personal digital assistant etc..
Reference picture 6, device 600 can include following one or more assemblies:Processing assembly 602, memory 604, power supply
Component 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of input/output (I/O), sensor cluster 614, and
Communication component 616.
The integrated operation of the usual control device 600 of processing assembly 602, such as with display, call, data communication, phase
Machine operates the operation associated with record operation.Processing assembly 602 can refer to including one or more processors 620 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 602 can include one or more modules, just
Interaction between processing assembly 602 and other assemblies.For example, processing assembly 602 can include multi-media module, it is many to facilitate
Interaction between media component 608 and processing assembly 602.
Memory 604 is configured as storing various types of data supporting the operation in device 600.These data are shown
Example includes the instruction of any application program or method for being operated on device 600, and contact data, telephone book data disappears
Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of device 600.Power supply module 606 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 600.
Multimedia groupware 608 is included in the screen of one output interface of offer between described device 600 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers
Body component 608 includes a front camera and/or rear camera.When device 600 be in operator scheme, such as screening-mode or
During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and
Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 610 is configured as output and/or input audio signal.For example, audio-frequency assembly 610 includes a Mike
Wind (MIC), when device 600 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 604 or via communication set
Part 616 is sent.In certain embodiments, audio-frequency assembly 610 also includes a loudspeaker, for exports audio signal.
I/O interfaces 612 is provide interface between processing assembly 602 and peripheral interface module, above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 614 includes one or more sensors, and the state for providing various aspects for device 600 is commented
Estimate.For example, sensor cluster 614 can detect opening/closed mode of device 600, the relative positioning of component is for example described
Component is the display and keypad of device 600, and sensor cluster 614 can be with 600 1 components of detection means 600 or device
Position change, the existence or non-existence that user contacts with device 600, the orientation of device 600 or acceleration/deceleration and device 600
Temperature change.Sensor cluster 614 can include proximity transducer, be configured to detect in not any physical contact
The presence of neighbouring object.Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In certain embodiments, the sensor cluster 614 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device
600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 616 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 616 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 600 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 604 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 620 of device 600.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 600
When device is performed so that device 600 is able to carry out a kind of method of shared picture, and methods described includes:
Obtain the picture shot;
Target facial image in the picture determines whether the personage that the target facial image belongs to is user
Good friend;
If the good friend of the user, the picture is sent to the good friend of the user.
Optionally, the target facial image in the picture determines the personage that the target facial image belongs to
Whether be user good friend, including:
Obtain the face photograph album of the good friend of the user;
The facial image of the good friend of the user is obtained from the face photograph album;
The target facial image and the facial image are carried out into recognition of face to compare;
If compare out the target facial image belongs to same personage with the facial image, it is determined that the target person
The personage that face image belongs to is the good friend of the user.
Optionally, the target facial image in the picture determines the personage that the target facial image belongs to
Whether be user good friend, including:
Obtain the head portrait of the good friend of the user;
The target facial image and the head portrait are carried out into recognition of face to compare;
If compare out the target facial image belongs to same personage with the head portrait, it is determined that the target face figure
As the good friend that the personage belonged to is the user.
Optionally, the good friend to the user sends the picture, including:
The first prompt message is sent to the good friend of the user, the first configured information is for pointing out the good friend of the user
It is no to need the picture of the shooting;
Receive first configured information it is corresponding confirm response when, show the second prompt message to the user,
Second prompt message is used to point out whether the user allows the good friend that the picture is shared with to the user;
It is described detect that second prompt message is corresponding to confirm order when, send described to the good friend of the user
Picture.
Optionally, methods described also includes:
Obtain shared face photograph album;
Facial image unnamed in the shared face photograph album is named according to the face photograph album being locally stored.
In the present embodiment, by obtaining the picture shot, the target facial image in the picture determines target person
The personage that face image belongs to whether be user good friend;If the good friend of user, the picture shot is sent to the good friend of user.
So, as soon as when shooting obtains pictures, judging whether the picture belongs to the good friend of user immediately, if it is, by the picture
The good friend of user is shared to, so as to improve sharing efficiency.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (12)
1. a kind of method of shared picture, it is characterised in that methods described includes:
Obtain the picture shot;
Target facial image in the picture determines whether the personage that the target facial image belongs to is the good of user
Friend;
If the good friend of the user, the picture is sent to the good friend of the user.
2. the method as described in claim 1, it is characterised in that the target facial image in the picture determines institute
State personage that target facial image belongs to whether be user good friend, including:
Obtain the face photograph album of the good friend of the user;
The facial image of the good friend of the user is obtained from the face photograph album;
The target facial image and the facial image are carried out into recognition of face to compare;
If compare out the target facial image belongs to same personage with the facial image, it is determined that the target face figure
As the good friend that the personage belonged to is the user.
3. the method as described in claim 1, it is characterised in that the target facial image in the picture determines institute
State personage that target facial image belongs to whether be user good friend, including:
Obtain the head portrait of the good friend of the user;
The target facial image and the head portrait are carried out into recognition of face to compare;
If compare out the target facial image belongs to same personage with the head portrait, it is determined that the target facial image category
In personage be the user good friend.
4. the method as described in any one of claims 1 to 3 claim, it is characterised in that the good friend to the user
The picture is sent, including:
The first prompt message is sent to the good friend of the user, the first configured information is used to point out whether the good friend of the user needs
Want the picture of the shooting;
Receive first configured information it is corresponding confirm response when, show the second prompt message, second to the user
Prompt message is used to point out whether the user allows the good friend that the picture is shared with to the user;
It is described detect that second prompt message is corresponding to confirm order when, send the figure to the good friend of the user
Piece.
5. the method as described in any one of claims 1 to 3 claim, it is characterised in that methods described also includes:
Obtain shared face photograph album;
Facial image unnamed in the shared face photograph album is named according to the face photograph album being locally stored.
6. a kind of device of shared picture, it is characterised in that described device includes:
First acquisition module, is configured as obtaining the picture shot;
Determining module, is configured as the target facial image in the picture and determines the people that the target facial image belongs to
Thing whether be user good friend;
Sending module, goes out for the good friend of the user if being configured as the determining module, is sent to the good friend of the user
The picture.
7. device as claimed in claim 6, it is characterised in that
The determining module, is configured as obtaining the face photograph album of the good friend of the user;Institute is obtained from the face photograph album
State the facial image of the good friend of user;The target facial image and the facial image are carried out into recognition of face to compare;If
Compare out the target facial image and belong to same personage with the facial image, it is determined that what the target facial image belonged to
Personage is the good friend of the user.
8. device as claimed in claim 6, it is characterised in that
The determining module, is configured as obtaining the head portrait of the good friend of the user;By the target facial image and the head
As carrying out recognition of face comparison;If compare out the target facial image belongs to same personage with the head portrait, it is determined that institute
State the good friend that the personage that target facial image belongs to is the user.
9. the device as described in any one of claim 6 to 8 claim, it is characterised in that
The sending module, is configured as sending the first prompt message to the good friend of the user, the first configured information is used to carry
Whether show the good friend of the user needs the picture of the shooting;Receiving, first configured information is corresponding to confirm response
When, the second prompt message is shown to the user, the second prompt message is used to point out whether the user allows the picture
It is shared with the good friend of the user;It is described detect second prompt message it is corresponding confirm order when, to the user
Good friend send the picture.
10. the device as described in any one of claim 6 to 8 claim, it is characterised in that described device also includes:
Second acquisition module, is configured as obtaining shared face photograph album;
Module is named, is configured as naming people unnamed in the shared face photograph album according to the face photograph album being locally stored
Face image.
11. a kind of device of shared picture, it is characterised in that including:
Processor;
For the memory for the executable instruction for storing the processor;
Wherein, the processor is configured as:
Obtain the picture shot;
Target facial image in the picture determines whether the personage that the target facial image belongs to is the good of user
Friend;
If the good friend of the user, the picture is sent to the good friend of the user.
12. a kind of computer-readable recording medium, is stored thereon with computer program instructions, it is characterised in that the programmed instruction
The step of any one of claim 1-5 methods described is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710271998.2A CN107169042B (en) | 2017-04-24 | 2017-04-24 | Method and device for sharing pictures and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710271998.2A CN107169042B (en) | 2017-04-24 | 2017-04-24 | Method and device for sharing pictures and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107169042A true CN107169042A (en) | 2017-09-15 |
CN107169042B CN107169042B (en) | 2021-01-26 |
Family
ID=59813302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710271998.2A Active CN107169042B (en) | 2017-04-24 | 2017-04-24 | Method and device for sharing pictures and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107169042B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110222567A (en) * | 2019-04-30 | 2019-09-10 | 维沃移动通信有限公司 | A kind of image processing method and equipment |
CN111901896A (en) * | 2020-07-14 | 2020-11-06 | 维沃移动通信有限公司 | Information sharing method, information sharing device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202173A (en) * | 2010-03-23 | 2011-09-28 | 三星电子(中国)研发中心 | Photo automatically naming method and device thereof |
CN103414814A (en) * | 2013-08-16 | 2013-11-27 | 北京小米科技有限责任公司 | Picture processing method and device and terminal device |
US20160070809A1 (en) * | 2005-04-08 | 2016-03-10 | Marshall Feature Recognition Llc | System and method for accessing electronic data via an image search engine |
CN105872193A (en) * | 2015-12-08 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Method and device for sharing wallpaper picture, and mobile terminal |
-
2017
- 2017-04-24 CN CN201710271998.2A patent/CN107169042B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160070809A1 (en) * | 2005-04-08 | 2016-03-10 | Marshall Feature Recognition Llc | System and method for accessing electronic data via an image search engine |
CN102202173A (en) * | 2010-03-23 | 2011-09-28 | 三星电子(中国)研发中心 | Photo automatically naming method and device thereof |
CN103414814A (en) * | 2013-08-16 | 2013-11-27 | 北京小米科技有限责任公司 | Picture processing method and device and terminal device |
CN105872193A (en) * | 2015-12-08 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Method and device for sharing wallpaper picture, and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110222567A (en) * | 2019-04-30 | 2019-09-10 | 维沃移动通信有限公司 | A kind of image processing method and equipment |
CN111901896A (en) * | 2020-07-14 | 2020-11-06 | 维沃移动通信有限公司 | Information sharing method, information sharing device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107169042B (en) | 2021-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104780155B (en) | Apparatus bound method and device | |
CN105095873A (en) | Picture sharing method and apparatus | |
CN106331761A (en) | Live broadcast list display method and apparatuses | |
CN104639972B (en) | The method, apparatus and equipment of a kind of sharing contents | |
CN106231378A (en) | The display packing of direct broadcasting room, Apparatus and system | |
CN104112119A (en) | Face identification-based communication method and apparatus | |
CN105468767A (en) | Method and device for acquiring calling card information | |
CN104636453A (en) | Illegal user data identification method and device | |
CN105847111A (en) | Method and device for adding friend | |
CN107204883A (en) | Network failure processing method and device | |
CN105530167A (en) | Method and device for setting group name card | |
CN107423386A (en) | Generate the method and device of electronic card | |
CN105095868A (en) | Picture matching method and apparatus | |
CN106096009A (en) | Method for generating message and device | |
CN105515923A (en) | Equipment control method and device | |
CN106027361B (en) | Information display method and device | |
CN104715007A (en) | User identification method and device | |
CN106453774A (en) | Method and apparatus for displaying contact information | |
CN105704322A (en) | Weather information obtaining method and apparatus | |
CN105472132A (en) | Contact management method and contact management device | |
CN104780256A (en) | Address book management method and device and intelligent terminal | |
CN104539497A (en) | Network connecting method and device | |
CN105245681B (en) | Label addition method and device | |
CN105682187B (en) | Icon display method and device | |
CN107819836A (en) | The remapping method and device of facility information |
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 |