CN110009646A - A kind of generation method of electron album, device, electronic equipment and storage medium - Google Patents

A kind of generation method of electron album, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110009646A
CN110009646A CN201910300157.9A CN201910300157A CN110009646A CN 110009646 A CN110009646 A CN 110009646A CN 201910300157 A CN201910300157 A CN 201910300157A CN 110009646 A CN110009646 A CN 110009646A
Authority
CN
China
Prior art keywords
image
electron album
face
album
template
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
CN201910300157.9A
Other languages
Chinese (zh)
Other versions
CN110009646B (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.)
God Blessed Polytron Technologies Inc
Original Assignee
God Blessed Polytron Technologies Inc
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 God Blessed Polytron Technologies Inc filed Critical God Blessed Polytron Technologies Inc
Priority to CN201910300157.9A priority Critical patent/CN110009646B/en
Publication of CN110009646A publication Critical patent/CN110009646A/en
Application granted granted Critical
Publication of CN110009646B publication Critical patent/CN110009646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of generation method of electron album, device, electronic equipment and storage mediums, are related to technical field of image processing, this method comprises: obtaining target image set;Facial image is screened from target image set;Determine that face fills image according to facial image;Image, which is filled, according to face generates electron album.It is poor relative to the photograph album stability filled automatically at present, manual operation speed is low, and the embodiment of the present invention can screen facial image from target image set, determines that face fills image from facial image, and then charging error when avoiding filling automatically, improve the reliability that electron album automatically generates;Image is finally filled according to face and generates electron album, automatic filling is realized, improves electron album formation speed.

Description

