CN110430356A - One kind repairing drawing method and electronic equipment - Google Patents

One kind repairing drawing method and electronic equipment Download PDF

Info

Publication number
CN110430356A
CN110430356A CN201910556247.4A CN201910556247A CN110430356A CN 110430356 A CN110430356 A CN 110430356A CN 201910556247 A CN201910556247 A CN 201910556247A CN 110430356 A CN110430356 A CN 110430356A
Authority
CN
China
Prior art keywords
image
mobile phone
keyword
electronic equipment
repair
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910556247.4A
Other languages
Chinese (zh)
Inventor
钟辉
马晓伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910556247.4A priority Critical patent/CN110430356A/en
Publication of CN110430356A publication Critical patent/CN110430356A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Acoustics & Sound (AREA)
  • Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application provides one kind to repair drawing method and electronic equipment.It include the first image in the first interface this method comprises: showing the first interface;Collect voice signal;All keywords and each keyword for including in identification voice signal are corresponding to repair figure instruction;Keyword is the word that represented object is used in voice signal;Figure instruction is repaired according to the first keyword corresponding first, the region where the first object in the first image is carried out repairing figure;Wherein, the first object is one or more shooting objects associated with the first keyword in the first image;First keyword is any one keyword in all keywords;It shows second contact surface, includes the second image in the second contact surface, second image is the image repaired after figure to the first image.In this way, user can carry out repairing figure by phonetic order to one or more objects in image, facilitate operation, figure efficiency is repaired in raising.

Description

