CN106203280A - A kind of augmented reality AR image processing method, device and intelligent terminal - Google Patents
A kind of augmented reality AR image processing method, device and intelligent terminal Download PDFInfo
- Publication number
- CN106203280A CN106203280A CN201610503161.1A CN201610503161A CN106203280A CN 106203280 A CN106203280 A CN 106203280A CN 201610503161 A CN201610503161 A CN 201610503161A CN 106203280 A CN106203280 A CN 106203280A
- Authority
- CN
- China
- Prior art keywords
- image
- processed
- feature
- processing
- pose
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/20—Scenes; Scene-specific elements in augmented reality scenes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/94—Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/20—3D [Three Dimensional] animation
- G06T13/40—3D [Three Dimensional] animation of characters, e.g. humans, animals or virtual beings
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
本发明实施例公开了一种增强现实AR图像处理方法、装置及智能终端。该方法包括:采用人脸识别技术,确定待处理图像是否为人物图像;若为人物图像,则采用图像识别技术,确定所述待处理图像中是否包含特征姿势;若包含特征姿势,则对所述待处理图像中包含的特征姿势进行AR处理。本发明实施例中,获取待处理图像中包含的特征姿势,并将获取的特征姿势作为待处理的AR目标,通过人脸识别技术以及图像识别技术确定待处理图像中的AR目标,相比于现有技术中通过人工方式确定AR目标,简化了AR处理操作,提高了AR图像处理的效率。
The embodiment of the present invention discloses an augmented reality (AR) image processing method, device and intelligent terminal. The method comprises: using face recognition technology to determine whether the image to be processed is a person image; if it is a person image, using image recognition technology to determine whether the image to be processed contains a characteristic posture; if it contains a characteristic posture, AR processing is performed on the characteristic posture contained in the image to be processed. In the embodiment of the present invention, the characteristic posture contained in the image to be processed is obtained, and the obtained characteristic posture is used as the AR target to be processed. The AR target in the image to be processed is determined by face recognition technology and image recognition technology. Compared with the prior art of manually determining the AR target, the AR processing operation is simplified and the efficiency of AR image processing is improved.
Description
技术领域technical field
本发明涉及图像处理技术领域,尤其是一种增强现实AR图像处理方法、装置及智能终端。The present invention relates to the technical field of image processing, in particular to an augmented reality AR image processing method, device and intelligent terminal.
背景技术Background technique
增强现实(Augmented Reality,AR),把原本在现实世界的一定时间空间范围内很难体验到的实体信息例如,视觉信息、声音、味道或触觉等,通过科学技术模拟仿真后再叠加到现实世界被人类感官所感知,从而达到超越现实的感官体验,这种技术叫做增强现实技术,简称AR技术。Augmented Reality (AR), the physical information that is difficult to experience in the real world within a certain time and space range, such as visual information, sound, taste or touch, etc., is simulated by science and technology and then superimposed on the real world Perceived by human senses to achieve a sensory experience beyond reality, this technology is called augmented reality technology, or AR technology for short.
现有的AR图像处理方法,一般需要用户人工确定待处理的AR目标,导致现有AR图像处理方法的效率降低。The existing AR image processing method generally requires the user to manually determine the AR target to be processed, resulting in a reduction in the efficiency of the existing AR image processing method.
发明内容Contents of the invention
本发明实施例的目的在于提供一种增强现实AR图像处理方法、装置及智能终端,以提高AR图像处理的效率,且实现对人物特征姿势的AR处理。The purpose of the embodiments of the present invention is to provide an augmented reality AR image processing method, device, and smart terminal, so as to improve the efficiency of AR image processing and realize AR processing of character's characteristic poses.
第一方面,本发明实施例提供了一种增强现实AR图像处理方法,包括:In a first aspect, an embodiment of the present invention provides an augmented reality AR image processing method, including:
采用人脸识别技术,确定待处理图像是否为人物图像;Use face recognition technology to determine whether the image to be processed is a human image;
若为人物图像,则采用图像识别技术,确定所述待处理图像中是否包含特征姿势;If it is an image of a person, image recognition technology is used to determine whether the image to be processed contains a characteristic pose;
若包含特征姿势,则对所述待处理图像中包含的特征姿势进行AR处理。If the feature pose is included, AR processing is performed on the feature pose included in the image to be processed.
第二方面,本发明实施例提供了一种增强现实AR图像处理装置,包括:In a second aspect, an embodiment of the present invention provides an augmented reality AR image processing device, including:
图像识别模块,用于采用人脸识别技术,确定待处理图像是否为人物图像;The image recognition module is used to adopt face recognition technology to determine whether the image to be processed is a person image;
姿势识别模块,用于若为人物图像,则采用图像识别技术,确定所述待处理图像中是否包含特征姿势;The gesture recognition module is used to determine whether the image to be processed contains a characteristic gesture by using image recognition technology if it is a person image;
姿势处理模块,用于若包含特征姿势,则对所述待处理图像中包含的特征姿势进行AR处理。The gesture processing module is configured to perform AR processing on the feature gestures contained in the image to be processed if the feature gestures are included.
第三方面,本发明实施例提供了一种智能终端,包括本发明任意实施例提供的增强现实AR图像处理装置。In a third aspect, an embodiment of the present invention provides a smart terminal, including the augmented reality AR image processing device provided in any embodiment of the present invention.
本发明实施例提供的技术方案,通过采用人脸识别技术确定待处理图像是否为人物图像,若为人物图像,则采用图像识别技术确定待处理图像中是否包含特征姿势,若包含特征姿势,则获取待处理图像中包含的特征姿势,并将获取的特征姿势作为待处理的AR目标,且对获取的特征姿势进行AR处理,实现了对人物图像中特征姿势的AR处理,由于该方法中通过人脸识别技术以及图像识别技术确定待处理图像中的AR目标,相比于现有技术中通过人工方式确定AR目标,简化了AR处理操作,提高了AR图像处理的效率。The technical solution provided by the embodiment of the present invention uses face recognition technology to determine whether the image to be processed is a person image, if it is a person image, then uses image recognition technology to determine whether the image to be processed contains a characteristic posture, and if it contains a characteristic posture, then Acquire the feature poses contained in the image to be processed, and use the acquired feature poses as the AR target to be processed, and perform AR processing on the acquired feature poses to realize the AR processing of the feature poses in the person image. Face recognition technology and image recognition technology determine the AR target in the image to be processed. Compared with the prior art of manually determining the AR target, the AR processing operation is simplified and the efficiency of AR image processing is improved.
附图说明Description of drawings
图1a为本发明实施例一提供的AR图像处理方法的流程示意图;FIG. 1a is a schematic flowchart of an AR image processing method provided by Embodiment 1 of the present invention;
图1b为本发明实施例一提供的AR图像处理效果示意图;FIG. 1b is a schematic diagram of the AR image processing effect provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的AR图像处理方法的流程示意图;FIG. 2 is a schematic flowchart of an AR image processing method provided in Embodiment 2 of the present invention;
图3为本发明实施例三提供的AR图像处理方法的流程示意图;FIG. 3 is a schematic flowchart of an AR image processing method provided in Embodiment 3 of the present invention;
图4为本发明实施例四提供的AR图像处理装置的结构示意图;FIG. 4 is a schematic structural diagram of an AR image processing device provided in Embodiment 4 of the present invention;
图5为本发明实施例五提供的智能终端的结构示意图。FIG. 5 is a schematic structural diagram of a smart terminal provided by Embodiment 5 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1a为本发明实施例一提供的AR图像处理方法的流程示意图,该方法可以由AR图像处理装置执行,其中该装置可以由软件和/或硬件实现,可作为智能终端的一部分被内置在智能终端内部。如图1a所示,该实现流程包括:Figure 1a is a schematic flow chart of an AR image processing method provided by Embodiment 1 of the present invention. The method can be executed by an AR image processing device, wherein the device can be implemented by software and/or hardware, and can be built into a smart terminal as a part of a smart terminal. inside the terminal. As shown in Figure 1a, the implementation process includes:
步骤11、采用人脸识别技术,确定待处理图像是否为人物图像。Step 11, using face recognition technology to determine whether the image to be processed is a person image.
其中,待处理图像可以是智能终端中摄像头拍摄的图像,也可以是智能终端接收或下载的图像。例如,可以从相册应用中选择待处理图像。具体的,采用人脸识别技术确定待处理图像中是否包含人脸,若包含,则确定待处理图像为人物图像;否则,确定待处理图像为非人物图像。本实施例中对非人物图像的处理方式不作具体限定,如可以对非人物图像作AR处理,也可以作除AR之外的其他处理如美白处理等,还可以停止图像处理操作。Wherein, the image to be processed may be an image captured by a camera in the smart terminal, or an image received or downloaded by the smart terminal. For example, an image to process can be selected from the photo gallery application. Specifically, face recognition technology is used to determine whether the image to be processed contains a human face, and if so, it is determined that the image to be processed is a person image; otherwise, it is determined that the image to be processed is a non-person image. In this embodiment, the processing method of the non-person image is not specifically limited. For example, AR processing may be performed on the non-person image, or other processing other than AR such as whitening processing may be performed, and the image processing operation may also be stopped.
步骤12、若为人物图像,则采用图像识别技术,确定所述待处理图像中是否包含特征姿势。Step 12. If it is a person image, use image recognition technology to determine whether the image to be processed contains a characteristic pose.
在本实施例中,特征姿势指的是预先设定的预期作AR处理的人物姿势,如特征姿势可以包括奔跑、吹气、双手合十、哭泣或者拥抱等姿势。特征姿势可以统一设定,也可以依据用户需求进行个性化设定。In this embodiment, the characteristic pose refers to a preset character pose that is expected to be processed by AR, for example, the characteristic pose may include running, blowing, putting hands together, crying, or hugging. The characteristic postures can be set uniformly, or can be personalized according to user needs.
具体的,采用图像识别技术识别待处理图像中是否包含奔跑、呼喊、吹气或双手合十等特征姿势,若包含,则获取待处理图像中包含的特征姿势。若识别到待处理图像中不包含特征姿势,则后续可以不对待处理图像作AR处理。Specifically, image recognition technology is used to identify whether the image to be processed contains characteristic gestures such as running, shouting, blowing air, or folded hands, and if so, obtain the characteristic posture contained in the image to be processed. If it is recognized that the image to be processed does not contain a characteristic pose, then AR processing may not be performed on the image to be processed subsequently.
步骤13、若包含特征姿势,则对所述待处理图像中包含的特征姿势进行AR处理。Step 13: If the feature pose is included, perform AR processing on the feature pose included in the image to be processed.
具体的,若待处理图像中包含有特征姿势,则将待处理图像中包含的特征姿势作为待处理的AR目标,并对特征姿势进行AR处理。参考图1b,可以在包含奔跑姿势的人物图像中增加月亮虚拟图片、星星虚拟图片和汗水虚拟图片等。需要说明的是,本实施例中对特征姿势进行AR处理的方式不作具体限定,只需通过在特征姿势对应位置增加虚拟画面以调整待处理图像的显示效果即可。Specifically, if the image to be processed contains a feature pose, the feature pose included in the image to be processed is used as an AR target to be processed, and AR processing is performed on the feature pose. Referring to FIG. 1 b , a virtual picture of the moon, a virtual picture of stars, a virtual picture of sweat, etc. can be added to the character image including the running posture. It should be noted that, in this embodiment, the manner of performing AR processing on the characteristic poses is not specifically limited, and it is only necessary to adjust the display effect of the image to be processed by adding a virtual screen at the position corresponding to the characteristic poses.
本实施例提供的技术方案,通过采用人脸识别技术确定待处理图像是否为人物图像,若为人物图像,则采用图像识别技术确定待处理图像中是否包含特征姿势,若包含特征姿势,则获取待处理图像中包含的特征姿势,并将获取的特征姿势作为待处理的AR目标,且对获取的特征姿势进行AR处理,实现了对人物图像中特征姿势的AR处理,由于该方法中通过人脸识别技术以及图像识别技术确定待处理图像中的AR目标,相比于现有技术中通过人工方式确定AR目标,简化了AR处理操作,提高了AR图像处理的效率。The technical solution provided by this embodiment uses face recognition technology to determine whether the image to be processed is a person image, and if it is a person image, then uses image recognition technology to determine whether the image to be processed contains a characteristic posture, and if it contains a characteristic posture, obtains The feature pose contained in the image to be processed, and the acquired feature pose is used as the AR target to be processed, and AR processing is performed on the acquired feature pose to realize the AR processing of the feature pose in the person image. The face recognition technology and the image recognition technology determine the AR target in the image to be processed, which simplifies the AR processing operation and improves the efficiency of the AR image processing compared with the manual determination of the AR target in the prior art.
示例性的,对所述待处理图像中包含的特征姿势进行AR处理之前,可以包括:启动所述智能终端中的AR处理模式。在本实施例中,智能终端中提供了区别于正常(现实)图片处理模式的AR处理模式,用于对AR目标增加虚拟画面。具体的,若指定路径下的状态标识符的取值为True,则智能终端处于AR处理模式;若状态标识符的取值为False,则智能终端处于正常图片处理模式。Exemplarily, before performing AR processing on the feature gesture contained in the image to be processed, the method may include: starting an AR processing mode in the smart terminal. In this embodiment, the smart terminal provides an AR processing mode different from the normal (real) picture processing mode, and is used to add a virtual picture to the AR target. Specifically, if the value of the status identifier under the specified path is True, the smart terminal is in the AR processing mode; if the value of the status identifier is False, the smart terminal is in the normal image processing mode.
实施例二Embodiment two
本实施例在上述实施例一的基础上,提供了一种新的AR图像处理方法。图2为本发明实施例二提供的AR图像处理方法的流程示意图,如图2所示,该实现流程包括:This embodiment provides a new AR image processing method on the basis of the first embodiment above. Fig. 2 is a schematic flow diagram of the AR image processing method provided in Embodiment 2 of the present invention. As shown in Fig. 2, the implementation flow includes:
步骤21、采用人脸识别技术,确定待处理图像是否为人物图像。Step 21, using face recognition technology to determine whether the image to be processed is a person image.
步骤22、若为人物图像,则采用图像识别技术,确定所述待处理图像中是否包含特征姿势。Step 22. If it is a person image, use image recognition technology to determine whether the image to be processed contains a characteristic pose.
步骤23、若包含特征姿势,则确定所述待处理图像中包含的特征姿势的优先级。Step 23, if the feature pose is included, then determine the priority of the feature pose included in the image to be processed.
具体的,可以依据特征姿势对应的肢体位置预先设定优先级,例如,头部姿势的优先级高于手部姿势的优先级,手部姿势的优先级高于脚部姿势的优先级等。Specifically, the priority can be preset according to the limb position corresponding to the feature pose. For example, the priority of the head pose is higher than that of the hand pose, and the priority of the hand pose is higher than that of the foot pose.
特征姿势的优先级也可以依据对待处理图像的图像识别结果确定。示例性的,确定所述待处理图像中包含的特征姿势的优先级,可以包括:依据所述特征姿势所属人物的位置、脸部面积、脸部朝向或遮挡情况,确定所述待处理图像中包含的特征姿势的优先级。The priority of the feature poses can also be determined according to the image recognition result of the image to be processed. Exemplarily, determining the priority of the feature pose contained in the image to be processed may include: determining the priority of the character in the image to be processed according to the position, face area, face orientation or occlusion of the character to which the feature pose belongs. Priority of included feature poses.
其中,特征姿势的优先级可以依据特征姿势所属人物的优先级确定,如若第一人物的优先级高于第二人物,则第一人物的特征姿势的优先级高于第二人物的特征姿势的优先级;否则,第一人物的特征姿势的优先级低于第二人物的特征姿势的优先级。例如,位置居中人物的优先级高于位置在两侧的人物,位置靠前的人物的优先级高于位置在两侧的人物,脸部面积大的人物的优先级高于脸部面积小的人物,脸部朝前的人物的优先级高于脸部朝侧边的人物,遮挡面积小的人物的优先级高于遮挡面积大的人物等。Wherein, the priority of the characteristic posture can be determined according to the priority of the person to which the characteristic posture belongs. If the priority of the first person is higher than that of the second person, the priority of the characteristic posture of the first person is higher than that of the characteristic posture of the second person. priority; otherwise, the priority of the characteristic pose of the first character is lower than the priority of the characteristic pose of the second character. For example, the priority of a person in the center is higher than that of people on the sides, the priority of a person in the front is higher than that of people on the sides, and the priority of a person with a large face is higher than that of a person with a small face. For people, the priority of the person whose face is facing forward is higher than that of the person whose face is facing sideways, and the priority of the person with a small occlusion area is higher than that of a person with a large occlusion area, etc.
步骤24、依据所述特征姿势的优先级,从所述待处理图像中包含的特征姿势中选择待处理特征姿势。Step 24: Select a feature pose to be processed from feature poses included in the image to be processed according to the priority of the feature pose.
示例性的,为了避免对所有特征姿势作AR处理导致的AR处理工作量较大,可以从待处理图像中包含的特征姿势中选择优先级较高的预设数值个待处理姿势,其中对预设数值不作具体限定,如可以为3。也可以将优先级高于预设优先级的特征姿势确定为待处理姿势。Exemplarily, in order to avoid the heavy workload of AR processing caused by AR processing for all feature poses, a preset number of poses to be processed with higher priority may be selected from the feature poses contained in the image to be processed, where the pre-set The value is not specifically limited, for example, it may be 3. A feature gesture with a priority higher than a preset priority may also be determined as a gesture to be processed.
步骤25、对选择的待处理特征姿势进行AR处理。Step 25, performing AR processing on the selected feature poses to be processed.
本实施例提供的技术方案,通过采用人脸识别技术以及图像识别技术确定待处理图像中是否包含特征姿势,若待处理图像中包含特征姿势,则依据特征姿势的优先级,从待处理图像中包含的特征姿势中选择待处理姿势,并对选择的待处理姿势进行AR处理,该方法基于特征姿势的优先级有选择地对特征姿势进行AR处理,即该方法通过减少AR目标进一步提高了AR图像处理的效率。In the technical solution provided by this embodiment, it is determined whether the image to be processed contains a characteristic pose by using face recognition technology and image recognition technology. If the image to be processed contains a characteristic pose, then according to the priority of the feature pose, the Select the pose to be processed from the included feature poses, and perform AR processing on the selected pose to be processed. This method selectively performs AR processing on the feature poses based on the priority of the feature poses, that is, this method further improves the AR by reducing the AR target. Image processing efficiency.
实施例三Embodiment three
本实施例在上述实施例一的基础上,提供了一种新的AR图像处理方法。图3为本发明实施例三提供的AR图像处理方法的流程示意图,如图3所示,该实现流程包括:This embodiment provides a new AR image processing method on the basis of the first embodiment above. FIG. 3 is a schematic flow diagram of the AR image processing method provided by Embodiment 3 of the present invention. As shown in FIG. 3 , the implementation flow includes:
步骤31、采用人脸识别技术,确定待处理图像是否为人物图像。Step 31, using face recognition technology to determine whether the image to be processed is a person image.
步骤32、若为人物图像,则采用图像识别技术,确定所述待处理图像中是否包含特征姿势。Step 32. If it is a person image, use image recognition technology to determine whether the image to be processed contains a characteristic pose.
需要说明的是,若识别到待处理图像中不包含特征姿势,则对待处理图像的处理方式不作具体限定,如可以对待处理图像作除AR之外的其他处理如美白处理等,也可以停止图像处理操作。It should be noted that if it is recognized that the image to be processed does not contain a characteristic pose, the processing method of the image to be processed is not specifically limited. For example, other processing other than AR can be performed on the image to be processed, such as whitening processing, etc., and the image can also be stopped. Processing operations.
步骤33、若包含特征姿势,则确定所述特征姿势关联的AR处理方式。Step 33: If the feature pose is included, determine the AR processing method associated with the feature pose.
在本实施例中,不同特征姿势关联的AR处理方式可以不同,也可以相同。并且,同一特征姿势关联的AR处理方式可以不止一种。示例性的,所述特征姿势关联的AR处理方式可以包括虚拟吹气效果画面、虚拟表情效果画面或虚拟动作效果画面。例如,奔跑姿势关联的AR处理方式为虚拟汗水图片、吹气姿势关联的AR处理方式为虚拟喷火图片、双手合十姿势关联的AR处理方式为虚拟佛光图片、拥抱姿势关联的AR处理方式为虚拟宠物图片或哭泣姿势关联的AR处理方式为虚拟泪水图片等。In this embodiment, the AR processing methods associated with different feature poses may be different or the same. Moreover, there may be more than one AR processing method associated with the same feature pose. Exemplarily, the AR processing manner associated with the feature gesture may include a virtual blowing effect image, a virtual expression effect image, or a virtual motion effect image. For example, the AR processing method associated with the running posture is a virtual sweat image, the AR processing method associated with the blowing posture is a virtual fire-breathing image, the AR processing method associated with the folded hands posture is a virtual Buddha light image, and the AR processing method associated with the hugging posture is a virtual image. The AR processing method associated with pet pictures or crying gestures is virtual tear pictures, etc.
步骤34、采用确定的AR处理方式,对所述待处理图像中包含的特征姿势进行AR处理。Step 34: Perform AR processing on the feature pose contained in the image to be processed by using the determined AR processing method.
本实施例提供的技术方案,通过采用图像识别技术确定待处理图像中是否包含特征姿势,若待处理图像中包含特征姿势,则确定特征姿势关联的AR处理方式,并采用确定的AR处理方式对特征姿势进行AR处理,进一步提升了AR图像处理的效果。In the technical solution provided by this embodiment, by using image recognition technology to determine whether the image to be processed contains a characteristic pose, if the image to be processed contains a characteristic pose, then determine the AR processing method associated with the characteristic pose, and use the determined AR processing method to AR processing is performed on feature poses, which further improves the effect of AR image processing.
实施例四Embodiment Four
图4为本发明实施例四提供的AR图像处理装置的结构示意图,该装置可以配置于智能终端中。如图4所示,该AR图像处理装置的具体结构可以包括:FIG. 4 is a schematic structural diagram of an AR image processing device provided in Embodiment 4 of the present invention, and the device can be configured in a smart terminal. As shown in Figure 4, the specific structure of the AR image processing device may include:
图像识别模块41,用于采用人脸识别技术,确定待处理图像是否为人物图像;The image recognition module 41 is used to adopt face recognition technology to determine whether the image to be processed is a person image;
姿势识别模块42,用于若为人物图像,则采用图像识别技术,确定所述待处理图像中是否包含特征姿势;Gesture recognition module 42, for if it is a person image, then adopt image recognition technology to determine whether the image to be processed contains a characteristic posture;
姿势处理模块43,用于若包含特征姿势,则对所述待处理图像中包含的特征姿势进行AR处理。The gesture processing module 43 is configured to perform AR processing on the feature gesture contained in the image to be processed if the feature gesture is included.
示例性的,所述姿势处理模块43可以包括:Exemplary, the gesture processing module 43 may include:
优先级确定单元,用于若包含特征姿势,则确定所述待处理图像中包含的特征姿势的优先级;A priority determining unit, configured to determine the priority of the feature pose contained in the image to be processed if the feature pose is included;
姿势选择单元,用于依据所述特征姿势的优先级,从所述待处理图像中包含的特征姿势中选择待处理特征姿势;A pose selection unit, configured to select a feature pose to be processed from feature poses contained in the image to be processed according to the priority of the feature pose;
第一姿势处理单元,用于对选择的待处理特征姿势进行AR处理。The first gesture processing unit is configured to perform AR processing on the selected feature gestures to be processed.
示例性的,所述优先级确定单元具体可以用于:Exemplarily, the priority determination unit may be specifically configured to:
依据所述特征姿势所属人物的位置、脸部面积、脸部朝向或遮挡情况,确定所述待处理图像中包含的特征姿势的优先级。The priority of the feature poses included in the image to be processed is determined according to the position, face area, face orientation or occlusion of the person to which the feature poses belong.
示例性的,该装置可以包括:Exemplary, the device may include:
模式启动模块,用于在对所述待处理图像中包含的特征姿势进行AR处理之前,启动所述智能终端中的AR处理模式。A mode starting module, configured to start an AR processing mode in the smart terminal before performing AR processing on the feature gesture contained in the image to be processed.
示例性的,所述姿势处理模块43可以包括:Exemplary, the gesture processing module 43 may include:
处理方式确定单元,用于若包含特征姿势,则确定所述特征姿势关联的AR处理方式;A processing mode determining unit, configured to determine the AR processing mode associated with the feature pose if the feature pose is included;
第二姿势处理单元,用于采用确定的AR处理方式,对所述待处理图像中包含的特征姿势进行AR处理。The second gesture processing unit is configured to perform AR processing on the feature gesture contained in the image to be processed by using a determined AR processing manner.
示例性的,所述特征姿势关联的AR处理方式可以包括虚拟吹气效果画面、虚拟表情效果画面或虚拟动作效果画面。Exemplarily, the AR processing manner associated with the feature gesture may include a virtual blowing effect image, a virtual expression effect image, or a virtual motion effect image.
本实施例提供的AR图像处理装置,与本发明任意实施例所提供的AR图像处理方法属于同一发明构思,可执行本发明任意实施例所提供的AR图像处理方法,具备执行AR图像处理方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明任意实施例提供的AR图像处理方法。The AR image processing device provided in this embodiment belongs to the same inventive concept as the AR image processing method provided in any embodiment of the present invention, can execute the AR image processing method provided in any embodiment of the present invention, and is capable of executing the AR image processing method. functional modules and beneficial effects. For technical details not exhaustively described in this embodiment, refer to the AR image processing method provided in any embodiment of the present invention.
实施例五Embodiment five
本实施例提供了一种智能终端,该智能终端可以包括本发明任意实施例提供的AR图像处理装置。图5为本发明实施例五提供的智能终端的结构示意图,如图5所示,图示智能手机500可以包括:存储器501、中央处理器(Central Processing Unit,以下简称CPU)502、外设接口503、RF电路505、音频电路506、扬声器511、电源管理芯片508、输入/输出(I/O)子系统509、其他输入/控制设备510以及外部端口504,这些部件通过一个或多个通信总线或信号线507来通信。This embodiment provides an intelligent terminal, and the intelligent terminal may include the AR image processing apparatus provided by any embodiment of the present invention. FIG. 5 is a schematic structural diagram of a smart terminal provided in Embodiment 5 of the present invention. As shown in FIG. 5 , a smart phone 500 shown in the figure may include: a memory 501, a central processing unit (Central Processing Unit, hereinafter referred to as CPU) 502, a peripheral interface 503, RF circuit 505, audio circuit 506, speaker 511, power management chip 508, input/output (I/O) subsystem 509, other input/control devices 510, and external port 504, these components communicate via one or more communication buses Or signal line 507 to communicate.
应该理解的是,图示智能手机500仅仅智能终端的一个范例,并且智能手机500可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated smartphone 500 is only one example of a smart terminal, and that the smartphone 500 may have more or fewer components than shown, two or more components may be combined, or Different component configurations are possible. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的用于AR图像处理的智能手机进行详细的描述。The smart phone used for AR image processing provided by this embodiment will be described in detail below.
存储器501:所述存储器501可以被CPU502、外设接口503等访问,所述存储器501可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 501: The memory 501 can be accessed by the CPU 502, the peripheral interface 503, etc. The memory 501 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.
外设接口503,所述外设接口可以将设备的输入和输出外设连接到CPU502和存储器501。Peripheral interface 503 , which can connect the input and output peripherals of the device to CPU 502 and memory 501 .
I/O子系统509:所述I/O子系统509可以将设备上的输入输出外设,例如触摸屏502(相当于上述实施例中的显示器)和其他输入/控制设备510,连接到外设接口503。I/O子系统509可以包括显示控制器5091和用于控制其他输入/控制设备510的一个或多个输入控制器5092。其中,一个或多个输入控制器5092从其他输入/控制设备510接收电信号或者向其他输入/控制设备510发送电信号,其他输入/控制设备510可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器5092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 509: The I/O subsystem 509 can connect the input and output peripherals on the device, such as the touch screen 502 (equivalent to the display in the above-mentioned embodiment) and other input/control devices 510, to the peripherals Interface 503. I/O subsystem 509 may include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510 . Among them, one or more input controllers 5092 receive electrical signals from or send electrical signals to other input/control devices 510, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It should be noted that the input controller 5092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏512:所述触摸屏512是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。Touch screen 512: The touch screen 512 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like.
I/O子系统509中的显示控制器5091从触摸屏512接收电信号或者向触摸屏512发送电信号。触摸屏512检测触摸屏上的接触,显示控制器5091将检测到的接触转换为与显示在触摸屏512上的用户界面对象的交互,即实现人机交互,显示在触摸屏512上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 5091 in the I/O subsystem 509 receives electrical signals from the touch screen 512 or sends electrical signals to the touch screen 512 . The touch screen 512 detects the contact on the touch screen, and the display controller 5091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 512, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 512 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touch screen.
RF电路505,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路505接收并发送RF信号,RF信号也称为电磁信号,RF电路505将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路505可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC芯片组、用户标识模块(Subscriber IdentityModule,SIM)等等。The RF circuit 505 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 505 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 505 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 505 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip Group, Subscriber Identity Module (Subscriber Identity Module, SIM) and so on.
音频电路506,主要用于从外设接口503接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器511。The audio circuit 506 is mainly used to receive audio data from the peripheral interface 503 , convert the audio data into electrical signals, and send the electrical signals to the speaker 511 .
扬声器511,用于将手机通过RF电路505从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 511 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 505 into sound and play the sound to the user.
电源管理芯片508,用于为CPU502、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 508 is used for power supply and power management for the hardware connected to the CPU 502 , the I/O subsystem and the peripheral interface.
本发明实施例提供的CPU502可执行如下操作:The CPU 502 provided by the embodiment of the present invention can perform the following operations:
采用人脸识别技术,确定待处理图像是否为人物图像;Use face recognition technology to determine whether the image to be processed is a human image;
若为人物图像,则采用图像识别技术,确定所述待处理图像中是否包含特征姿势;If it is an image of a person, image recognition technology is used to determine whether the image to be processed contains a characteristic pose;
若包含特征姿势,则对所述待处理图像中包含的特征姿势进行AR处理。If the feature pose is included, AR processing is performed on the feature pose included in the image to be processed.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610503161.1A CN106203280A (en) | 2016-06-28 | 2016-06-28 | A kind of augmented reality AR image processing method, device and intelligent terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610503161.1A CN106203280A (en) | 2016-06-28 | 2016-06-28 | A kind of augmented reality AR image processing method, device and intelligent terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106203280A true CN106203280A (en) | 2016-12-07 |
Family
ID=57463644
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610503161.1A Pending CN106203280A (en) | 2016-06-28 | 2016-06-28 | A kind of augmented reality AR image processing method, device and intelligent terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106203280A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108021896A (en) * | 2017-12-08 | 2018-05-11 | 北京百度网讯科技有限公司 | Image pickup method, device, equipment and computer-readable medium based on augmented reality |
| CN112149483A (en) * | 2019-06-29 | 2020-12-29 | 华为技术有限公司 | Blowing detection method and device |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101247482A (en) * | 2007-05-16 | 2008-08-20 | 北京思比科微电子技术有限公司 | Method and device for implementing dynamic image processing |
| EP2141656A1 (en) * | 2008-06-30 | 2010-01-06 | Total Immersion | Method and device for real-time detection of interactions between a user and an augmented-reality scene |
| CN102332095A (en) * | 2011-10-28 | 2012-01-25 | 中国科学院计算技术研究所 | Face motion tracking method, face motion tracking system and method for enhancing reality |
| CN102360504A (en) * | 2011-10-20 | 2012-02-22 | 北京航空航天大学 | Self-adaptation virtual and actual three-dimensional registration method based on multiple natural characteristics |
| CN103262097A (en) * | 2010-12-17 | 2013-08-21 | 高通股份有限公司 | Augmented reality processing based on eye capture in handheld device |
| CN104240277A (en) * | 2013-06-24 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Augmented reality interaction method and system based on human face detection |
| CN105103082A (en) * | 2012-12-11 | 2015-11-25 | 微软技术许可有限责任公司 | People-triggered holographic reminders |
-
2016
- 2016-06-28 CN CN201610503161.1A patent/CN106203280A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101247482A (en) * | 2007-05-16 | 2008-08-20 | 北京思比科微电子技术有限公司 | Method and device for implementing dynamic image processing |
| EP2141656A1 (en) * | 2008-06-30 | 2010-01-06 | Total Immersion | Method and device for real-time detection of interactions between a user and an augmented-reality scene |
| CN103262097A (en) * | 2010-12-17 | 2013-08-21 | 高通股份有限公司 | Augmented reality processing based on eye capture in handheld device |
| CN102360504A (en) * | 2011-10-20 | 2012-02-22 | 北京航空航天大学 | Self-adaptation virtual and actual three-dimensional registration method based on multiple natural characteristics |
| CN102332095A (en) * | 2011-10-28 | 2012-01-25 | 中国科学院计算技术研究所 | Face motion tracking method, face motion tracking system and method for enhancing reality |
| CN105103082A (en) * | 2012-12-11 | 2015-11-25 | 微软技术许可有限责任公司 | People-triggered holographic reminders |
| CN104240277A (en) * | 2013-06-24 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Augmented reality interaction method and system based on human face detection |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108021896A (en) * | 2017-12-08 | 2018-05-11 | 北京百度网讯科技有限公司 | Image pickup method, device, equipment and computer-readable medium based on augmented reality |
| CN112149483A (en) * | 2019-06-29 | 2020-12-29 | 华为技术有限公司 | Blowing detection method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105979035B (en) | An augmented reality AR image processing method, device and intelligent terminal | |
| CN106778585B (en) | A kind of face key point-tracking method and device | |
| CN108234276B (en) | Method, terminal and system for interaction between virtual images | |
| CN106919243B (en) | Mobile terminal control method and device and mobile terminal | |
| CN108255304B (en) | Video data processing method and device based on augmented reality and storage medium | |
| US20150049924A1 (en) | Method, terminal device and storage medium for processing image | |
| CN106303029A (en) | A screen rotation control method, device and mobile terminal | |
| CN108876878B (en) | Head portrait generation method and device | |
| CN108958606B (en) | Split screen display method and device, storage medium and electronic equipment | |
| CN106959761A (en) | A terminal photographing method, device and terminal | |
| CN107749046B (en) | Image processing method and mobile terminal | |
| CN108958587B (en) | Split screen processing method and device, storage medium and electronic equipment | |
| CN108595000A (en) | screen brightness adjusting method and device | |
| CN105141854A (en) | Flash control method, device and terminal equipment | |
| CN108495049A (en) | Shooting control method and related product | |
| CN106326773A (en) | Method and device for photo encryption management as well as terminal | |
| CN103399657B (en) | The control method of mouse pointer, device and terminal unit | |
| CN114077465A (en) | UI interface rendering method, device, electronic device and storage medium | |
| CN105979154A (en) | A shooting method, device and intelligent terminal of augmented reality AR | |
| CN112703534B (en) | Image processing method and related product | |
| CN108683872B (en) | Video call method, device, storage medium and mobile terminal | |
| CN106210510B (en) | Photographing method and device based on image adjustment and terminal | |
| CN106127166A (en) | A kind of augmented reality AR image processing method, device and intelligent terminal | |
| CN110333785B (en) | Information processing method and device, storage medium and augmented reality equipment | |
| CN106203280A (en) | A kind of augmented reality AR image processing method, device and intelligent terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |
|
| RJ01 | Rejection of invention patent application after publication |