A kind of generation method of electron album, device, electronic equipment and storage medium
Technical field
The present embodiments relate to image processing techniques more particularly to a kind of electron album generation method, device, electronics to set Standby and storage medium.
Background technique
Electron album refers to that can be watched on computers is different from the special document of the static picture of CD/VCD, content It is not limited to photography photo, also may include various artistic creation pictures.
At present when making electron album, usually using Adobe Photoshop as figure tool is repaired, designer starts to make It before making an electron album, needs to prepare a large amount of materials, every photo is adjusted to form a psd file.It has made Picture is added in photograph album template by Cheng Hou manually.If will appear dimension of picture in photo and template using Automatic Typesetting The problems such as not corresponding to, the case where causing photo to malfunction when inserting template.
But this mode needs manual operation more, the formation speed of electron album is lower.It is then missed using Automatic Typesetting Rate is higher, and stability is poor.
Summary of the invention
The present invention provides generation method, device, electronic equipment and the storage medium of a kind of electron album, to improve electronics phase The formation speed and stability of volume.
In a first aspect, the embodiment of the invention provides a kind of generation methods of electron album, comprising:
Obtain target image set;
Facial image is screened from target image set;
Determine that face fills image according to facial image;
Image, which is filled, according to face generates electron album.
Further, facial image is screened from target image set, comprising:
The target image being successively read in target image set;
According to the label information of target image, judge whether target image is facial image;Label information is mark target The information of picture material.
Further, determine that face fills image according to facial image, comprising:
At least one facial contour information is determined according to facial image;
Determine that cropped area, cropped area include at least one facial contour information according at least one facial contour information Corresponding image-region;
Determine that face fills image according to cropped area.
Further, cropped area is the circumscribed rectangular area of at least one corresponding image-region of facial contour information.
Further, image is filled according to face and generates electron album, comprising:
Cloud is accessed by the chained address that photograph album software for editing provides;
Electron album template is obtained from cloud;
Face is filled into other image completions in image and target image set to electron album template;
By the user storage space of filled electron album storage to cloud.
Further, after filling image according to face and generating electron album, further includes:
Obtain the evaluation information of electron album template;
Evaluation information is sent to cloud.
Further, before obtaining electron album template from cloud, further includes:
Obtain the electron album template of user's production;
Electron album template is sent to cloud.
Further, after filling image according to face and generating electron album, further includes:
The adjustment instruction of user's input is received, adjustment instruction is for being adjusted the graphics primitive object in electron album;
The electron album generated according to adjustment instruction adjustment.
Second aspect, the embodiment of the invention also provides a kind of generating means of electron album, comprising:
Module is obtained, for obtaining target image set;
Facial image screening module, for screening facial image from the target image set for obtaining module acquisition;
Image determining module is filled, the facial image for screening according to facial image screening module determines face blank map Picture;
Generation module, the face filling image for being determined according to filling image determining module generate electron album.
The third aspect the embodiment of the invention also provides a kind of electronic equipment, including memory, processor and is stored in On memory and the computer program that can run on a processor, processor realize the electricity as shown in first aspect when executing program The generation method of sub- photograph album.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the generation method of the electron album as shown in first aspect when the program is executed by processor.
Generation method, device, electronic equipment and the storage medium of electron album provided in an embodiment of the present invention obtain target Image collection;Facial image is screened from target image set;Determine that face fills image according to facial image;It is filled according to face Image generates electron album.Poor relative to the photograph album stability filled automatically at present, manual operation speed is low, the embodiment of the present invention Facial image can be screened from target image set, determine that face fills image from facial image, and then avoid filling out automatically Charging error when filling improves the reliability that electron album automatically generates;Image is finally filled according to face and generates electron album, it is real Now automatic filling, improves electron album formation speed.
Detailed description of the invention
Fig. 1 is the flow chart of the generation method of an electron album in the embodiment of the present invention;
Fig. 2 is the flow chart of the generation method of another electron album in the embodiment of the present invention;
Fig. 3 is the flow chart of the generation method of another electron album in the embodiment of the present invention;
Fig. 4 is the data memory system architecture schematic diagram of one of embodiment of the present invention electron album;
Fig. 5 is one of embodiment of the present invention evaluation information feedback schematic diagram;
Fig. 6 is the structural schematic diagram of the generating means of an electron album in the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the generating means of another electron album in the embodiment of the present invention;
Fig. 8 is the structural schematic diagram of an electronic equipment in the embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
At present when making electron album, usually using Adobe Photoshop as figure tool is repaired, designer starts to make It before making an electron album, needs to prepare a large amount of materials, every photo is adjusted to form a psd file.It has made Picture is added in photograph album template by Cheng Hou manually.If will appear dimension of picture in photo and template using Automatic Typesetting The problems such as not corresponding to, the case where causing photo to malfunction when inserting template.But this mode needs manual operation more, electricity The formation speed of sub- photograph album is lower.Using Automatic Typesetting, then error rate is higher, and stability is poor.
Inventor is in practice, it has been found that current electron album when filling image, when especially filling facial image, holds Easily image is directly filled into the picture region of electron album template.At this time, in fact it could happen that image adapts to template picture region The scheme that size zooms in and out possibly can not clearly see face clearly after scaling to the case where group photo, and typesetting effect is poor.Meanwhile It is likely to occur the more mechanical scheme for cutting facial image using picture region, destroys photo integrality.
The embodiment of the invention provides a kind of generation methods of electron album, can be when generating electron album, by machine Automatically facial image is identified, when determining that face fills image from facial image, and then guaranteeing filling facial image Guarantee the integrality and clarity of facial image, improves the reliability that electron album generates.Being executed automatically by machine can save User's operation reduces the time that user repairs figure manually, improves the formation speed of electron album.Concrete scheme is as follows:
Fig. 1 is the flow chart of the generation method of electron album provided in an embodiment of the present invention, and the present embodiment is applicable to make The case where making electron album, this method can be executed by electronic equipment, and electronic equipment includes personal computer, notebook electricity Brain, tablet computer, smart phone etc., this method specifically comprises the following steps:
Step S110, target image set is obtained.
Target image set can be imported by user.User shoots to obtain photo by equipment such as mobile phone or digital cameras Afterwards, photo shooting obtained is stored to media library.When generating electron album, the photograph of user can be exported from media library Piece.User can choose the picture for expecting to be added to electron album, and the picture of user's selection is combined as target image set.
Step S120, facial image is screened from target image set.
The picture that target image set includes may include facial image and other images, other images include landscape figure Picture, night scene image, still life image etc..
In one implementation, the target image being successively read in target image set;According to the label of target image Information judges whether target image is facial image;Label information is the information for identifying target image content.
User can be marked target image in selected target image in selected target image collection, label After form label information.Mark information includes people tag, scenery label, still life label, night scene label etc..When execution step When S120, the label information of each target image is read, if label information is face label, determines target image for face Image.
In addition to being marked for target image when selected target image combines, target image set can also generated Afterwards, when importing target road image collection, the photo in target image set is marked.
Further, when target image is marked, handmarking can be carried out by user.It can also be with to target Image carries out recognition of face, if being identified in the target image there are face, the label of face label is added for target image Information.
Carrying out handmarking by user can be improved the accuracy of label information, be identified by machine by face recognition algorithms Face can save user's operation, improve image processing speed.
Step S130, determine that face fills image according to facial image.
After determining facial image, identify that face fills image from facial image.It is from people that face, which fills image, Truncated picture in face image, the image is for being filled into the template of electron album.
Specifically, as shown in Fig. 2, step 130 can be implemented by following manner:
Step S131, at least one facial contour information is determined according to facial image.
Identify that whole facial contour information, facial contour information may include the face of each task in facial image The marginal point coordinate of image-region.It can be based on skin color model human face region, color color difference is then based on and determines human face region Boundary obtains facial contour information.Facial image can also be input in the neural network through overfitting, it is defeated by neural network Out in facial image each face profile information.
Step S132, determine that cropped area, cropped area include at least one people according at least one facial contour information The corresponding image-region of face profile information.
In one implementation, judge whether whole faces in facial image are located at face according to facial contour information In the half range figure of figure, if be located in half range figure, using the half range figure where whole faces as cropped area, interception should be partly Part other than width figure.If whether whole faces in facial image are located in two half range figures of face figure, basis The determination cropped area of facial contour information.Optionally, all images filling template can be obtained from electron album template Dimension information searches matched image completion template according to the dimension information of facial image.The area of the filling graph template is big Area in the circumscribed rectangular area of the corresponding image-region of facial contour information.Further, by area and circumscribed rectangle region Area of the cotton knot for the image completion template that the area in domain is close as cropped area, determines in facial image according to the area Cropped area.
It in another implementation, will an at least face profile information after getting whole facial contour information The circumscribed rectangular area of corresponding image-region is as cropped area, so that face accounting highest in cropped area, Jin Ergeng Add and clearly embodies face.
Step S133, determine that face fills image according to cropped area.
The picture material that cropped area is read from facial image fills image as face.
Step 140 fills image generation electron album according to face.
It is searched from electron album and fills the matched image completion template of image with face, after facial image is filled, obtained To the electron album of face.Further, in addition to facial image further includes other images in target image set, by other images It is filled into electron album template with before face filling image, generates electron album.
In a usage scenario, Step 1: user imports photo;Step 2: detection photo type;Step 3: if It is portrait photographs, then enters recognition of face process;Step 4: the human face photo outline data recognized is saved in photo member Library;Step 5: doing a combination zone detection to the region of photo face when Automatic Typesetting, facial contour region is obtained Circumscribed rectangle;Step 6: finally cutting position outside human face region, the purpose for avoiding cutting key message is realized;Step 7: from After dynamic typesetting, works are manually verified again, to unsatisfied position manual correction.
The generation method of electron album provided in an embodiment of the present invention, first acquisition target image set;Then, from target Image collection screens facial image, determines that face fills image according to facial image;Finally, filling image according to face generates electricity Sub- photograph album.Poor relative to the photograph album stability filled automatically at present, manual operation speed is low, and the embodiment of the present invention can be from target Facial image is screened in image collection, filling misses when determining that face fills image from facial image, and then avoiding filling automatically Difference improves the reliability that electron album automatically generates;Image is finally filled according to face and generates electron album, realization is filled out automatically It fills, improves electron album formation speed.
Fig. 3 is the flow chart of the generation method of electron album provided in an embodiment of the present invention, as to above-described embodiment It further illustrates, comprising:
Step S210, target image set is obtained.
Step S220, facial image is screened from target image set.
Step S230, determine that face fills image according to facial image.
Step S240, cloud is accessed by the chained address that photograph album software for editing provides.
Photograph album software for editing can be the X10 image design software of our company's exploitation, provide through the embodiment of the present invention Method can access cloud server by X10 image design software.Storage is by cloud template library in cloud server.
Fig. 4 is a kind of data memory system architecture schematic diagram of electron album provided in an embodiment of the present invention, including cloud Template library 401, local template library 402, native product library 403, user picture 404 and local works 405.Wherein, cloud mould Plate library 401 can be used for all user sharings, be provided by platform supplier is unified.
After local template library 402 downloads cloud template including user, and optimize, set adjusted.Wherein, excellent After change and adjustment refer to that user downloads certain electron album template by cloud template library 401, voluntarily to the electron album template The operation that middle picture filling region, the position of text box or icon or content are modified.Native product library 403, Yong Huzhao Piece 404 and local works 405 are stored on the electronic equipment of user's operation.Native product library 403 includes the customized number of pages of user Or the nonstandard product of size, i.e. the customized electron album finished product of user.User picture 404 include software development electron album it Before, the photographic material imported by user, including facial image and inhuman face image.Local works 405 are by template and photo It constitutes, can be an assembly of user picture 404 and template intention.
After user downloads X10 image design software, login username may have access to cloud server.Cloud server is It registers user and many electron album templates is provided.
Step S250, electron album template is obtained from cloud.
After cloud server is accessed, user may be selected some loyal and righteous template and be downloaded, and then make electronic equipment Obtain electron album template.
Step S260, face is filled into other image completions in image and target image set to electron album mould Plate.
Step S270, filled electron album is stored to the user storage space to cloud.
User can send cloud server for the electron album of oneself and store after generating electron album. Cloud server can establish certain memory space for each user, to provide the remote storage function of electron album for user Energy.At this point, user is not necessarily to by modes such as USB flash disks carry electron album, can be accessed by network after cloud server to electronics Photograph album is downloaded, and improves ease for use.
Further, after step S140, according to face filling image generation electron album, further includes:
Obtain the evaluation information of electron album template;Evaluation information is sent to cloud.
Evaluation information can be fed back to cloud after using some electron album template by user, so that cloud statistics is each The evaluation information of electron album template.After cloud statistical appraisal information, pushing away for electron album template can be determined according to evaluation information Recommend sequence.Specifically, cloud server is that each electron album template configuration one thumbs up button, user can be to favorite electricity Sub- photograph album is thumbed up.Quantity is thumbed up by what statistics electron album template obtained, the evaluation letter of electron album template can be obtained Breath.As shown in figure 5, electron album template can be sent to cloud server after creating electron album template by designer.User After electron album template, by thumbing up form feedback effects.Optionally, evaluation information can also include evaluation star, example Implementation of such as 1 star to 5 stars.Optionally, evaluation information can also be user comment mode, and user can be to electron album mould The evaluation information of plate input picture and text form.
Correspondingly, cloud template library can sort by frequency of use and pouplarity after getting evaluation information, realize Frequency of use and pouplarity sequence.
In a usage scenario, designer is published to cloud after test of drawing a design in the good template of local software design. Then, official template column of the user in software, browsing select the template oneself liked, locally downloading template library, if needed It modifies, template can be opened again and finely tuned, it is no to then be used directly template to make autograph book works.Finally, the process used Middle user can thumb up template according to the favorable rating to template, or cancel and praise to do and feed back, and the feedback of user can be with It allows and the user's acquisition one for changing template is not used with reference to score, to decide whether to select these templates.
The generation method of electron album provided in an embodiment of the present invention can provide a variety of different electricity by cloud for user Sub- photograph album template, user can feed back electron album template after use.
Further, step S250, before obtaining electron album template from cloud, further includes:
Obtain the electron album template of user's production;Electron album template is sent to cloud.
If electron album template provided by the cloud of X10 image design software is not that user is favorite, user Electron album template then can be sent to cloud with self manufacture electron album template.At this point, the electron album template, both It is possibly stored in the memory space of user oneself.It, can also be by the electron album of user's upload on the basis of user agrees to Template is supplied to other users, and then can further increase information diversity, improves user experience.
Further, after step S140, according to face filling image generation electron album, further includes:
The adjustment instruction of user's input is received, adjustment instruction is for being adjusted the graphics primitive object in electron album;Root The electron album generated according to adjustment instruction adjustment.
User can adjust the graphics primitive object in electron album template according to use demand after downloading electron album It is whole.Graphics primitive object includes image completion pel, text primitive and icon pel etc. in electron album template.
The generation method of electron album provided by the embodiments of the present application, the electron album mould that cloud can be downloaded by user Plate is adjusted, and improves the ease for use of electron album template.
The generation method of electron album provided by the embodiments of the present application can obtain electronics inside X10 image design software Photograph album template, and then do not need using third party website downloads template, and be integrated in inside software, save the operation of user Time makes user experience obtain very high raising, by thumbing up function, designer is allowed to recognize the original need in user and market It asks, can be designed that more welcome template in this way.During realization, firstly, by common thousands of electronics phase Volume template is uniformly stored in cloud by the well-chosen of designer, and built-in entrance is in design software.User is using Before, it can be checked immediately by the preview window, after use, and can be the template " thumbing up " liked, the evaluation for collecting out, Template can be selected as advisory opinion for other users.
Meanwhile when importing user picture, face on automatic identification photo marks face location.Automatically it is arranging When version, position is cut according to face location adjustment, avoids being cut to human face region.Using human face detection tech, allow automatic Layout algorithm is more efficient, more fool, even does nothing, after clicking button, the works that typesetting comes out, and satisfaction 90% has been basically reached, the cumbersome process that adjustment photo cuts position is eliminated.Based on this demand of user's " saving photo from damage ", When Automatic Typesetting, the photo frame size of template is adjusted, can show the full content of user picture, by finely tuning template, Reach this demand, improves ease for use.
Fig. 6 is a kind of structural schematic diagram of the generating means of electron album provided in an embodiment of the present invention, which can be with On electronic equipment, electronic equipment includes personal computer, laptop, tablet computer, smart phone etc., the device packet It includes and obtains module 31, facial image screening module 32, filling image determining module 33 and generation module 34.
Module 31 is obtained, for obtaining target image set;
Facial image screening module 32, for screening facial image from the target image set for obtaining the acquisition of module 31;
Image determining module 33 is filled, the facial image for screening according to facial image screening module 32 determines that face is filled out Fill image;
Generation module 34, the face filling image for being determined according to filling image determining module 33 generate electron album.
Further, facial image screening module 32 is used for:
The target image being successively read in target image set;
According to the label information of target image, judge whether target image is facial image;Label information is mark target The information of picture material.
Further, filling image determining module 33 is used for:
At least one facial contour information is determined according to facial image;
Determine that cropped area, cropped area include at least one facial contour information according at least one facial contour information Corresponding image-region;
Determine that face fills image according to cropped area.
Further, cropped area is the circumscribed rectangular area of at least one corresponding image-region of facial contour information.
Further, generation module 34 is used for:
Cloud is accessed by the chained address that photograph album software for editing provides;
Electron album template is obtained from cloud;
Face is filled into other image completions in image and target image set to electron album template;
By the user storage space of filled electron album storage to cloud.
Further, as shown in fig. 7, further including evaluation module 35, communication module 36 and adjustment module 37.
Wherein, evaluation module 35 is used for: obtaining the evaluation information of electron album template;Evaluation information is sent to cloud.
Communication module 36 is used for: obtaining the electron album template of user's production;Electron album template is sent to cloud.
Adjustment module 37 is used for: receiving the adjustment instruction of user's input, adjustment instruction is used for the pel in electron album Object is adjusted;The electron album generated according to adjustment instruction adjustment.
The generating means of electron album provided in an embodiment of the present invention obtain module 31 and obtain target image set;Face Optical sieving module 32 screens facial image from target image set;Filling image determining module 33 determines people according to facial image Face fills image;Generation module 34 fills image according to face and generates electron album.It is steady relative to the photograph album filled automatically at present Qualitative difference, manual operation speed is low, and the embodiment of the present invention can screen facial image from target image set, from facial image Middle determining face fills image, and then charging error when avoiding filling automatically, improves the reliability that electron album automatically generates;Most Image is filled according to face afterwards and generates electron album, automatic filling is realized, improves electron album formation speed.
Method provided by the executable aforementioned all embodiments of the present invention of above-mentioned apparatus, it is corresponding to have the execution above method Functional module and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the aforementioned all implementations of the present invention Method provided by example.
Fig. 8 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.Fig. 8, which is shown, to be suitable for being used to realizing The block diagram of the electronic equipment 312 of embodiment of the present invention.The electronic equipment 312 that Fig. 8 is shown is only an example, should not be to this The function and use scope of inventive embodiments bring any restrictions.Equipment 312 is typically the individual for editing electronic photograph album Computer, tablet computer, tablet computer or smart mobile phone.
As shown in figure 8, electronic equipment 312 is showed in the form of universal computing device.The component of electronic equipment 312 can wrap Include but be not limited to: one or more processor 316, storage device 328 connect different system components (including storage device 328 With processor 316) bus 318.
Bus 318 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (Industry Standard Architecture, ISA) bus, microchannel architecture (Micro Channel Architecture, MCA) bus, enhancing Type isa bus, electronic multimedia Standard Association (Video Electronics Standards Association, VESA) office Domain bus and peripheral component interconnection (Peripheral Component Interconnect, PCI) bus.
Electronic equipment 312 typically comprises a variety of computer system readable media.These media can be it is any can be by The usable medium that electronic equipment 312 accesses, including volatile and non-volatile media, moveable and immovable medium.
Storage device 328 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (Random Access Memory, RAM) 330 and/or cache memory 332.Electronic equipment 312 can be into one Step includes other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, it stores System 334 can be used for reading and writing immovable, non-volatile magnetic media (Fig. 8 do not show, commonly referred to as " hard disk drive "). Although being not shown in Fig. 8, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, And to removable anonvolatile optical disk (such as CD-ROM (Compact Disc-Read Only Memory, CD-ROM), Digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical mediums) read-write light Disk drive.In these cases, each driver can pass through one or more data media interfaces and 318 phase of bus Even.Storage device 328 may include at least one program product, which has one group of (for example, at least one) program mould Block, these program modules are configured to perform the function of various embodiments of the present invention.
Program 336 with one group of (at least one) program module 326, can store in such as storage device 328, this The program module 326 of sample includes but is not limited to operating system, one or more application program, other program modules and program It may include the realization of network environment in data, each of these examples or certain combination.Program module 326 usually executes Function and/or method in embodiment described in the invention.
Electronic equipment 312 can also be (such as keyboard, sensing equipment, camera, aobvious with one or more external equipments 314 Show device 324 etc.) communication, the equipment interacted with the electronic equipment 312 can be also enabled a user to one or more to be communicated, and/ Or (such as network interface card is adjusted with any equipment for enabling the electronic equipment 312 to be communicated with one or more of the other calculating equipment Modulator-demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 322.Also, electronic equipment 312 Can also by network adapter 320 and one or more network (such as local area network (Local Area Network, LAN), Wide area network Wide Area Network, WAN) and/or public network, such as internet) communication.As shown, network adapter 320 are communicated by bus 318 with other modules of electronic equipment 312.It should be understood that although not shown in the drawings, can be in conjunction with electricity Sub- equipment 312 uses other hardware and/or software module, including but not limited to: microcode, device driver, redundancy processing are single Member, external disk drive array, disk array (Redundant Arrays of Independent Disks, RAID) system, Tape drive and data backup storage system etc..
The program that processor 316 is stored in storage device 328 by operation, thereby executing various function application and number According to processing, such as realize the generation method of electron album provided by the above embodiment of the present invention.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey The generation method of the electron album as provided by the embodiment of the present invention is realized when sequence is executed by processor.
Certainly, a kind of computer readable storage medium provided by the embodiment of the present invention, the computer program stored thereon The method operation being not limited to the described above, can also be performed the tune of eyeball tracking sensor provided by any embodiment of the invention Relevant operation in section method.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (11)

