WO2018095059A1 - Image processing method and device - Google Patents
Image processing method and device Download PDFInfo
- Publication number
- WO2018095059A1 WO2018095059A1 PCT/CN2017/093570 CN2017093570W WO2018095059A1 WO 2018095059 A1 WO2018095059 A1 WO 2018095059A1 CN 2017093570 W CN2017093570 W CN 2017093570W WO 2018095059 A1 WO2018095059 A1 WO 2018095059A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- area
- processed
- feature
- reminder
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 35
- 210000001015 abdomen Anatomy 0.000 claims description 29
- 230000004397 blinking Effects 0.000 claims description 4
- 230000003139 buffering effect Effects 0.000 claims description 2
- 235000013405 beer Nutrition 0.000 description 15
- 238000010586 diagram Methods 0.000 description 7
- 239000000284 extract Substances 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 210000003128 head Anatomy 0.000 description 4
- 241001456553 Chanodichthys dabryi Species 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 241001125929 Trisopterus luscus Species 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000037237 body shape Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000877 morphologic effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 210000002784 stomach Anatomy 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/174—Facial expression recognition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/18—Eye characteristics, e.g. of the iris
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Definitions
- the present disclosure relates to the field of Internet technologies, for example, to an image processing method and apparatus.
- the present disclosure provides an image processing method and apparatus to solve the problem of low user experience when photographing in the related art.
- This embodiment provides an image processing method, which may include:
- determining whether there are feature areas on the to-be-processed image that meet the preset reminder rule including:
- determining, by one of the plurality of target areas, whether there is a feature area that satisfies the preset reminder rule includes: performing the following operations one by one of the plurality of target areas:
- the image to be processed is a preview image when the character is photographed.
- the target area comprises at least one of: a belly, a shoulder, a mouth, an eye, a neck, and a leg.
- generating the reminder information corresponding to the feature area includes: generating a reminder box corresponding to the feature area, wherein the reminder box is disposed at a location range where the feature area is located.
- the method further includes: setting the alert frame to a blinking state.
- the method further includes: performing a reminder by using at least one of a voice mode and a text mode.
- the method before acquiring the image to be processed, the method further includes: buffering the captured image in a storage area; and obtaining the image to be processed includes: reading the preview image from the storage area, and using the preview image As the image to be processed.
- the embodiment further provides an image processing apparatus, which may include:
- a determining module configured to determine whether there is a feature area on the image to be processed that meets a preset reminder rule
- And generating a module configured to generate reminder information corresponding to the feature area when the feature area is present on the image to be processed.
- the determining module includes:
- An identification unit configured to identify a plurality of target regions from the image to be processed
- the determining unit is configured to perform the following operations on the plurality of target areas one by one: acquiring a pre-stored standard feature shape image corresponding to the current target area; and the current area and the standard feature form image Comparing, obtaining a comparison error; and when the error is greater than a preset threshold, determining that the current target area is the feature area.
- the generating module is configured to generate a reminder box corresponding to the feature area, wherein the reminder box is disposed at a location range where the feature area is located.
- the image processing apparatus further includes: a storage module, configured to cache the captured preview image in a storage area before acquiring the image to be processed; and the acquiring module is configured to read from the storage area The preview image is used as the image to be processed.
- the embodiment further provides a computer readable storage medium storing computer executable instructions for performing any of the above methods.
- the embodiment also provides an electronic device including one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory when executed by one or more processors When performing any of the above methods.
- the embodiment further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer Having the computer perform any of the methods described above.
- FIG. 1 is a flow chart 1 of an image processing method in this embodiment
- Figure 2a is a block diagram 1 of the structure of the image processing apparatus in this embodiment
- Figure 2b is a block diagram 2 of the structure of the image processing apparatus in this embodiment.
- Figure 3 is a block diagram 3 of the structure of the image processing apparatus in this embodiment.
- Figure 4 is a schematic view showing the identification of beer belly in the embodiment
- FIG. 5 is a second flowchart of the image processing method in this embodiment.
- FIG. 6 is a schematic structural diagram of an electronic device in the embodiment.
- This embodiment can find a relatively insufficient place in the photo during the photo preview to remind the person who takes the photo, thereby improving the satisfaction of taking the photo.
- FIG. 1 is a flowchart 1 of the image processing method in the embodiment. As shown in FIG. 1 , the method may include the following steps:
- step 110 an image to be processed is acquired.
- the image to be processed may be an image that needs to be recognized, such as a preview image when photographing.
- the storage and presence of the image to be processed can be determined according to actual needs.
- the captured preview image may be cached in the storage area; the captured preview image is read from the storage area, and the read preview image is taken as the image to be processed.
- step 120 it is determined whether there is a feature area on the image to be processed that satisfies a preset reminder rule.
- the image to be processed may be subjected to image recognition processing, for example, some preset region positions in the image to be processed may be determined. If the image to be processed is a preview image when the person takes a picture, it can be determined whether there is a beer belly in the preview image, that is, the position of the belly in the preview image is first recognized, and then it is determined whether the position area of the belly in the preview image conforms to the preset. The position area of the beer belly, if it is met, determines that the area corresponding to the belly in the preview image is the area to be reminded, that is, the above characteristic area.
- a plurality of target areas may be identified from the to-be-processed image, and whether the plurality of target areas have the feature areas satisfying the preset reminding rule are determined one by one.
- one or more of the feature regions may exist in the plurality of target regions.
- whether the feature area that meets the preset reminder rule is determined by the plurality of target areas may be determined one by one according to the following manner:
- the current region is compared with the standard feature image to obtain a contrast error.
- the image to be processed may be a preview image when the person takes a picture.
- the target area may include at least one of the following: a belly, a shoulder, a mouth, an eye, a neck, and a leg, but is not limited thereto.
- step 130 if there is the feature area on the image to be processed, the reminder information corresponding to the feature area is generated.
- generating the reminder information corresponding to the feature area may include: generating a reminder box corresponding to the feature area, where the reminder box is disposed at a location range where the feature area is located. It is also possible to set the reminder box to a blinking state after generating the reminder box.
- the user may be reminded by at least one of a voice mode and a text mode.
- the voice prompt s the user to have a poor physical appearance, such as "please take a stomach", etc., and can also display text prompt information in the interface of the preview image, such as displaying "beer belly” and “high and low shoulder” and other text prompt information.
- An image processing apparatus is also provided in this embodiment.
- the implementation of the image processing apparatus may refer to the implementation of the image processing method described above, and details are not described herein again.
- the apparatus may include an acquisition module 201, a determination module 202, and a generation module 203.
- the obtaining module 201 can be configured to acquire an image to be processed.
- the determining module 202 may be configured to determine whether there is a feature area on the image to be processed that meets a preset reminder rule.
- the generating module 203 may be configured to generate reminder information corresponding to the feature area when the feature area is present on the image to be processed.
- the determining module 202 may include: an identifying unit 2021 configured to identify a plurality of target regions from the to-be-processed image; and a determining unit 2022 configured to determine the plurality of target regions one by one Whether there is a feature area that satisfies the preset reminder rule.
- the determining unit 2022 is configured to perform the following operations on the plurality of target areas one by one: acquiring a pre-stored standard feature morphogram corresponding to the current target area; performing the current area and the standard feature morphological image In contrast, a comparison error is obtained; when the error is greater than a preset threshold, it is determined that the current target area is the feature area.
- the generating module 203 is configured to generate a reminder box corresponding to the feature area, wherein the reminder box is disposed at a location range where the feature area is located.
- the image processing apparatus may further include: a storage module 204 configured to cache the captured preview image in a storage area before acquiring the image to be processed; the obtaining module 201 is configured to The preview image is read from the storage area, and the preview image is used as the image to be processed.
- the image recognition method and the device in the embodiment are further applied to other image processing scenarios.
- the image recognition method provided in this embodiment can identify shortcomings such as poor appearance of a person in a photo when photographing a character, for example, beer belly, cold face, hunchback and high and low shoulders, etc., can remind the photographer to improve these when the photo is previewed. Problems that effectively improve the user experience.
- some implementations use smile recognition or other gesture recognition to take pictures. That is, the purpose of these feature recognition is to determine whether the preset photo conditions are currently being met, so that the pictures can be taken automatically, but these methods cannot be performed. The user's photographing is guided as a whole and the defects of the photographed person at the time of photographing are not reminded.
- some human body feature recognition comparison rules may be preset.
- the preview photo obtained by the photograph is identified according to a preset comparison rule to determine whether there is a place in the current photo that needs to be reminded of the photographed person. That is, it is determined whether the physical appearance of the person being photographed needs to be adjusted in order to obtain a photo with better effect and improve the user experience.
- an image processing apparatus which may include: a central processing unit 101, a photographing module 102, a physical feature recognition module 103, and a reminder module 104. And a display module 105, wherein
- the photographing module 102 may include: a camera, an image processing module, a storage area, and the like. After the camera captures the image before the lens, the image is processed by the image processing module and displayed on the display screen of the display module 105, and the collected image is cached in the storage. region.
- the physical feature recognition module 103 may be configured to: in the preview state, extract a preview image of the cache from the storage area, identify the person information in the image, and extract feature information of the character for analysis, wherein the feature information of the character may include at least the following One: "Beer belly”, “pouting”, “different shoulder height” and “humpback” and other physical features, but not limited to this, analyze whether these feature information belongs to the characteristics that need to be adjusted, when determining that the information needs to be adjusted At the same time, the reminder module 104 is activated.
- the reminding module 104 can display the preset reminder mark in the display area of the corresponding position after the human object feature is recognized in the preview state, for example, display a red dotted frame, and set the dotted frame to a blinking state.
- Reminders can also include, but are not limited to, text reminders and voice reminders.
- the display module 105 can display the photo preview image and the reminder information of the reminder module 104.
- an image processing method is further provided in this embodiment, which may include the following steps:
- the physical feature recognition module recognizes a feature to be reminded that needs to be reminded of the user in the appearance of the object. And start the reminder module.
- the reminding module displays a red dotted frame around the position of the feature to be reminded according to the feature of the character, and flashes a reminder.
- the body shape recognition module identifies the body part that needs to be reminded. Taking the belly as an example, the recognition module recognizes a closed area of the area of the belly in the picture to be recognized, taking the upper left corner of the picture as the coordinate origin (0, 0) and the right direction as the x direction. , the downward direction is the y direction, and the position of the minimum value of the x coordinate of all the pixel points on the edge of the closed area is generated by a dotted line parallel to the y axis, corresponding to the leftmost side of the dotted line frame, and is generated at the position where the maximum value of the x coordinate is located.
- the dotted line parallel to the y-axis corresponds to the rightmost line of the dotted line frame, and the position of the minimum value of the y coordinate of all the pixel points on the edge of the closed area generates a dotted line parallel to the x-axis, corresponding to the uppermost side of the dotted line frame, at the y coordinate
- the position where the maximum value is located generates a broken line parallel to the x-axis, corresponding to the lowermost side of the dotted line frame, and the generated four lines intersect to form a rectangular frame as shown in FIG. 4;
- the display module 105 displays the image acquired and processed by the camera in the preview state, and the reminder module 104 generates a reminder graphic or data.
- 401 represents a person image collected in a preview state of the camera
- 402 represents the identified "beer belly”.
- ", 403 indicates the reminder wireframe.
- FIG. 5 is a second flowchart of the image processing method in the embodiment. As shown in FIG. 5, the method may include the following steps:
- step 510 after the camera module is activated, the physical feature recognition module is activated.
- step 520 the physical feature recognition module recognizes the feature to be reminded that needs to be reminded of the user in the appearance of the object, and activates the reminder module.
- the physical feature module can pre-store a plurality of feature location areas, for example, may include: correct or beautiful physical features of the face, shoulders, back, abdomen and legs, etc., and adjusting these physical features can better Take a photo, when the physical character recognition module recognizes the physical appearance of these locations When there are features to be reminded in the levy, such as beer belly, etc., the reminder module is activated.
- the reminding module displays the position and the area of the feature to be reminded according to the physical feature recognition module, displays a red dotted frame around the position of the feature to be reminded, and flashes a reminder.
- the method for identifying "beer belly” may include the following steps:
- the physical feature recognition module extracts the cached image.
- the human body features are identified, for example, the position of the human head, the stomach and the legs are recognized, the edge of the tummy region is recognized in the tummy region, the condition of the edge is judged to be a striped reference, and the striped reference is folded by the clothes.
- the similarity threshold may be set, and when the similarity value obtained after the similarity comparison reaches the preset similarity threshold, it is determined as “beer belly”.
- the method of identifying the "mouth” can include the following steps:
- the physical feature recognition module extracts the cached image and recognizes the facial features, for example, identifying the positions of the human eye, the nose, and the mouth.
- a horizontal straight line is drawn at the position of the upper and lower edges of both eyes, and the horizontal straight line is drawn on the left and right sides of the nose and both eyes.
- the identification method of "different shoulder height” may include the following steps:
- the physical feature recognition module extracts the cached image, recognizes the head and the upper body, and takes the central positions of the two to form a straight line.
- the "humpback" identification method may include the following steps:
- the physical feature recognition module extracts the cached image, identifying the head and upper body, and the neck.
- the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above method.
- FIG. 6 is a schematic diagram showing the hardware structure of an electronic device according to the embodiment. As shown in FIG. 6, the electronic device may include: one or more processors 610 and a memory 620. One processor 610 is taken as an example in FIG.
- the electronic device may further include: an input device 630 and an output device 640.
- the processor 610, the memory 620, the input device 630, and the output device 640 in the electronic device may be connected by a bus or other means, and the connection through the bus is taken as an example in FIG.
- the input device 630 can receive input numeric or character information
- the output device 640 can include a display device such as a display screen.
- the memory 620 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules.
- the processor 610 performs various functional applications and data processing by executing software programs, instructions, and modules stored in the memory 620 to implement any of the above embodiments.
- the memory 620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the electronic device, and the like.
- the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
- RAM random access memory
- Memory 620 can be a non-transitory computer storage medium or a transitory computer storage medium.
- the non-transitory computer storage medium such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- the memory 620 can optionally include a memory remotely disposed relative to the processor 610, which can be connected to the electronic device through a network.
- the above network may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- Input device 630 can be used to receive input digital or character information and to generate key signal inputs related to user settings and function controls of the electronic device.
- the output device 640 can include a display device such as a display screen.
- the electronic device of the present embodiment may further include a communication device 650 that transmits and/or receives information over a communication network.
- All or part of the processes provided by the foregoing embodiments may be implemented by a computer program executing related hardware, and the program may be stored in a non-transitory computer readable storage medium, and when executed, the program may be executed.
- the invention discloses an image processing method and device, which can remind a position of a poor effect in an image, so that the user can timely adjust the position and effectively improve the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Ophthalmology & Optometry (AREA)
- Image Analysis (AREA)
Abstract
Description
本公开涉及互联网技术领域,例如涉及一种图像处理方法和装置。The present disclosure relates to the field of Internet technologies, for example, to an image processing method and apparatus.
对人进行拍照的时候,有时候被拍照者处于松弛的状态,从而导致被拍照者对拍出来的照片不满意,例如:人到中年啤酒肚越来越大,但是拍照的时候并不喜欢啤酒肚的出现,如果拍照的时候能够吸腹,保持一个很好的体形,那么就可以拍出满意的照片。When taking pictures of people, sometimes the photographer is in a slack state, which causes the person being photographed to be dissatisfied with the photos taken. For example, people are getting bigger and bigger in middle-aged beer, but they don’t like beer belly when taking pictures. The appearance of the camera, if you can take a belly when you take a picture, to maintain a good body shape, then you can take a satisfactory picture.
然而,在实际拍照的过程中,通常是在拍完照看到照片的时候才发现照片存在体形不佳等问题,从而影响了用户体验。However, in the actual photographing process, it is usually found that the photo has a poor shape when photographing the photograph, thereby affecting the user experience.
针对上述问题,目前尚未提出有效的解决方案。In response to the above problems, no effective solution has been proposed yet.
发明内容Summary of the invention
本公开提供一种图像处理方法和装置,以解决相关技术中拍照时用户体验度不高的问题。The present disclosure provides an image processing method and apparatus to solve the problem of low user experience when photographing in the related art.
本实施例提供一种图像处理方法,可以包括:This embodiment provides an image processing method, which may include:
获取待处理图像;确定所述待处理图像上是否有满足预设提醒规则的特征区域;Obtaining a to-be-processed image; determining whether there is a feature area on the image to be processed that meets a preset reminder rule;
以及在所述待处理图像上有所述特征区域的情况下,则生成与所述特征区域对应的提醒信息。 And if the feature area is on the image to be processed, generating reminder information corresponding to the feature area.
可选地,确定所述待处理图像上是否有满足预设提醒规则的特征区域,包括:Optionally, determining whether there are feature areas on the to-be-processed image that meet the preset reminder rule, including:
从所述待处理图像中识别出多个目标区域;以及Identifying a plurality of target regions from the image to be processed;
逐一确定所述多个目标区域中,是否有满足所述预设提醒规则的特征区域。Determining, in each of the plurality of target areas, whether there is a feature area that satisfies the preset reminder rule.
可选地,逐一确定所述多个目标区域中,是否有满足所述预设提醒规则的特征区域,包括:逐一对所述多个目标区域执行以下操作:Optionally, determining, by one of the plurality of target areas, whether there is a feature area that satisfies the preset reminder rule, includes: performing the following operations one by one of the plurality of target areas:
获取预存的与当前目标区域对应的标准特征形态图像;Obtaining a pre-stored standard feature shape image corresponding to the current target area;
将所述当前区域与所述标准特征形态图像进行对比,得到对比的误差;以及Comparing the current region with the standard feature morphology image to obtain a comparison error;
当所述误差大于预设阈值时,则确定所述当前目标区域为所述特征区域。When the error is greater than a preset threshold, determining that the current target area is the feature area.
可选地,所述待处理图像为人物拍照时的预览图像。Optionally, the image to be processed is a preview image when the character is photographed.
可选地,所述目标区域包括以下至少之一:肚子、肩膀、嘴、眼睛、脖子和腿。Optionally, the target area comprises at least one of: a belly, a shoulder, a mouth, an eye, a neck, and a leg.
可选地,生成与所述特征区域对应的提醒信息,包括:生成与所述特征区域对应的提醒框,其中,所述提醒框设置在所述特征区域所在的位置范围处。Optionally, generating the reminder information corresponding to the feature area includes: generating a reminder box corresponding to the feature area, wherein the reminder box is disposed at a location range where the feature area is located.
可选地,在生成与所述特征区域对应的提醒框之后,还包括:将所述提醒框设置为闪烁状态。Optionally, after generating the alert box corresponding to the feature region, the method further includes: setting the alert frame to a blinking state.
可选地,在生成与所述特征区域对应的提醒框之后,还包括:通过语音方式和文字方式中的至少一种方式,进行提醒。Optionally, after generating the alert box corresponding to the feature area, the method further includes: performing a reminder by using at least one of a voice mode and a text mode.
可选地,在获取待处理图像之前,还包括:将拍摄得到的图像缓存在存储区域;所述获取待处理图像包括:从所述存储区域中读取所述预览图像,将所述预览图像作为所述待处理图像。Optionally, before acquiring the image to be processed, the method further includes: buffering the captured image in a storage area; and obtaining the image to be processed includes: reading the preview image from the storage area, and using the preview image As the image to be processed.
本实施例还提供一种图像处理装置,可以包括: The embodiment further provides an image processing apparatus, which may include:
获取模块,设置为获取待处理图像;Obtain a module, set to obtain a to-be-processed image;
确定模块,设置为确定所述待处理图像上是否有满足预设提醒规则的特征区域;以及a determining module, configured to determine whether there is a feature area on the image to be processed that meets a preset reminder rule;
生成模块,设置为在所述待处理图像上有所述特征区域的情况下,则生成与所述特征区域对应的提醒信息。And generating a module, configured to generate reminder information corresponding to the feature area when the feature area is present on the image to be processed.
可选地,所述确定模块包括:Optionally, the determining module includes:
识别单元,设置为从所述待处理图像中识别出多个目标区域;以及An identification unit configured to identify a plurality of target regions from the image to be processed;
确定单元,设置为逐一确定所述多个目标区域中,是否有满足所述预设提醒规则的特征区域。And determining, by one of the plurality of target areas, whether there is a feature area that satisfies the preset reminder rule.
可选地,所述确定单元,是设置为逐一对所述多个目标区域执行以下操作:获取预存的与当前目标区域对应的标准特征形态图像;将所述当前区域与所述标准特征形态图像进行对比,得到对比的误差;以及当所述误差大于预设阈值时,则确定所述当前目标区域为所述特征区域。Optionally, the determining unit is configured to perform the following operations on the plurality of target areas one by one: acquiring a pre-stored standard feature shape image corresponding to the current target area; and the current area and the standard feature form image Comparing, obtaining a comparison error; and when the error is greater than a preset threshold, determining that the current target area is the feature area.
可选地,所述生成模块是设置为生成与所述特征区域对应的提醒框,其中,所述提醒框设置在所述特征区域所在的位置范围处。Optionally, the generating module is configured to generate a reminder box corresponding to the feature area, wherein the reminder box is disposed at a location range where the feature area is located.
可选地,上述图像处理装置还包括:存储模块,设置为在获取待处理图像之前,将拍摄得到的预览图像缓存在存储区域;所述获取模块是设置为从所述存储区域中读取所述预览图像,将所述预览图像作为所述待处理图像。Optionally, the image processing apparatus further includes: a storage module, configured to cache the captured preview image in a storage area before acquiring the image to be processed; and the acquiring module is configured to read from the storage area The preview image is used as the image to be processed.
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任意一种方法。The embodiment further provides a computer readable storage medium storing computer executable instructions for performing any of the above methods.
本实施例还提供一种电子设备,该电子设备包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述任意一种方法。 The embodiment also provides an electronic device including one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory when executed by one or more processors When performing any of the above methods.
本实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种方法。The embodiment further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer Having the computer perform any of the methods described above.
本实施例通过对图像进行检测,确定出图像中是否存在需要进行提醒的区域,以提醒用户,从而解决了相关技术中用户拍照时候体验度不高的技术问题,达到了有效提高用户体验度的技术效果。In this embodiment, by detecting an image, it is determined whether there is an area in the image that needs to be reminded to remind the user, thereby solving the technical problem that the user experience is not high when photographing in the related art, and the user experience is effectively improved. Technical effects.
图1是本实施例中图像处理方法的流程图一;1 is a flow chart 1 of an image processing method in this embodiment;
图2a是本实施例中图像处理装置的结构框图一;Figure 2a is a block diagram 1 of the structure of the image processing apparatus in this embodiment;
图2b是本实施例中图像处理装置的结构框图二;Figure 2b is a block diagram 2 of the structure of the image processing apparatus in this embodiment;
图3是本实施例中图像处理装置的结构框图三;Figure 3 is a block diagram 3 of the structure of the image processing apparatus in this embodiment;
图4是本实施例中啤酒肚识别示意图;Figure 4 is a schematic view showing the identification of beer belly in the embodiment;
图5是本实施例中图像处理方法的流程图二;Figure 5 is a second flowchart of the image processing method in this embodiment;
图6为本实施例中的电子设备结构示意图。FIG. 6 is a schematic structural diagram of an electronic device in the embodiment.
本实施例能够在拍照预览时发现照片中相对不足的地方,以提醒拍照的人,从而提高拍出照片的满意度。This embodiment can find a relatively insufficient place in the photo during the photo preview to remind the person who takes the photo, thereby improving the satisfaction of taking the photo.
在实施例中提供了一种图像处理方法,图1是本实施例中图像处理方法的流程图一,如图1所示,该方法可以包括以下步骤:An image processing method is provided in the embodiment. FIG. 1 is a flowchart 1 of the image processing method in the embodiment. As shown in FIG. 1 , the method may include the following steps:
在步骤110中,获取待处理图像。In
上述待处理图像可以是一张需要识别处理的图像,例如拍照时候的预览图 像,待处理图像的存储和存在形式可以根据实际需要确定。The image to be processed may be an image that needs to be recognized, such as a preview image when photographing. For example, the storage and presence of the image to be processed can be determined according to actual needs.
如果待处理图像是拍照时候的预览图像,可以将拍摄得到的预览图像缓存在存储区域;从存储区域中读取拍摄得到的预览图像,将读取的预览图像作为待处理图像。If the image to be processed is a preview image at the time of photographing, the captured preview image may be cached in the storage area; the captured preview image is read from the storage area, and the read preview image is taken as the image to be processed.
在步骤120中,确定所述待处理图像上是否有满足预设提醒规则的特征区域。In
在获取到待处理图像之后,可以对待处理图像进行图像识别处理,例如,可以对待处理图像中一些预设的区域位置进行判断。如果待处理图像是对人进行拍照时候的预览图像,那么可以判断预览图像中是否有啤酒肚,即先识别出肚子在预览图像中的位置,然后确定预览图像中肚子的位置区域是否符合预设的啤酒肚的位置区域,如果符合,则确定该预览图像中肚子对应的区域是需要提醒的区域,即上述特征区域。After the image to be processed is acquired, the image to be processed may be subjected to image recognition processing, for example, some preset region positions in the image to be processed may be determined. If the image to be processed is a preview image when the person takes a picture, it can be determined whether there is a beer belly in the preview image, that is, the position of the belly in the preview image is first recognized, and then it is determined whether the position area of the belly in the preview image conforms to the preset. The position area of the beer belly, if it is met, determines that the area corresponding to the belly in the preview image is the area to be reminded, that is, the above characteristic area.
还可以对图像中的其它区域等进行识别分析,例如:识别是否高低肩等,识别的过程与上述识别啤酒肚的过程类似,在此不再赘述。It is also possible to perform identification analysis on other areas in the image, for example, to identify whether the shoulder is high or low, and the process of recognition is similar to the process of identifying the beer belly described above, and details are not described herein again.
可选地,在进行图像提醒操作识别的时候,可以从待处理图像中识别出多个目标区域,并逐一确定多个目标区域中是否有满足所述预设提醒规则的特征区域。其中,多个目标区域中可以存在一个或多个所述特征区域。Optionally, when the image reminding operation is performed, a plurality of target areas may be identified from the to-be-processed image, and whether the plurality of target areas have the feature areas satisfying the preset reminding rule are determined one by one. Wherein, one or more of the feature regions may exist in the plurality of target regions.
可选地,可以按照以下方式逐一确定所述多个目标区域中是否有满足所述预设提醒规则的特征区域:Optionally, whether the feature area that meets the preset reminder rule is determined by the plurality of target areas may be determined one by one according to the following manner:
逐一对所述多个目标区域执行以下操作:Perform the following operations one by one for the multiple target areas:
在S1中,获取预存的与当前目标区域对应的标准特征形态图像。In S1, a pre-stored standard feature morphological image corresponding to the current target area is acquired.
在S2中,将所述当前区域与所述标准特征形态图像进行对比,得到对比的误差。 In S2, the current region is compared with the standard feature image to obtain a contrast error.
在S3中,当上述误差大于预设阈值时,则确定所述当前目标区域为所述特征区域。In S3, when the error is greater than a preset threshold, determining that the current target area is the feature area.
上述待处理图像可以是对人物进行拍照时的预览图像,相应的,上述目标区域可以包括以下至少之一:肚子、肩膀、嘴、眼睛、脖子和腿,但不限于此。The image to be processed may be a preview image when the person takes a picture. Accordingly, the target area may include at least one of the following: a belly, a shoulder, a mouth, an eye, a neck, and a leg, but is not limited thereto.
在步骤130中,在所述待处理图像上有所述特征区域的情况下,则生成与所述特征区域对应的提醒信息。In
可选地,生成与所述特征区域对应的提醒信息,可以包括:生成与所述特征区域对应的提醒框,其中,所述提醒框设置在所述特征区域所在的位置范围处。还可以在生成所述提醒框之后,将提醒框设置为闪烁状态。Optionally, generating the reminder information corresponding to the feature area may include: generating a reminder box corresponding to the feature area, where the reminder box is disposed at a location range where the feature area is located. It is also possible to set the reminder box to a blinking state after generating the reminder box.
可选地,在生成提醒框之后,为了使得用户知道所拍摄照片中的问题所在,注意照片中需要优化的地方,还可以通过语音方式和文字方式中的至少一种方式,对用户进行提醒。例如语音提示用户照片中体貌不佳的问题,如“请收肚子”等,也可以在预览图像的界面中显示文字提示信息,如显示“啤酒肚”和“高低肩”等文字提示信息。Optionally, after the reminder box is generated, in order to make the user know the problem in the photograph taken, pay attention to the place in the photo that needs to be optimized, the user may be reminded by at least one of a voice mode and a text mode. For example, the voice prompts the user to have a poor physical appearance, such as "please take a stomach", etc., and can also display text prompt information in the interface of the preview image, such as displaying "beer belly" and "high and low shoulder" and other text prompt information.
本实施例中还提供了一种图像处理装置,该图像处理装置的实施可以参考上述图像处理方法的实施,重复之处不再赘述。An image processing apparatus is also provided in this embodiment. The implementation of the image processing apparatus may refer to the implementation of the image processing method described above, and details are not described herein again.
图2a是本实施例的图像处理装置的结构框图一,如图2a所示,该装置可以包括:获取模块201、确定模块202和生成模块203。2a is a block diagram of the structure of the image processing apparatus of the present embodiment. As shown in FIG. 2a, the apparatus may include an
其中,获取模块201,可以设置为获取待处理图像。The obtaining
确定模块202,可以设置为确定所述待处理图像上是否有满足预设提醒规则的特征区域。The determining
生成模块203,可以设置为在所述待处理图像上有所述特征区域的情况下,则生成与所述特征区域对应的提醒信息。
The
可选地,如图2b所示,确定模块202可以包括:识别单元2021,设置为从所述待处理图像中识别出多个目标区域;确定单元2022,设置为逐一确定所述多个目标区域中,是否有满足所述预设提醒规则的特征区域。Optionally, as shown in FIG. 2b, the determining
可选地,确定单元2022是设置为逐一将所述多个目标区域执行以下操作:获取预存的与当前目标区域对应的标准特征形态图影;将所述当前区域与所述标准特征形态图像进行对比,得到对比的误差;当所述误差大于预设阈值时,则确定所述当前目标区域为所述特征区域。Optionally, the determining unit 2022 is configured to perform the following operations on the plurality of target areas one by one: acquiring a pre-stored standard feature morphogram corresponding to the current target area; performing the current area and the standard feature morphological image In contrast, a comparison error is obtained; when the error is greater than a preset threshold, it is determined that the current target area is the feature area.
可选地,生成模块203是设置为生成与所述特征区域对应的提醒框,其中,所述提醒框设置在所述特征区域所在的位置范围处。Optionally, the
可选地,如图2b所示,上述图像处理装置还可以包括:存储模块204,设置为在获取待处理图像之前,将拍摄得到的预览图像缓存在存储区域;所述获取模块201是设置为从所述存储区域中读取所述预览图像,将所述预览图像作为所述待处理图像。Optionally, as shown in FIG. 2b, the image processing apparatus may further include: a
在本实施例中,是以对人物图像中有需要优化的区域进行提醒为例来进行的说明,本实施例中的图像识别方法和装置还可以应用在其它的图像处理场景中。In the embodiment, the image recognition method and the device in the embodiment are further applied to other image processing scenarios.
本实施例提供的图像识别方法,可以在为人物拍照时识别出照片中的人物体貌不佳等缺点,例如:啤酒肚、冷酷脸、驼背和高低肩膀等可以在拍照预览的时候提醒拍照者改善这些问题,从而有效提高用户体验。The image recognition method provided in this embodiment can identify shortcomings such as poor appearance of a person in a photo when photographing a character, for example, beer belly, cold face, hunchback and high and low shoulders, etc., can remind the photographer to improve these when the photo is previewed. Problems that effectively improve the user experience.
在拍照的时候,有些实现方式是利用笑脸识别或者其它的手势识别来进行拍照,即,这些特征识别的目的是为了判断当前是否达到了预设的拍照条件,以便自动进行拍照,但这些方式无法整体地对用户的拍照进行指导和也无法对被拍照者在拍照时候存在的缺陷进行提醒。 When taking a picture, some implementations use smile recognition or other gesture recognition to take pictures. That is, the purpose of these feature recognition is to determine whether the preset photo conditions are currently being met, so that the pictures can be taken automatically, but these methods cannot be performed. The user's photographing is guided as a whole and the defects of the photographed person at the time of photographing are not reminded.
在本例中可以预设一些人体特征识别比较规则,在进行拍照预览时,对拍照得到的预览照片依据预设的比较规则进行识别,以确定当前照片中是否有需要提醒被拍照者的地方,即,判断被拍照者体貌是否需要进行调整,以便获得效果更好的照片,提高用户体验。In this example, some human body feature recognition comparison rules may be preset. When the photo preview is performed, the preview photo obtained by the photograph is identified according to a preset comparison rule to determine whether there is a place in the current photo that needs to be reminded of the photographed person. That is, it is determined whether the physical appearance of the person being photographed needs to be adjusted in order to obtain a photo with better effect and improve the user experience.
图3是本实施例中图像处理装置的结构框图三,如图3所示,提供了一种图像处理装置,可以包括:中央处理单元101、拍照模块102、体貌特征识别模块103、提醒模块104和显示模块105,其中,3 is a block diagram of the structure of the image processing apparatus in the embodiment. As shown in FIG. 3, an image processing apparatus is provided, which may include: a
拍照模块102,可以包括:摄像头、图像处理模块和存储区域等,摄像头采集镜头前的图像后,经过图像处理模块处理后在显示模块105的显示屏上进行展示,并将采集的图像缓存在存储区域。The photographing
体貌特征识别模块103,可以设置为在预览状态下,从存储区域提取缓存的预览图像,识别出图像中的人物信息,并提取人物的特征信息进行分析,其中,人物的特征信息可以包括以下至少之一:“啤酒肚”、“歪嘴”、“肩膀高低不同”和“驼背”等体貌特征,但不限于此,分析这些特征信息是否属于需要进行调整的特征,当确定这些信息达到需要调整的程度时,则启动提醒模块104。The physical
提醒模块104,可以在预览状态下对人物体貌特征识别后,在对应位置的显示区显示预设提醒标记,例如:显示红色虚线框,并且将虚线框设置为闪烁状态。提醒方式还可以包括但不限于:文字提醒和语音提醒等。The reminding
显示模块105,可以显示拍照预览图像和提醒模块104的提醒信息。The
基于上述图像处理装置,本实施例中还提供了一种图像处理方法,可以包括以下步骤:Based on the above image processing apparatus, an image processing method is further provided in this embodiment, which may include the following steps:
在S1中,在启动拍照模块后,启动体貌特征识别模块。In S1, after the camera module is activated, the physical feature recognition module is activated.
在S2中,体貌特征识别模块识别到人物体貌中需要提醒用户的待提醒特征, 并启动提醒模块。In S2, the physical feature recognition module recognizes a feature to be reminded that needs to be reminded of the user in the appearance of the object. And start the reminder module.
在S3中,提醒模块根据人物的特征,在上述待提醒特征的位置周围显示红色虚线框,并闪烁提醒。In S3, the reminding module displays a red dotted frame around the position of the feature to be reminded according to the feature of the character, and flashes a reminder.
基于对人物的体貌特征进行识别与拍照提醒为例进行说明:Based on the identification of the physical characteristics of the character and the photo reminder as an example:
体貌识别模块识别需要提醒的身体部位,以肚子为例,识别模块识别出肚子的区域在待识别图片中的一个闭合区域,以图片左上角为坐标原点(0,0),向右为x方向,向下为y方向,在上述闭合区域边缘上所有像素点的x坐标的最小值所在的位置生成与y轴平行的虚线,对应虚线框的最左边,在x坐标最大值所在的位置生成与y轴平行的虚线,对应虚线框的最右边线,在上述闭合面积边缘上所有像素点y坐标的最小值所在的位置生成与x轴平行的虚线,对应虚线框的最上边,在y坐标的最大值所在的位置生成与x轴平行的虚线,对应虚线框的最下边,所生成的4条线相交形成如图4所示的矩形框;The body shape recognition module identifies the body part that needs to be reminded. Taking the belly as an example, the recognition module recognizes a closed area of the area of the belly in the picture to be recognized, taking the upper left corner of the picture as the coordinate origin (0, 0) and the right direction as the x direction. , the downward direction is the y direction, and the position of the minimum value of the x coordinate of all the pixel points on the edge of the closed area is generated by a dotted line parallel to the y axis, corresponding to the leftmost side of the dotted line frame, and is generated at the position where the maximum value of the x coordinate is located. The dotted line parallel to the y-axis corresponds to the rightmost line of the dotted line frame, and the position of the minimum value of the y coordinate of all the pixel points on the edge of the closed area generates a dotted line parallel to the x-axis, corresponding to the uppermost side of the dotted line frame, at the y coordinate The position where the maximum value is located generates a broken line parallel to the x-axis, corresponding to the lowermost side of the dotted line frame, and the generated four lines intersect to form a rectangular frame as shown in FIG. 4;
显示模块105显示预览状态下摄像头所采集的和处理后的图像,提醒模块104生成提醒图形或数据,如图4所示,401表示摄像头预览状态下采集的人物图像,402表示识别出的“啤酒肚”,403表示提醒线框。The
图5是本实施例中图像处理方法的流程图二,如图5所示,该方法可以包括以下步骤:FIG. 5 is a second flowchart of the image processing method in the embodiment. As shown in FIG. 5, the method may include the following steps:
在步骤510中,在启动拍照模块后,启动体貌特征识别模块。In
在步骤520中,体貌特征识别模块识别到人物体貌中需要提醒用户的待提醒特征,并启动提醒模块。In
其中,体貌特征模块中可以预先存储多个特征位置区域,例如,可以包括:脸部,肩部,背部,腹部和腿部等位置的正确或者优美的体貌特征,调整这些体貌特征可以更好地拍出照片,当体貌特征识别模块识别出这些位置的体貌特 征中存在待提醒的特征时,例如:啤酒肚等特征,则启动提醒模块。Wherein, the physical feature module can pre-store a plurality of feature location areas, for example, may include: correct or beautiful physical features of the face, shoulders, back, abdomen and legs, etc., and adjusting these physical features can better Take a photo, when the physical character recognition module recognizes the physical appearance of these locations When there are features to be reminded in the levy, such as beer belly, etc., the reminder module is activated.
在步骤530中,提醒模块根据体貌特征识别模块识提供的待提醒的特征的位置和区域,在待提醒特征的位置周围显示红色虚线框,并闪烁提醒。In
下面举几个实例对如啤酒肚和高低肩等特征进行识别的过程进行说明:Here are a few examples to illustrate the process of identifying features such as beer belly and high and low shoulders:
实例1Example 1
“啤酒肚”的识别方法,可以包括如下步骤:The method for identifying "beer belly" may include the following steps:
在S1中,体貌特征识别模块提取缓存的图像。In S1, the physical feature recognition module extracts the cached image.
在S2中,识别人体特征,例如:识别出人头部,肚子和腿等位置,在肚子区域,识别人的肚子区域边缘,判断边缘的条件是条纹状参考物,条纹状参考物由衣服褶皱形成的沟壑,或者判断肚子区域边缘的人体凸起。In S2, the human body features are identified, for example, the position of the human head, the stomach and the legs are recognized, the edge of the tummy region is recognized in the tummy region, the condition of the edge is judged to be a striped reference, and the striped reference is folded by the clothes. The gully formed, or the protrusion of the human body at the edge of the belly area.
在S3中:对比肚子边缘是否存在条纹状图形,将条纹状图形与存储的条纹状参考图形进行相似度对比,如果相似则判断为“啤酒肚”。In S3: comparing the presence or absence of a striped pattern on the edge of the belly, comparing the similarity between the striped pattern and the stored striped reference pattern, and if it is similar, it is judged as "beer belly".
例如,可以设定相似度阈值,当进行相似度对比后得到的相似度值达到预设相似度阈值,则判断为“啤酒肚”。For example, the similarity threshold may be set, and when the similarity value obtained after the similarity comparison reaches the preset similarity threshold, it is determined as “beer belly”.
在S4中,在预览界面中,在肚子区域周围显示提醒线框。In S4, in the preview interface, a reminder wireframe is displayed around the belly area.
实例2Example 2
“歪嘴”的识别方法,可以包括如下步骤:The method of identifying the "mouth" can include the following steps:
在S1中,体貌特征识别模块提取缓存的图像,识别人脸特征,例如:识别出人眼,鼻子和嘴的位置。In S1, the physical feature recognition module extracts the cached image and recognizes the facial features, for example, identifying the positions of the human eye, the nose, and the mouth.
在S2中在双眼上下边缘的位置划水平直线,在鼻子与双眼的左右两侧划上述水平直线的垂线。In S2, a horizontal straight line is drawn at the position of the upper and lower edges of both eyes, and the horizontal straight line is drawn on the left and right sides of the nose and both eyes.
在S3中,计算左嘴角到左侧垂线的距离,并计算右嘴角到右侧垂垂线的距离,当上述计算得到的两个距离差超过一定比例之后(例如:10%),则判断为 “歪嘴”。In S3, calculate the distance from the left corner to the left vertical line, and calculate the distance from the right mouth angle to the right vertical line. When the two distance differences calculated above exceed a certain ratio (for example, 10%), judge For "Pouting."
实例3Example 3
“肩膀高低不同”的识别方法,可以包括如下步骤:The identification method of "different shoulder height" may include the following steps:
在S1中,体貌特征识别模块提取缓存的图像,识别头部和上身,取两者中心位置,连成直线。In S1, the physical feature recognition module extracts the cached image, recognizes the head and the upper body, and takes the central positions of the two to form a straight line.
在S2中,识别左右双肩,连成直线。In S2, the left and right shoulders are identified and connected in a straight line.
在S3中,S1和S2中的两条直线之间夹角在0-85度之间,则判断为“肩膀高低不同”。In S3, the angle between the two straight lines in S1 and S2 is between 0 and 85 degrees, and it is judged that "the shoulder height is different".
实例4Example 4
“驼背”的识别方法,可以包括如下步骤:The "humpback" identification method may include the following steps:
在S1中,体貌特征识别模块提取缓存的图像,识别头部和上身,和脖子。In S1, the physical feature recognition module extracts the cached image, identifying the head and upper body, and the neck.
在S2中,头部中心位置和脖子中心位置连成直线,上身中心位置和脖子中心位置连成直线。In S2, the center position of the head and the center of the neck are in a straight line, and the center position of the upper body and the center of the neck are in a straight line.
在S3中,S2中两条直线之间夹角大于15度,则判断为“驼背”。In S3, if the angle between the two straight lines in S2 is greater than 15 degrees, it is judged as "humpback".
本实施例通过对图像进行特征识别,确定出图像中是否存在需要提醒用户的区域,以提醒用户,从而解决了相关技术中用户拍照时候,用户体验度不高的问题,有效提高用户体验。In this embodiment, by identifying the image, it is determined whether there is an area in the image that needs to be reminded to the user, so as to remind the user, thereby solving the problem that the user experience is not high when the user takes a picture in the related art, and the user experience is effectively improved.
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。The embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above method.
图6是根据本实施例的一种电子设备的硬件结构示意图,如图6所示,该电子设备可以包括:一个或多个处理器610和存储器620。图6中以一个处理器610为例。
FIG. 6 is a schematic diagram showing the hardware structure of an electronic device according to the embodiment. As shown in FIG. 6, the electronic device may include: one or
所述电子设备还可以包括:输入装置630和输出装置640。The electronic device may further include: an
所述电子设备中的处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图6中以通过总线连接为例。The
输入装置630可以接收输入的数字或字符信息,输出装置640可以包括显示屏等显示设备。The
存储器620作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块。处理器610通过运行存储在存储器620中的软件程序、指令以及模块,从而执行多种功能应用以及数据处理,以实现上述实施例中的任意一种方法。存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器可以包括随机存取存储器(Random Access Memory,RAM)等易失性存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。The
存储器620可以是非暂态计算机存储介质或暂态计算机存储介质。该非暂态计算机存储介质,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。其中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络可以包括互联网、企业内部网、局域网、移动通信网及其组合。
输入装置630可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。输出装置640可包括显示屏等显示设备。
本实施例的电子设备还可以包括通信装置650,通过通信网络传输和/或接收信息。
The electronic device of the present embodiment may further include a
上述实施例提供的方法中的全部或部分流程,是可以通过计算机程序来执行相关的硬件来完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程序在执行时,可包括如上述方法的实施例的流程,其中,该非暂态计算机可读存储介质可以为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。All or part of the processes provided by the foregoing embodiments may be implemented by a computer program executing related hardware, and the program may be stored in a non-transitory computer readable storage medium, and when executed, the program may be executed. The flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium can be a magnetic disk, an optical disk, a read only memory (ROM) or a random access memory (RAM), or the like.
本公开一种图像处理方法和装置,可以对图像中效果不佳的位置进行提醒,便于用户及时进行位置调整,有效提高用户的使用体验。 The invention discloses an image processing method and device, which can remind a position of a poor effect in an image, so that the user can timely adjust the position and effectively improve the user experience.
Claims (15)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611035636.5A CN108093165A (en) | 2016-11-23 | 2016-11-23 | A kind of image processing method and device |
CN201611035636.5 | 2016-11-23 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018095059A1 true WO2018095059A1 (en) | 2018-05-31 |
Family
ID=62169858
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/093570 WO2018095059A1 (en) | 2016-11-23 | 2017-07-19 | Image processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108093165A (en) |
WO (1) | WO2018095059A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112131955A (en) * | 2020-08-27 | 2020-12-25 | 深圳新太开发科技有限公司 | Intelligent fishing method, intelligent fishing device and computer readable storage medium |
CN113256647A (en) * | 2021-04-14 | 2021-08-13 | 广西扬翔股份有限公司 | Image processing method, image processing apparatus, electronic apparatus, and storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111915539B (en) * | 2020-07-14 | 2024-06-18 | 维沃移动通信有限公司 | Image processing method and device |
CN115018849B (en) * | 2022-08-09 | 2022-11-08 | 江苏万容机械科技有限公司 | Bottle body cover-tilting identification method based on edge detection |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6996340B2 (en) * | 2003-03-25 | 2006-02-07 | Fuji Photo Film Co., Ltd. | Automatic photography system |
CN105141842A (en) * | 2015-08-31 | 2015-12-09 | 广州市幸福网络技术有限公司 | Tamper-proof license camera system and method |
CN105407285A (en) * | 2015-12-01 | 2016-03-16 | 小米科技有限责任公司 | Photographing control method and device |
CN105554285A (en) * | 2015-12-22 | 2016-05-04 | 努比亚技术有限公司 | Processing method for taking photo of people, and intelligent mobile terminal |
CN105611149A (en) * | 2015-12-16 | 2016-05-25 | 天津优爱创科技有限公司 | Photographic method adopting assisting device |
CN105704386A (en) * | 2016-03-30 | 2016-06-22 | 联想(北京)有限公司 | Image acquisition method, electronic equipment and electronic device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1946140A (en) * | 2006-11-10 | 2007-04-11 | 北京中星微电子有限公司 | Digital image processing method and picture taking device |
CN104539842B (en) * | 2014-12-17 | 2018-02-13 | 宇龙计算机通信科技(深圳)有限公司 | Intelligent photographing method and camera arrangement |
CN105046246B (en) * | 2015-08-31 | 2018-10-09 | 广州市幸福网络技术有限公司 | It can carry out the license camera and portrait pose detection method of the shooting prompt of portrait posture |
-
2016
- 2016-11-23 CN CN201611035636.5A patent/CN108093165A/en active Pending
-
2017
- 2017-07-19 WO PCT/CN2017/093570 patent/WO2018095059A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6996340B2 (en) * | 2003-03-25 | 2006-02-07 | Fuji Photo Film Co., Ltd. | Automatic photography system |
CN105141842A (en) * | 2015-08-31 | 2015-12-09 | 广州市幸福网络技术有限公司 | Tamper-proof license camera system and method |
CN105407285A (en) * | 2015-12-01 | 2016-03-16 | 小米科技有限责任公司 | Photographing control method and device |
CN105611149A (en) * | 2015-12-16 | 2016-05-25 | 天津优爱创科技有限公司 | Photographic method adopting assisting device |
CN105554285A (en) * | 2015-12-22 | 2016-05-04 | 努比亚技术有限公司 | Processing method for taking photo of people, and intelligent mobile terminal |
CN105704386A (en) * | 2016-03-30 | 2016-06-22 | 联想(北京)有限公司 | Image acquisition method, electronic equipment and electronic device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112131955A (en) * | 2020-08-27 | 2020-12-25 | 深圳新太开发科技有限公司 | Intelligent fishing method, intelligent fishing device and computer readable storage medium |
CN113256647A (en) * | 2021-04-14 | 2021-08-13 | 广西扬翔股份有限公司 | Image processing method, image processing apparatus, electronic apparatus, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108093165A (en) | 2018-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10783354B2 (en) | Facial image processing method and apparatus, and storage medium | |
US10750160B2 (en) | Gaze correction of multi-view images | |
CN107818305A (en) | Image processing method, device, electronic device, and computer-readable storage medium | |
WO2016180224A1 (en) | Method and device for processing image of person | |
WO2019237745A1 (en) | Facial image processing method and apparatus, electronic device and computer readable storage medium | |
WO2021027537A1 (en) | Method and apparatus for taking identification photo, device and storage medium | |
CN103369214A (en) | Image acquisition method and image acquisition device | |
US20130230217A1 (en) | Attribute determining method, attribute determining apparatus, program, recording medium, and attribute determining system | |
CN105046246A (en) | Identification photo camera capable of performing human image posture photography prompting and human image posture detection method | |
TWI640199B (en) | Image capturing apparatus and photo composition method thereof | |
CN107742274A (en) | Image processing method, device, computer-readable storage medium, and electronic device | |
CN107862274A (en) | Beautifying method, device, electronic device and computer-readable storage medium | |
WO2018095059A1 (en) | Image processing method and device | |
CN107368806B (en) | Image rectification method, image rectification device, computer-readable storage medium and computer equipment | |
US11055829B2 (en) | Picture processing method and apparatus | |
CN104754216A (en) | Photographing method and device | |
US10257414B2 (en) | Method and system for smart group portrait | |
CN107909058A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
CN107172354A (en) | Method for processing video frequency, device, electronic equipment and storage medium | |
WO2017096861A1 (en) | Method and device for taking photographs | |
CN105430269A (en) | A photographing method and device applied to a mobile terminal | |
WO2018076172A1 (en) | Image display method and terminal | |
JP6098133B2 (en) | Face component extraction device, face component extraction method and program | |
CN107547789B (en) | Image acquisition device and method for photographing composition thereof | |
TW201339986A (en) | Method and device for capturing image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17874409 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17874409 Country of ref document: EP Kind code of ref document: A1 |