One kind repairing drawing method and electronic equipment
Technical field
This application involves field of terminal technology more particularly to one kind to repair drawing method and electronic equipment.
Background technique
With the progress of terminal technology, various functions are constantly improve in electronic equipment.Wherein, the function of taking pictures in electronic equipment One of higher function of user's frequency of use can be had become.For example, when user travels, when encountering beautiful landscape, Yong Huxi Hope that shooting satisfied image as souvenir or user especially women uses the number of electronic equipment such as mobile phone self-timer to get over Come more.But the not amateur Camera crews of most of user, different technique for taking, therefore, user set portable shooting The demand of standby (for example, by easily operating the equipment that can obtain satisfied image) is growing.
Summary of the invention
The one kind that has been designed to provide of the application repairs drawing method and electronic equipment, and in this method, user can pass through language Sound signal carries out image to repair figure, easy to operate.
Above-mentioned target and other targets will be reached by the feature in independent claims.Further implementation exists It is embodied in dependent claims, the description and the appended drawings.
In a first aspect, the embodiment of the present application, which provides one kind, repairs drawing method, this method can be executed by electronic equipment.This method Include: the first interface of display, includes the first image in first interface;Collect voice signal;Identify the voice signal In include all keywords and each keyword it is corresponding repair figure instruction;The keyword is used in the voice signal In the word of represented object;Figure instruction is repaired according to the first keyword corresponding first, to the first object institute in the first image Region carry out repairing figure;Wherein, first object be in the first image with first keyword associated one A or multiple shooting objects;First keyword is any one keyword in all keywords;Show the second boundary Face includes the second image in the second contact surface, and second image is the image repaired after figure to the first image.
In some embodiments, user can carry out repairing figure by voice signal to one or more objects on image, User-friendly, figure efficiency is repaired in promotion.
In a kind of possible design, before collecting voice signal, electronic equipment can also be detected for described After first operation of the first control in the first interface, start one or more microphones in the electronic equipment;Or institute Electronic equipment is stated in response to showing first interface, the automatic one or more microphones of starting.
In some embodiments, electronic equipment can star one or more microphones (ratio before collected sound signal Such as, under the triggering of input operation, start microphone, alternatively, starting microphone while the first interface of display), acquire sound Signal.Therefore, user can carry out repairing figure by voice signal to one or more objects on image, user-friendly, Figure efficiency is repaired in promotion.
In a kind of possible design, figure instruction is repaired according to first keyword corresponding first, to first figure As the region where the first upper object carries out repairing figure, comprising: repair figure instruction, according to first keyword corresponding first It is determined in user's Xiu Tu style data library and repairs corresponding first image parameter of figure instruction with described first;The user Xiu Tu style It include at least one image parameter in database, wherein right when different images parameter is that user repairs figure using the electronic equipment The image parameter in the region after the different object Xiu Tu on image where the difference object;According to the first image parameter pair Region where first object described in the first image is adjusted.
In some embodiments, electronic equipment can save user's Xiu Tu style data library, user's Xiu Tu style data When image parameter in library is that user repairs figure using electronic equipment, to the figure of the object region after the object Xiu Tu in image As parameter.Electronic equipment can repair the object on an image based on the image parameter in user's Xiu Tu style data library Figure, so repairing in the very maximum probability of the image after figure is to meet the aesthetic image of user, it is user-friendly, prompt user experience.
In a kind of possible design, figure instruction is repaired according to first keyword corresponding first, to first figure As the first upper object region carries out repairing figure, comprising: determine the edge contour of first object;It is closed according to described first Keyword corresponding first repairs figure instruction, to the edge contour area defined of first object in the first image into Row repairs figure.
In the prior art, it when user Xiu Tu, usually uses some region of user's finger on the image and is clicked, slided It is dynamic that operations is waited to repair figure, but the finger of user can not explicitly define the boundary of an object, so to some object Xiu Tu When, often exist and repair that figure is imperfect, alternatively, the case where also repairing figure to other objects except the object.But the application In embodiment, electronic equipment can identify the boundary of each object in the first image, can when carrying out repairing figure to an object It carries out repairing figure with the boundary area defined only to the object, can be realized accurately to some object Xiu Tu's on image Purpose.
In a kind of possible design, electronic equipment can also there is no own with described in determining the first image In keyword when the associated object of any keyword, it is not responding to the voice signal, or output prompt information, the prompt Information is for prompting user to re-enter voice signal.
In some embodiments, electronic equipment is determined in the first image and is not present and keyword phase any in all keywords When associated object, it can be not responding to the voice signal, or output prompt information, help to promote man-machine interaction experience.
In a kind of possible design, electronic equipment can also detect the first operation;It is right in response to first operation The first image and second image should be stored;Wherein, on second image or the corresponding contracting of second image First identifier is set on sketch map, and the first identifier for characterizing second image is obtained after repairing figure to the first image Image.
In some embodiments, electronic equipment can correspond to the first image of storage and the second image (carries out the first image Voice repairs the image obtained after figure).For example, the first mark can be set on the second image or on the corresponding thumbnail of the second image Know, which is to repair the image obtained after figure to the first image for characterizing the second image, to facilitate user to check.
In a kind of possible design, electronic equipment can also detect for the second control in the second contact surface Two operations close one or more of microphones in response to second operation;Second boundary is exited alternatively, detecting Second operation in face closes one or more of microphones in response to second operation.
In some embodiments, one or more microphones in electronic equipment, which may not need, is constantly in open state, For example, detecting the second operation for the second control in second contact surface, or when exiting second contact surface, one can be closed Or multiple microphones, help to save power consumption.
Second aspect, the embodiment of the present application also provide a kind of electronic equipment.The electronic equipment includes display screen, at least one Processor and memory;The memory is for storing one or more computer programs;When one of memory storage Or multiple computer programs are by least one described processor when being executed, so that the electronic equipment can be realized above-mentioned first party The technical solution of face and its any possible design of first aspect.
The third aspect, the embodiment of the present application also provides a kind of electronic equipment, the electronic equipment includes executing above-mentioned the Module/unit of the method for any one possible design of one side or first aspect;These module/units can pass through Hardware realization can also execute corresponding software realization by hardware.
Fourth aspect, the embodiment of the present application also provide a kind of chip, and the chip is coupled with the memory in electronic equipment, For call the computer program stored in memory and execute the embodiment of the present application first aspect and its first aspect is any can The technical solution that can be designed;" coupling " refers to that two components combine directly or indirectly to one another in the embodiment of the present application.
5th aspect, the embodiment of the present application also provide a kind of computer readable storage medium, the computer-readable storage Medium includes computer program, when computer program is run on an electronic device, so that the electronic equipment executes the application The technical solution of embodiment first aspect and its any possible design of first aspect.
In terms of 6th, a kind of program product in the embodiment of the present application, including instruction, when described program product is set in electronics When standby upper operation, so that the electronic equipment executes the embodiment of the present application first aspect and its any possible design of first aspect Technical solution.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram for application scenarios that one embodiment of the application provides;
Fig. 2 is the schematic diagram of the hardware configuration for the mobile phone 100 that one embodiment of the application provides;
Fig. 3 is the schematic diagram of the graphic user interface for the mobile phone 100 that one embodiment of the application provides;
Fig. 4 is the schematic diagram of the graphic user interface for the mobile phone 100 that one embodiment of the application provides;
Fig. 5 is the schematic diagram of the graphic user interface for the mobile phone 100 that one embodiment of the application provides;
Fig. 6 is the schematic diagram of the graphic user interface for the mobile phone 100 that one embodiment of the application provides;
Fig. 7 is the schematic diagram of the graphic user interface for the mobile phone 100 that one embodiment of the application provides;
Fig. 8 is the schematic diagram of the graphic user interface for the mobile phone 100 that one embodiment of the application provides;
Fig. 9 is a kind of flow diagram for repairing drawing method that one embodiment of the application provides;
Figure 10 is the schematic diagram of the graphic user interface for the mobile phone 100 that one embodiment of the application provides;
Figure 11 is the schematic diagram of the software architecture for the mobile phone 100 that one embodiment of the application provides;
Figure 12 is the structural schematic diagram for the electronic equipment that one embodiment of the application provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.
Hereinafter, the part term in the embodiment of the present application is explained, in order to those skilled in the art understand that.
The invention relates to pixel, be the minimum imaging unit on image.One pixel can be with corresponding diagram As a upper coordinate points.Pixel may include a parameter (such as gray scale), be also possible to multiple parameters set (such as ash Degree, brightness, color etc.).If pixel includes a parameter, pixel value is exactly the value of the parameter, if pixel is more The set of a parameter, then pixel value includes the value of each parameter in the set.
The invention relates to image parameter, including brightness, clarity, pixel size (for example, height and/or Width etc.).For example, when electronic equipment repairs figure to image, it can be by the Pixel Dimensions tune in the region where the leg of people in the image It is whole, for example increase the height etc. of the pixel in the region of the leg of people, to realize the effect for elongating the leg of people in image.For another example, It, can be by the dark space (region that brightness is less than threshold value) in the region where the face of people in image when electronic equipment repairs figure to image Brightness increase, to realize the effect of face whitening in image.It should be noted that two examples above-mentioned are to repair every time When figure adjust an image parameter for, in practical applications, electronic equipment to image once repair figure during, adjustment Image parameter can be multiple.
The invention relates to it is multiple, refer to more than or equal to two.It should be noted that in the embodiment of the present application Description in, the vocabulary such as " first ", " second " are only used for distinguishing the purpose of description, be not understood to indicate or imply opposite Importance can not be interpreted as indication or suggestion sequence.
Fig. 1 shows a kind of schematic diagram of application scenarios of one embodiment of the application offer.As shown in Figure 1, user uses Image shot by cell phone, alternatively, user makes a sound signal during user repairs figure using mobile phone, mobile phone collects the sound Signal.Mobile phone can instruct one or more of the image shown to mobile phone based on the figure of repairing for including in the voice signal of acquisition Region where object carries out repairing figure.For example, user issues the voice signal of " leg is elongated a bit ".Mobile phone collects the sound After signal, the region where the object (i.e. leg) in image is elongated.
Therefore, in the embodiment of the present application, during repairing figure, some object on image is manually adjusted without user Image parameter, it is only necessary to user is depicted by way of voice repairs figure intention, and mobile phone can collect voice signal, It identifies that user's repairs figure intention, and then image is carried out to repair figure, obtain meeting the aesthetic image of user, it is user-friendly.
Term used in following embodiment is intended merely to for the purpose of describing particular embodiments, and is not intended as pair The limitation of the application.As the description of the present application and it is used in the attached claims, odd number expression form " one It is a ", "an", " described ", " above-mentioned ", "the" and " this " be intended to also include such as " one or more " this expression-form, Unless hereinafter clearly there is opposite instruction thereon.It is also understood that in the embodiment of the present application, " one or more " refers to one It is a, two or more;"and/or" describes the incidence relation of affiliated partner, indicates may exist three kinds of relationships;For example, A And/or B, the case where can indicate: individualism A exists simultaneously A and B, individualism B, wherein A, B can be odd number or Plural number.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The reference " one embodiment " described in the present specification or " some embodiments " etc. mean the one of the application It include special characteristic, structure or the feature in conjunction with embodiment description in a or multiple embodiments.As a result, in the present specification The sentence " in one embodiment " of difference appearance, " in some embodiments ", " in some other embodiment ", " In In other embodiment " etc. it is uninevitable all referring to identical embodiment, mean " one or more but not all Embodiment ", only otherwise in addition especially emphasize.The terms "include", "comprise", " having " and their deformation are all Mean " including but not limited to ", only otherwise in addition especially emphasizes.
Electronic equipment introduced below, graphic user interface (the graphical user for such electronic equipment Interface, GUI) and embodiment for using such electronic equipment.In some embodiments of the application, electronic equipment Can be the portable terminal equipment of camera (for example, with) with image camera function, such as mobile phone, tablet computer, Digital camera, wearable device (such as smartwatch).The exemplary embodiment of portable terminal includes but is not limited to carry Or the portable terminal of other operating systems.Above-mentioned portable terminal is also possible to Other portable terminals, as long as having image camera function.
Under normal conditions, electronic equipment can support a variety of applications.Such as one or more in applying below: camera is answered With, instant message transrecieving application etc..Wherein, instant message transrecieving application can there are many, such as wechat, chat software, Tencent (QQ), WhatsApp Messenger, even my (Line), Kakao Talk, nail nail etc..User is answered by instant message transrecieving With the information such as text, voice, picture, video file and other various files being sent to other contact persons;Or it uses Family can be applied by instant message transrecieving and realize voice, video calling etc. with other contact persons.The application hereinafter designed can Included application, is also possible to the application that electronic equipment is downloaded and installed from network side, either when being electronic equipment factory Electronic equipment receives the application that other electronic equipments are sent, and the embodiment of the present application is not construed as limiting.
By taking electronic equipment is mobile phone as an example, Fig. 2 shows the structural schematic diagrams of mobile phone 100.As shown in Fig. 2, mobile phone 100 can To include processor 110, external memory interface 120, internal storage 121, universal serial bus (universal serial Bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication Module 151, wireless communication module 152, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194 and user identifier Module (subscriber identification module, SIM) card interface 195 etc..
Wherein, processor 110 may include one or more processing units, such as: processor 110 may include using place It manages device (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, memory, coding and decoding video Device, digital signal processor (digital signal processor, DSP), baseband processor and/or Processing with Neural Network Device (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, Also it can integrate in one or more processors.Wherein, controller can be nerve center and the command centre of mobile phone 100. Controller can generate operating control signal according to instruction operation code and clock signal, the control completing instruction fetch and executing instruction System.Memory can also be set in processor 110, for storing instruction and data.In some embodiments, in processor 110 Memory be cache memory.The memory can save just used processor 110 or the instruction being recycled or number According to.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.Avoid repetition Access, reduces the waiting time of processor 110, thus improves the efficiency of system.In the embodiment of the present application, processor 110 can run the software code/module for repairing nomography, and execution repairs workflow graph accordingly, and specific process will be introduced later.
Display screen 194 is used to show the display interface of the application in mobile phone 100, such as the interface of finding a view of camera, wechat Chat interface etc. can also show the image in picture library, video etc., alternatively, third party repair figure software (for example, Meitu Xiu Xiu, Vsco, MIX etc.) display interface etc..Display screen 194 includes display panel.Display panel can use liquid crystal display (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix organic Light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light emitting Diodes, QLED) etc..In some embodiments, mobile phone 100 may include 1 or N number of display screen 194, and N is just whole greater than 1 Number.
Camera 193 is for capturing still image, dynamic image or video.In the embodiment of the present application, it is taken the photograph in mobile phone 100 As first 193 quantity can be at least two.For two, one is front camera, the other is rear camera; For three, one of them is front camera, and the other two are rear cameras.It should be noted that camera 193 can To be wide-angle camera, focal length camera etc..In general, camera 193 may include photosensitive element such as lens group and image Sensor, wherein lens group includes multiple lens (convex lens or concavees lens), for acquiring object to be shot (such as user people Face, landscape etc.) reflection optical signal, and the optical signal of acquisition is passed into imaging sensor.Imaging sensor is according to the light The image of signal generation object to be shot.
Internal storage 121 can be used for storing computer executable program code, and the executable program code includes Instruction.Processor 110 is stored in the instruction of internal storage 121 by operation, thereby executing the various function application of mobile phone 100 And data processing.Internal storage 121 may include storing program area and storage data area.Wherein, storing program area can deposit Store up operating system, application program (such as camera, picture library, wechat etc.) needed at least one function etc..Storage data area can deposit The data (such as image, video etc.) etc. created in storage 100 use process of mobile phone.In addition, internal storage 121 may include High-speed random access memory can also include nonvolatile memory, for example, at least a disk memory, flash memories Part, generic flash memory (universal flash storage, UFS) etc..In some embodiments, internal storage 121 In can store the software code/module for repairing nomography, processor 110 runs the software code/module for repairing nomography, holds Row repairs workflow graph accordingly, and specific process will be introduced later.
Sensor module 180 may include fingerprint sensor 180H, temperature sensor 180J, touch sensor 180K etc..
Fingerprint sensor 180H is for acquiring fingerprint.The fingerprint characteristic that electronic equipment 100 can use acquisition realizes fingerprint Unlock accesses application lock, and fingerprint is taken pictures, fingerprint incoming call answering etc..
Temperature sensor 180J is for detecting temperature.In some embodiments, electronic equipment 100 utilizes temperature sensor The temperature of 180J detection, executes Temperature Treatment strategy.For example, when the temperature sensor 180J temperature reported is more than threshold value, electronics Equipment 100 executes the performance for reducing the processor being located near temperature sensor 180J, implements Thermal protection to reduce power consumption.
Touch sensor 180K, also referred to as " touch panel ".Touch sensor 180K can be set in display screen 194, by touching It touches sensor 180K and display screen 194 forms touch screen, also referred to as " touch screen ".Touch sensor 180K acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 194.In further embodiments, it touches Touching sensor 180K also can be set in the surface of mobile phone 100, different from the location of display screen 194.
In addition, mobile phone 100 can receive the input of key 190, generating has with the user setting and function control of mobile phone 100 The key signals of pass input.Mobile phone 100 can use motor 191 and generate vibration prompt (such as calling vibration prompt).In mobile phone 100 Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction message, do not connect Incoming call, notice etc..SIM card interface 195 in mobile phone 100 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 195, or extracted from SIM card interface 195, realization is contacting and separating with mobile phone 100.
Mobile phone 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..In some embodiments, microphone 170C may include one or more microphones (for example, microphone array).In some embodiments, processor 110 can touch Microphone 170C starting is sent out, then collected voice signal can be provided with collected sound signal after microphone 170C starting To processor 110, so that processor 110 carries out image according to the acoustic information to repair figure.
It is understood that the structure of the embodiment of the present application signal does not constitute the specific restriction to mobile phone.In the application In other embodiments, mobile phone may include perhaps combining certain components than illustrating more or fewer components or splitting certain A little components or different component layouts.The component of diagram can be realized with hardware, the combination of software or software and hardware.
In order to make it easy to understand, the application following embodiment is by by taking the mobile phone with structure shown in Fig. 2 as an example, in conjunction with attached drawing pair Image method provided by the embodiments of the present application is specifically addressed.
In some embodiments, mobile phone 100 can use the voice signal of sound source (such as user) sending, then identification sound Repair figure instruction in sound signal, based on this repair figure instruction to the image parameters of one or more object regions in image into Row adjustment obtains the image for meeting user's audit.In some embodiments, one or more objects in image can be image Middle one or more shooting objects, for example, people, animal, blue sky, flowers etc..
In some embodiments, provided by the embodiments of the present application to repair that figure mode can be applied to system picture library, third party repairs In the application such as figure software, it can also apply in the application such as system camera, third party's camera applications, can be applied in Instant Messenger In the letter application such as application such as wechat, QQ.Following embodiment will be introduced by taking different scenes as an example.
Scene 1: system picture library.
Fig. 3 (a) shows a kind of graphic user interface GUI of mobile phone 100, which is properly termed as the desktop of mobile phone 100 301 (or main interfaces 301).When mobile phone 100 detect on desktop 301 picture library application icon 302 operation (for example, Clicking operation) after, it can star picture library application, show that another GUI as shown in Fig. 3 (b), the GUI are properly termed as image selection Interface 303.It may include the thumbnail of one or more images on the image selection interface 303.Mobile phone 100 is detected for contracting After the operation (for example, clicking operation) of sketch map 304, the corresponding image 305 of thumbnail 304 is opened, display is as shown in Fig. 3 (c) Another GUI, which is properly termed as image preview interface 306.It include image 305, Yi Jiyi in the image preview interface 306 A or multiple controls.Wherein, one or more of controls can be used for controlling mobile phone 100 start voice repair figure function (for example, Mobile phone 100 starts microphone 170C), can be with collected sound signal after mobile phone 100, which starts voice, repairs figure function, then basis The voice signal of acquisition carries out image to repair figure.
It in some embodiments, include control 307 in image preview interface 306.Mobile phone 100 is detected for control 307 Operation when, voice can be opened and repair figure function (for example, mobile phone 100 start microphone 170C).In some embodiments, mobile phone After 100 unlatching voices repair figure function, voice input mark, such as the mark 308 in Fig. 3 (d) can be shown.In some embodiments In, when mobile phone 100 detects the operation for control 307 again, voice can be closed and repair figure function, cancel display mark 308.
In further embodiments, when mobile phone 100 shows image preview interface 306, voice can be started automatically and repair figure function Energy.In further embodiments, it when mobile phone 100 shows image preview interface 306, can also detect for physical button ratio When such as operation (such as long press operation) of " home " key, figure instruction identification function is repaired in starting.
In other embodiments, mobile phone 100 can also start voice by other means and repair figure function.For example, referring to fig. 4 It is shown, after mobile phone 100 detects the operation for " editor " control 401, show that two options, one of option are " voice Repair figure " 402.After mobile phone 100 detects the operation for " voice repairs figure " option 402, it also can star voice and repair figure function.
In some embodiments, after mobile phone 100 repairs figure to image, show that new images, the new images repair the image after figure. If user is dissatisfied to new images, the mode that can continue through voice carries out new images to repair figure, until mobile phone 100 exits language Sound repairs figure function.In some embodiments, shown in Figure 5, when mobile phone 100 detects the operation for " completion " control 501, It exits voice and repairs figure function, mute microphone (MIC) 170C, and show and repair the image after figure.In further embodiments, referring to Fig. 5 institute Show, when mobile phone 100 detects the operation for " return " control 502, exits voice and repair figure function, mute microphone (MIC) 170C, and The image before figure is repaired in display.In other embodiments, shown in Figure 5, mobile phone 100 detects the operation for icon 503, Voice can also be exited and repair figure function, mute microphone (MIC) 170C, and show the image repaired before figure.In other embodiments, hand Machine 100 detects the operation for closing/logging off picture library, or detects for the display interface of system picture library to be switched to it When the operation for the display interface that he applies, exits voice and repair figure function, mute microphone (MIC) 170C.
Scene 2: system camera.
Fig. 6 (a) shows the main interface 601 of mobile phone 100, includes the icon 602 of system camera in main interface 601.Mobile phone 100 detect the operation for icon 602, open camera, start camera (front camera and/or rear camera), show Show interface of finding a view, interface 603 as shown in Fig. 6 (b).Find a view include in interface 603 camera acquisition image, which can be with Referred to as preview image, and one or more controls.Wherein, one or more of controls can be used for controlling mobile phone 100 into Entering voice screening-mode (for example, mobile phone 100 starts microphone 170C) can adopt after mobile phone 100 enters voice screening-mode Collect voice signal, then image (such as preview image in interface of finding a view) is carried out repairing figure according to the voice signal of acquisition.
It is understood that in some embodiments, mobile phone 100 opens camera, display find a view interface when, can also be automatic Into voice screening-mode.
It in further embodiments, include icon 702 in interface of finding a view referring to shown in Fig. 7 (a).Mobile phone 100 detects needle When to the operation of icon 702, into voice screening-mode.After mobile phone 100 enters voice screening-mode, start microphone 170C. For another example including screening-mode option 702 in interface of finding a view referring to shown in Fig. 7 (b).Mobile phone 100 is detected for option 702 Operation when, the corresponding mark of one or more screening-modes is shown, wherein may include the mark 703 of voice screening-mode. Mobile phone 100 detects the operation for mark 703, into voice screening-mode.For another example referring to shown in Fig. 7 (c), boundary of finding a view It include glo-stick control 702 in face.Mobile phone 100 detects the operation for glo-stick control 702, shows one or more choosings , for example, filter options and voice shoot option 703.After mobile phone 100 detects the operation for voice shooting option 703, into Enter voice screening-mode.In some embodiments, mobile phone 100 enters after voice screening-mode, can show in interface of finding a view Voice input mark, such as mark 801 shown in Fig. 8.
In scene 2, after mobile phone 100 opens camera, camera can be real-time, image is constantly acquired, so finding a view Preview image in interface be it is real-time, constantly change, mobile phone 100 can based on microphone 170C acquire voice signal In repair figure instruction newest preview image is adjusted.
In some embodiments, in scene 2, after mobile phone 100 repairs figure to preview image, new preview image is shown.If User is dissatisfied to new preview image, and the mode that can continue through voice carries out new preview image to repair figure, Zhi Daoyong Until family is satisfied, or until mobile phone 100 exits voice screening-mode.In some embodiments, referring to shown in 8, mobile phone 100 is examined When measuring the operation for icon 802, voice screening-mode, mute microphone (MIC) 170C are exited, and is shown without repairing the pre- of figure Look at image.In further embodiments, mobile phone 100 detects the operation for closing/logging off camera, or detects system When camera is switched to the operation of running background by front stage operation, mute microphone (MIC) 170C.
In some embodiments, after mobile phone 100 repairs figure to preview image, the new preview image of interface display of finding a view.Work as hand When machine 100 detects shooting instruction, new preview image is shot, obtained image is the image after repairing figure, and user is not necessarily to Figure is repaired again, alternatively, figure need to be simply only repaired if needing to repair figure again, it is user-friendly.In other embodiments In, mobile phone 100 also can store the preview image before repairing figure.For example, mobile phone 100 can repair the first preview image Figure obtains the second preview image, and mobile phone 100 detects shooting instruction, and shooting obtains the second image and (claps the second preview image The image taken the photograph).Mobile phone 100 can also store the first image shot to the first preview image.Mobile phone 100 can incite somebody to action First image and the corresponding storage of the second image.For example, may include one on the second image or on the corresponding thumbnail of the second image Mark, it is to that it is image after repairing figure or the mark for the second image of characterization which, which is used to characterize the second image, One image repairs the image after figure, to facilitate user to distinguish.
It should be noted that drawing method provided by the embodiments of the present application of repairing can also be applied to other scenes, for example, repairing figure Software.Repairing figure software can be (ratio mounted when mobile phone 100 dispatches from the factory, can also to be downloaded and be installed from network side with mobile phone 100 Such as, third party repairs figure software).Repair figure software can there are many, such as Meitu Xiu Xiu, vsco, MIX etc., the embodiment of the present application is not It limits.For another example, voice provided by the embodiments of the present application, which repairs drawing method, can be applicable to video record scene, wechat/QQ Video calling scene etc..
Following embodiment introduces the possible realization side that mobile phone 100 repair to image figure according to collected voice signal Formula.Fig. 9 shows the flow diagram for repairing drawing method of one embodiment of the application offer.This method can be adapted for shown in Fig. 2 Mobile phone 100 or similar electronic equipment.Following embodiment is applied in this way for mobile phone 100.As shown in figure 9, the party The process of method includes:
901: mobile phone 100 shows the first image.
In some embodiments, for 3 (c), the first image can be the image 305 of the display of mobile phone 100.At other In embodiment, by taking Fig. 6 (b) as an example, the first image is also possible to find a view the preview image in interface 603.In other embodiments In, the first image can also be mobile phone 100 by repairing certain image that figure software is opened.
902: mobile phone 100 starts voice and repairs figure function, opens microphone 170C.
In some embodiments, mobile phone 100 detects input operation, operates in response to the input, and starting voice repairs figure function Energy (reference can be made to being described above) opens microphone 170C.It in further embodiments, can also when mobile phone 100 shows the first image Figure function is repaired to start voice automatically.
903: 100 collected sound signal of mobile phone.It then can will specifically be collected by microphone 170C collected sound signal Voice signal be supplied to the processor 110 in mobile phone 100.
904: mobile phone 100 identifies that all keywords and figure of repairing corresponding with each keyword in voice signal instruct, The keyword is the word that represented object is used in the voice signal.
For example, voice signal includes " leg is elongated a bit, more thin in the face ".Mobile phone 100 identifies voice signal In include the first keyword " leg " and the second keyword " face ", and identify the first keyword corresponding first repair figure instruct be " elongating a bit ", it is " thinner " that the second keyword corresponding second, which repairs figure instruction,.
In some embodiments, mobile phone 100 can pass through existing voice messaging recognizer such as semantics recognition algorithm Voice signal is identified, the embodiment of the present application seldom repeats.
905: mobile phone 100 determines in the first image with the presence or absence of associated with the first keyword in all keywords First object, and if it exists, then execute 906, if it does not exist, then execute 903, first keyword can be all keys Any keyword in word.
Continue by taking the example above as an example, whether it includes that the first keyword is corresponding that mobile phone 100 may determine that in the first image The first object, that is, leg and/or corresponding second object of the second keyword, that is, face, and if it exists, then carry out execution 906.Some In embodiment, mobile phone 100 can be used image-recognizing method such as edge detection method and identify all objects in the first image, Then judge in all objects with the presence or absence of corresponding first object of the first keyword and/or the second keyword corresponding second Object.
It should be noted that 904 and 905 execution sequence does not limit.For example, first carrying out 904,905 are executed afterwards: mobile phone 100 can first identify all keywords in voice signal, and then determining in image whether there is and in all keywords first Corresponding first object of keyword removes the object in traversal image by the keyword in voice signal.For another example, it first carries out 905, execute 904 afterwards: mobile phone 100 can first identify all objects in image, keyword then be arranged for each object, then It whether determines in voice signal including the corresponding keyword of one or more objects in image, that is, passes through the object time in image Go through voice signal.
906: mobile phone 100 repairs the first object institute in figure instruction the first image of adjustment according to the first keyword corresponding first The corresponding image parameter in region.
In some embodiments, before mobile phone 100 adjusts the first object in the first image, first pair of identification can be shown The boundary (such as edge contour) of elephant, then adjusts the image parameter in the edge contour area defined.It needs to illustrate It is in the prior art, when user Xiu Tu, to usually use some region of user's finger on the image and clicked, slided Operation is to repair figure, but the finger of user can not explicitly define the boundary of an object, so when to some object Xiu Tu, it is past Repair that figure is imperfect toward that can exist, alternatively, the case where also repairing figure to other objects except the object.But the embodiment of the present application In, mobile phone 100 can be used image recognition algorithm (for example, edge detection algorithm) accurately identify it is each right in the first image The boundary of elephant, when carrying out repairing figure to the object, can the boundary area defined only to the object carry out repairing figure, can be realized Accurately to the purpose of some object Xiu Tu on image.
It is assumed that it includes corresponding first object of the first keyword i.e. leg, then mobile phone in the first image that mobile phone 100, which identifies, 100, which can repair figure instruction based on first, is adjusted the image parameter in the region where the first object.For example, it first repairs Figure instruction is " elongating a bit ".Mobile phone 100 can be by the region where the leg of people in the first image (for example, the edge wheel of people's leg Wide area defined) pixel height increase etc., with realize by image people leg elongate effect.
In some embodiments, it can store user's Xiu Tu style data library in mobile phone 100.User's Xiu Tu style data library In include user during repairing figure, repairing figure effect and repair the object location on the image after figure to the object on image The image parameter in domain.It as an example, is a kind of example in possible user Xiu Tu style data library referring to table 1.
Repair figure effect Image parameter
Elongate leg Pixel Dimensions 400*300
Table 1
Mobile phone 100 can determine that repairing corresponding first image of figure instruction with first joins from user's Xiu Tu style data library Number, is then based on the first image parameter and carries out repairing figure to the region where the first object.For example, first repair figure instruction be " elongating a bit ".Mobile phone 100 can match in user's Xiu Tu style data library repairs that figure instruction is relevant to repair figure effect to first, Then the first image parameter corresponding with figure effect is repaired, such as Pixel Dimensions or pixels tall are determined, first figure is then based on As parameter carries out repairing figure to the region (for example, edge contour area defined of people's leg) where the leg of people in the first image.
Following embodiment introduces the possible implementation that mobile phone 100 constructs user Xiu Tu style data library.
In some embodiments, mobile phone 100 can repair figure behavior to the object in image by detecting user, be used Repair figure style data library in family.For example, user using repair figure software in certain image an object carry out manually repair figure when, hand Machine 100 can recorde user and repair figure process to the object, and the object region is corresponding in the image after figure is repaired under storage Final image parameter.Therefore, which can update.In further embodiments, Yong Huxiu What figure style data library carried before can be the factory of mobile phone 100.
It should be noted that provided by the embodiments of the present application repair in drawing method, it, can when mobile phone 100 carries out repairing figure to image To refer to user Xiu Tu style, in this case, the image of Xiu Tuhou is largely to meet the aesthetic image of user, is facilitated Promote user experience.
907: the image after figure is repaired in the display of mobile phone 100.
In some embodiments, after the collected voice signal of mobile phone 100, all keys in voice signal are identified Word.When mobile phone 100 determines object corresponding there is no keyword any in all keywords in the first image, can be not responding to The acoustic information, perhaps output prompt is (for example, exporting prompt information by display screen or exporting voice letter by loudspeaker Breath), the prompt information is for prompting user to re-enter voice signal.Illustratively, shown in Figure 10, mobile phone 100 determines When object corresponding with keyword any in voice signal being not present in preview image, it can show text information " in image The object of figure is repaired not comprising you, please re-enter voice signal ".
Following embodiment introduces the software architecture of mobile phone 100.Figure 11 shows mobile phone 100 provided by the embodiments of the present application The schematic diagram of software architecture, corresponding, Fig. 2 shows the schematic diagrames of the software architecture of mobile phone 100 provided by the embodiments of the present application. As shown in figure 11, the software architecture of mobile phone 100 mainly includes 4 layers from bottom to top: kernel (kernel) layer, system layer, frame (framework) layer and application (application) layer.
Wherein, application layer includes multiple application programs, applies n for example, arriving using 1, n is the integer more than or equal to 2.Than Such as, system camera, third party's camera applications, trill, wechat/QQ, system picture library, third party repair figure software etc..
Ccf layer includes: image spreading interface (extend image API), AI image recognition API, sound interface (voice API) etc. can also include incoming event dissemination system.Wherein, extend image API can be used as upper layer i.e. Application and the interface/channel in image processing algorithm library in lower layer, that is, system layer in application layer.Extend image API is used for Library for storing data in image is called, the image parameter of each object of 100 self study of memory mobile phone in the data.voice API can be used as interface/channel of the AI speech recognition module of upper layer application and lower layer.
System layer includes image processing algorithm library and AI speech recognition module.It wherein, can be in image processing algorithm library A variety of image processing algorithms are stored for using.The AI speech recognition module keyword in voice signal for identification.System layer It can also include incoming event system, the incoming event for reporting lower layer is distributed to upper layer i.e. ccf layer.
Inner nuclear layer includes touch sensor driving, display driving, microphone driving etc..Wherein, touch sensor driving is used Upper layer is reported in the touch operation for detecting touch sensor, display driving is for driving display screen to show content, microphone Region is used to the voice signal that microphone acquires reporting upper layer, for example, the AI speech recognition module in reporting system layer.
It should be noted that Fig. 2 is the hardware structure of mobile phone 100 provided by the embodiments of the present application, Figure 11 is the application reality The software architecture of the mobile phone 100 of example offer is applied, the corresponding software program of software architecture and/or module in Figure 11 are stored in inside In memory 121, the software program and/or mould that are stored in processor 110 (for example, NPU or CPU) operation internal storage 121 Block is to execute corresponding image processing process:
(1), touch sensor driving will test incoming event (such as detect clicking operation in main interface, Click time, position coordinates etc.) it is sent to the incoming event dissemination system on upper layer.It can store in incoming event dissemination system The coordinate of each touch area in current display interface (i.e. main interface), so incoming event dissemination system can be by incoming event The coordinate of the touch area of the position coordinates and storage of middle clicking operation compares, and determines the corresponding touch area of incoming event, so The display content in the touch area is determined afterwards, it is assumed that is the icon of third party's camera applications in the touch area, is then inputted thing Part dissemination system can determine that the incoming event corresponds to third party's camera applications, and report third party's camera applications.
(2), third party's camera applications start, and display screen is driven to show that third party's camera is answered by the display driving of lower layer It finds a view interface, may include preview image in interface of finding a view.
(3), touch sensor driving is again by incoming event (for example, repair the identification of figure instruction for triggering starting voice The incoming event of function) report third party's camera applications.Third party's camera applications drive wheat by the microphone driving of lower layer The starting of gram wind.
(4), the voice signal that microphone acquires is sent to the AI speech recognition module on upper layer by microphone driving.AI voice The corresponding figure of repairing of all keywords and each keyword in identification module identification voice signal instructs (for example, may refer to In embodiment shown in Fig. 8 804).AI speech recognition module is referred to each keyword and corresponding figure of repairing by voice API Order is sent to third party's camera applications.
(5), third party's camera applications pass through one or more in extend image API Calls image processing algorithm library A image processing algorithm, for example, edge detection algorithm.Third party's camera applications use one or more of image processing algorithms Identify the object in preview image.
(6), third party's camera applications judge to whether there is in keyword that AI speech recognition module reports and preview image In corresponding first keyword of the first object, and if it exists, then third party's camera applications be based on the first keyword corresponding first Repair figure instruction the region where the first object on preview image is adjusted/repair figure.In some instances, third party's camera Using the corresponding image parameter (user of the first object in AI image recognition API Calls user's Xiu Tu style data library can be passed through Repair figure style data library and can be found in and be described above), the image parameter then determined from user's Xiu Tu style data library using this Adjust the region where the first object on preview image.
(7), third party's camera applications drive display screen to show adjustment/Xiu Tuhou figure by the display driving of lower layer Picture.
Each embodiment of the application can be arbitrarily combined, to realize different technical effects.
In above-mentioned embodiment provided by the present application, from terminal device (mobile phone 100) as executing subject angle to this Shen Please embodiment provide method be described.In order to realize each function in above-mentioned method provided by the embodiments of the present application, eventually End equipment may include hardware configuration and/or software module, add software module with hardware configuration, software module or hardware configuration Form realize above-mentioned each function.Some function in above-mentioned each function is with hardware configuration, software module or hardware configuration The mode of software module is added to execute, the specific application and design constraint depending on technical solution.
Device provided by the embodiments of the present application is introduced, with reference to the accompanying drawing to realize the application above method embodiment.
As shown in figure 12, the application other embodiment discloses a kind of electronic equipment, which may include: One or more processors 1202, memory 1203, one or more computer programs 1204;Above-mentioned each device can pass through one A or multiple communication bus 1205 connect, and furthermore the electronic equipment can also include that display screen, microphone and loudspeaker etc. are external Hardware.Wherein, one or more of computer programs 1204 are stored in above-mentioned memory 1203 and are configured as by this One or more processors 1202 execute, which includes instruction, and above-metioned instruction can be used for Execute all or part of the steps recorded in embodiment shown in Fig. 3~Figure 11 above-mentioned.
Wherein, processor 1202 can be central processing unit (central processing unit, CPU) or specific answer With integrated circuit (application-specific integrated circuit, ASIC), it can be one or more and be used for The integrated circuit that program executes is controlled, can be baseband chip, etc..The quantity of memory 1203 can be one or more, Memory 1203 can be read-only memory (read-only memory, ROM), random access memory (random access Memory, RAM) or magnetic disk storage, etc..
Electronic equipment shown in Figure 12 can be mobile phone, ipad, laptop, smart television, wearable device (such as Smartwatch, intelligent helmet or Intelligent bracelet etc.) etc..When the electronic equipment shown in Figure 12 is mobile phone, structure be may refer to Shown in Fig. 2, for example, memory 1203 is internal storage 121.
It is used in above embodiments, based on context, term " when ... " or " when ... after " can be interpreted to mean " if ... " or " ... it is rear " or " in response to determination ... " or " in response to detecting ... ".Similarly, based on context, phrase " when in determination ... " or " if detecting (condition or event stated) " can be interpreted to mean " if it is determined that ... " Or " in response to determination ... " or " when detecting (condition or event stated) " or " in response to detecting (the item stated Part or event) ".In addition, in the above-described embodiments, carrying out the entity in area part using such as first, second etc relational terms With another entity, and it is not intended to limit any actual relationship and sequence between these entities.
In above-mentioned embodiment provided by the present application, the angle from terminal device as executing subject proposes the embodiment of the present application The method of confession is described.In order to realize each function in above-mentioned method provided by the embodiments of the present application, terminal device can be with Including hardware configuration and/or software module, come in the form of hardware configuration, software module or hardware configuration add software module real Existing above-mentioned each function.Some function in above-mentioned each function adds software module with hardware configuration, software module or hardware configuration Mode execute, specific application and design constraint depending on technical solution.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line) or wireless (such as infrared, wireless, microwave etc.) mode into another web-site, computer, server or data The heart is transmitted.The computer readable storage medium can be any usable medium or include that computer can access The data storage devices such as one or more usable mediums integrated server, data center.The usable medium can be magnetism Medium, (for example, floppy disk, hard disk, tape), optical medium (such as DVD) or semiconductor medium (such as solid state hard disk) etc..
For purposes of explanation, the description of front is described by reference to specific embodiment.However, above Illustrative discuss is not intended to be the precise forms disclosed in being also not intended to for the application being restricted in detail.According to Above teaching content, many modifications and variations are all possible.Selection and description embodiment are to fully state The principle and its practical application of the application, with so that others skilled in the art can make full use of have be suitable for The application of the various modifications for the special-purpose conceived and various embodiments.
It should be pointed out that a part of patent application document includes the content by copyright protection.In addition to patent Other than the patent document of office or the patent file content production copy of record, copyright owner retains copyright.

Claims (10)

1. one kind repairs drawing method, it is applied to electronic equipment, which is characterized in that the described method includes:
It shows the first interface, includes the first image in first interface;
Collect voice signal;
Identify that all keywords for including in the voice signal and the corresponding figure of repairing of each keyword instruct;The key Word is the word that represented object is used in the voice signal;
Figure instruction is repaired according to the first keyword corresponding first, the region where the first object in the first image is carried out Repair figure;Wherein, first object is one or more shootings associated with first keyword in the first image Object;First keyword is any one keyword in all keywords;
It shows second contact surface, includes the second image in the second contact surface, second image is to repair figure to the first image Image later.
2. the method as described in claim 1, which is characterized in that before collecting voice signal, the method also includes:
After detecting the first operation for the first control in first interface, start one in the electronic equipment or Multiple microphones;Or
The electronic equipment is automatic to start one or more microphones in response to showing first interface.
3. method according to claim 1 or 2, which is characterized in that repair figure according to first keyword corresponding first and refer to It enables, the region where the first object in the first image is carried out repairing figure, comprising:
Figure instruction is repaired according to first keyword corresponding first, is determined and described first in user's Xiu Tu style data library It repairs figure and instructs corresponding first image parameter;It include at least one image parameter in the user Xiu Tu style data library, wherein When different images parameter is that user repairs figure using the electronic equipment, to difference object described after the different object Xiu Tu on image The image parameter in the region at place;
The region where the first object described in the first image is adjusted according to the first image parameter.
4. method a method according to any one of claims 1-3, which is characterized in that repair figure according to first keyword corresponding first Instruction, carries out repairing figure to the first object region in the first image, comprising:
Determine the edge contour of first object;
Figure instruction is repaired according to first keyword corresponding first, to the edge of first object in the first image Profile area defined carries out repairing figure.
5. the method as described in claim 1-4 is any, which is characterized in that the method also includes:
When object associated with keyword any in all keywords is not present in the first image, it is not responding to institute Voice signal, or output prompt information are stated, the prompt information is for prompting user to re-enter voice signal.
6. method a method as claimed in any one of claims 1 to 5, which is characterized in that the method also includes:
Detect the first operation;
In response to first operation, corresponding storage the first image and second image;Wherein, second image On or the corresponding thumbnail of second image on first identifier is set, the first identifier is for characterizing second figure It seem that the image obtained after figure is repaired to the first image.
7. method according to claim 2, which is characterized in that the method also includes:
It detects the second operation for the second control in the second contact surface, in response to second operation, closes described one A or multiple microphones;Alternatively,
It detects the second operation for exiting the second contact surface, in response to second operation, closes one or more of wheats Gram wind.
8. a kind of electronic equipment, which is characterized in that including display screen, at least one processor and memory;
The memory is for storing one or more computer programs;When one or more computers of memory storage When program is executed by least one described processor, so that the electronic equipment can be realized as described in claim 1-7 is any Method.
9. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes computer program, When computer program is run on an electronic device, so that the electronic equipment executes side as claimed in claim 1 Method.
10. a kind of program product, which is characterized in that including instruction, when described instruction is run on computers, so that the meter Calculation machine executes the method according to claim 1 to 7.
CN201910556247.4A 2019-06-25 2019-06-25 One kind repairing drawing method and electronic equipment Pending CN110430356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910556247.4A CN110430356A (en) 2019-06-25 2019-06-25 One kind repairing drawing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910556247.4A CN110430356A (en) 2019-06-25 2019-06-25 One kind repairing drawing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110430356A true CN110430356A (en) 2019-11-08

Family

ID=68408649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910556247.4A Pending CN110430356A (en) 2019-06-25 2019-06-25 One kind repairing drawing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110430356A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324270A (en) * 2020-02-24 2020-06-23 北京字节跳动网络技术有限公司 Image processing method, assembly, electronic device and storage medium
CN111915744A (en) * 2020-08-31 2020-11-10 深圳传音控股股份有限公司 Interaction method, terminal and storage medium for augmented reality image
CN113467735A (en) * 2021-06-16 2021-10-01 荣耀终端有限公司 Image adjusting method, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012098753A (en) * 2012-01-27 2012-05-24 Casio Comput Co Ltd Audio display output control device, image display control device, audio display output control process program and image display control process program
CN103533241A (en) * 2013-10-14 2014-01-22 厦门美图网科技有限公司 Photographing method of intelligent filter lens
CN104270569A (en) * 2014-10-16 2015-01-07 成都思迈科技发展有限责任公司 Sound control photographing system
CN105376398A (en) * 2015-09-30 2016-03-02 联想(北京)有限公司 An information processing method and an electronic apparatus
CN105704390A (en) * 2016-04-20 2016-06-22 广东欧珀移动通信有限公司 Photo-modifying photo-shooting method and device and mobile terminal
CN106254764A (en) * 2015-06-12 2016-12-21 三星电子株式会社 Electronic installation and the method being used for showing image in an electronic
CN106791370A (en) * 2016-11-29 2017-05-31 北京小米移动软件有限公司 A kind of method and apparatus for shooting photo
CN107592457A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of U.S. face method and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012098753A (en) * 2012-01-27 2012-05-24 Casio Comput Co Ltd Audio display output control device, image display control device, audio display output control process program and image display control process program
CN103533241A (en) * 2013-10-14 2014-01-22 厦门美图网科技有限公司 Photographing method of intelligent filter lens
CN104270569A (en) * 2014-10-16 2015-01-07 成都思迈科技发展有限责任公司 Sound control photographing system
CN106254764A (en) * 2015-06-12 2016-12-21 三星电子株式会社 Electronic installation and the method being used for showing image in an electronic
CN105376398A (en) * 2015-09-30 2016-03-02 联想(北京)有限公司 An information processing method and an electronic apparatus
CN105704390A (en) * 2016-04-20 2016-06-22 广东欧珀移动通信有限公司 Photo-modifying photo-shooting method and device and mobile terminal
CN106791370A (en) * 2016-11-29 2017-05-31 北京小米移动软件有限公司 A kind of method and apparatus for shooting photo
CN107592457A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of U.S. face method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324270A (en) * 2020-02-24 2020-06-23 北京字节跳动网络技术有限公司 Image processing method, assembly, electronic device and storage medium
US11847767B2 (en) 2020-02-24 2023-12-19 Douyin Vision Co., Ltd. Method, electronic device and storage medium for image editing
CN111915744A (en) * 2020-08-31 2020-11-10 深圳传音控股股份有限公司 Interaction method, terminal and storage medium for augmented reality image
CN113467735A (en) * 2021-06-16 2021-10-01 荣耀终端有限公司 Image adjusting method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
US11373054B2 (en) Object recognition method and mobile terminal
WO2021078116A1 (en) Video processing method and electronic device
WO2019134516A1 (en) Method and device for generating panoramic image, storage medium, and electronic apparatus
JP5612310B2 (en) User interface for face recognition
WO2021051995A1 (en) Photographing method and terminal
US20130124207A1 (en) Voice-controlled camera operations
CN110430356A (en) One kind repairing drawing method and electronic equipment
CN113747085A (en) Method and device for shooting video
CN112752121B (en) Video cover generation method and device
US10893203B2 (en) Photographing method and apparatus, and terminal device
WO2021143284A1 (en) Image processing method and apparatus, terminal and storage medium
US20230368461A1 (en) Method and apparatus for processing action of virtual object, and storage medium
CN108881544B (en) Photographing method and mobile terminal
EP3975047B1 (en) Method for determining validness of facial feature, and electronic device
CN115689963B (en) Image processing method and electronic equipment
CN104078045A (en) Identifying method and electronic device
CN113014857A (en) Control method and device for video conference display, electronic equipment and storage medium
WO2022266907A1 (en) Processing method, terminal device and storage medium
WO2020238454A1 (en) Photographing method and terminal
CN113727021A (en) Shooting method and device and electronic equipment
WO2022147692A1 (en) Voice command recognition method, electronic device and non-transitory computer-readable storage medium
CN106060383A (en) Image obtaining method and system
CN111694975B (en) Image display method, device, electronic equipment and readable storage medium
WO2023160170A1 (en) Photographing method and electronic device
CN108495038B (en) Image processing method, image processing device, storage medium and electronic equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20210430

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Applicant after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20191108

RJ01 Rejection of invention patent application after publication