1. a kind of generation method of electron album characterized by comprising
Obtain target image set;
Facial image is screened from the target image set;
Determine that face fills image according to the facial image;
Image, which is filled, according to the face generates electron album.
2. the generation method of electron album according to claim 1, which is characterized in that described from the target image set Screen facial image, comprising:
The target image being successively read in the target image set;
According to the label information of the target image, judge whether the target image is facial image;The label information is Identify the information of the target image content.
3. the generation method of electron album according to claim 1, which is characterized in that described true according to the facial image Determine face filling image, comprising:
At least one facial contour information is determined according to the facial image;
Determine that cropped area, the cropped area include at least one described face according at least one described facial contour information The corresponding image-region of profile information;
Determine that face fills image according to the cropped area.
4. the generation method of electron album according to claim 3, which is characterized in that the cropped area be it is described at least The circumscribed rectangular area of the corresponding image-region of one face profile information.
5. the generation method of electron album according to claim 1, which is characterized in that described according to the face blank map As generating electron album, comprising:
Cloud is accessed by the chained address that photograph album software for editing provides;
Electron album template is obtained from the cloud;
The face is filled into other image completions in image and target image set to the electron album template;
By the user storage space of filled electron album storage to cloud.
6. the generation method of electron album according to claim 5, which is characterized in that filling image according to the face After generation electron album, further includes:
Obtain the evaluation information of the electron album template;
The evaluation information is sent to cloud.
7. the generation method of electron album according to claim 6, which is characterized in that obtaining electron album mould from cloud Before plate, further includes:
Obtain the electron album template of user's production;
The electron album template is sent to cloud.
8. the generation method of electron album described in any one of -7 according to claim 1, which is characterized in that according to the people Face is filled after image generation electron album, further includes:
The adjustment instruction of user's input is received, adjustment instruction is for being adjusted the graphics primitive object in electron album;
The electron album generated according to adjustment instruction adjustment.
9. a kind of generating means of electron album characterized by comprising
Module is obtained, for obtaining target image set;
Facial image screening module, the target image set for obtaining from the acquisition module screen facial image;
Image determining module is filled, the facial image for screening according to the facial image screening module determines that face is filled out Fill image;
Generation module, the face filling image for being determined according to the filling image determining module generate electron album.
10. a kind of electronic equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes such as electronics described in any one of claims 1-8 when executing described program The generation method of photograph album.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The generation method such as electron album described in any one of claims 1-8 is realized when execution.
CN201910300157.9A 2019-04-15 2019-04-15 Electronic album generation method and device, electronic equipment and storage medium Active CN110009646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910300157.9A CN110009646B (en) 2019-04-15 2019-04-15 Electronic album generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910300157.9A CN110009646B (en) 2019-04-15 2019-04-15 Electronic album generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110009646A true CN110009646A (en) 2019-07-12
CN110009646B CN110009646B (en) 2023-08-18

