Image processing method and device

The invention discloses an image processing method and device, and the method comprises the steps: recognizing and cutting a target image frame, and obtaining N first face images, N being a positive integer; inputting the N first face images into a target network model to generate N face models; a f...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LUO YIYAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an image processing method and device, and the method comprises the steps: recognizing and cutting a target image frame, and obtaining N first face images, N being a positive integer; inputting the N first face images into a target network model to generate N face models; a first face model and M second face models in the N face models are determined, M is smaller than N, and M is a positive integer; copying expression information of the first face model to M second face models; rendering the first face model and the M second face models to obtain a second face image and M third face images; and updating the image content in the target image frame according to the second face image and the M third face images. 本申请公开了一种图像处理方法及其装置,图像处理方法包括:识别并裁剪目标图像帧,得到N张第一面部图像,N为正整数;将N张第一面部图像输入至目标网络模型,生成N个面部模型;确定N个面部模型中的第一面部模型和M个第二面部模型,M<N,M为正整数;将第一面部模型的表情信息,复制到M个第二面部模型;对第一面部模型和M个第二面部模型进行渲染,以得到第二面部图像和M个第三面部图像;根据第二面部图像和M个第三面部图像,更新目标图像帧中的图像内容。