Image Transformation Method and Apparatus
An image transformation method includes obtaining a first image for a target scenario by using a front-facing camera, where the target scenario includes a face of a target person; obtaining a target distance between the face of the target person and the front-facing camera; and when the target dista...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | An image transformation method includes obtaining a first image for a target scenario by using a front-facing camera, where the target scenario includes a face of a target person; obtaining a target distance between the face of the target person and the front-facing camera; and when the target distance is less than a preset threshold, performing first processing on the first image to obtain a second image. The first processing includes performing distortion correction on the first image based on the target distance. The face of the target person in the second image is closer to a real appearance of the face of the target person than the face of the target person in the first image. |
---|