Family

ID=67171935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910300157.9A Active CN110009646B (en) 2019-04-15 2019-04-15 Electronic album generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110009646B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112215919A (en) * 2020-09-16 2021-01-12 电子科技大学 Electronic photo album generating method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488749A (en) * 2013-09-24 2014-01-01 长沙裕邦软件开发有限公司 Network electronic album display method and system
CN105488156A (en) * 2015-11-30 2016-04-13 广州一刻影像科技有限公司 Method for automatically selecting electronic album template and generating electronic album
CN107437051A (en) * 2016-05-26 2017-12-05 上海市公安局刑事侦查总队 Image processing method and device
CN108108415A (en) * 2017-12-13 2018-06-01 广东欧珀移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN109446893A (en) * 2018-09-14 2019-03-08 百度在线网络技术(北京)有限公司 Face identification method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488749A (en) * 2013-09-24 2014-01-01 长沙裕邦软件开发有限公司 Network electronic album display method and system
CN105488156A (en) * 2015-11-30 2016-04-13 广州一刻影像科技有限公司 Method for automatically selecting electronic album template and generating electronic album
CN107437051A (en) * 2016-05-26 2017-12-05 上海市公安局刑事侦查总队 Image processing method and device
CN108108415A (en) * 2017-12-13 2018-06-01 广东欧珀移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN109446893A (en) * 2018-09-14 2019-03-08 百度在线网络技术(北京)有限公司 Face identification method, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112215919A (en) * 2020-09-16 2021-01-12 电子科技大学 Electronic photo album generating method and electronic equipment

Also Published As

Publication number Publication date
CN110009646B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
CN109618222B (en) A kind of splicing video generation method, device, terminal device and storage medium
CN108415705B (en) Webpage generation method and device, storage medium and equipment
US9881229B2 (en) Apparatus, method and program for image search
JP6316389B2 (en) Portable transmitter apparatus, method, system, and user interface
CN111062871B (en) Image processing method and device, computer equipment and readable storage medium
CN105981368B (en) Picture composition and position guidance in an imaging device
US9407834B2 (en) Apparatus and method for synthesizing an image in a portable terminal equipped with a dual camera
US8856656B2 (en) Systems and methods for customizing photo presentations
CN108270794B (en) Content distribution method, device and readable medium
CN108924440B (en) Sticker display method, device, terminal and computer-readable storage medium
US9781355B2 (en) Mobile terminal and control method thereof for displaying image cluster differently in an image gallery mode
US20130155088A1 (en) Method, apparatus and system for generating an image slideshow
CN109189879A (en) E-book display methods and device
US9799099B2 (en) Systems and methods for automatic image editing
US20080085032A1 (en) Supplying digital images from a collection
CN110246110A (en) Image evaluation method, device and storage medium
CN111862124A (en) Image processing method, device, equipment and computer readable storage medium
US10217224B2 (en) Method and system for sharing-oriented personalized route planning via a customizable multimedia approach
CN111325220B (en) Image generation method, device, equipment and storage medium
US11721051B2 (en) Imaging product selection system
CN110009646A (en) A kind of generation method of electron album, device, electronic equipment and storage medium
US11238622B2 (en) Method of providing augmented reality contents and electronic device therefor
US11232616B2 (en) Methods and systems for performing editing operations on media
CN112015416A (en) Verification method and device for developing webpage, electronic equipment and computer readable medium
US20200389600A1 (en) Environment-driven user feedback for image capture

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