Image processing method and apparatus, electronic device, and computer-readable storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsYuanli Zheng, Zhaopeng Gu, Nianhua Xie
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsYuanli Zheng, Zhaopeng Gu, Nianhua Xie
Estimating the term…
The present disclosure provides an image processing method and apparatus, an electronic device, and a computer-readable storage medium. The method includes: obtaining a to-be-processed video comprising m frames of images, m being a positive integer greater than or equal to 2; placing a three-dimensional model on a target plane of a first frame of image of the to-be-processed video, a plurality of feature points of a model surface of the three-dimensional model falling on the target plane; determining three-dimensional coordinates of the plurality of feature points of the model surface in a world coordinate system and pixel coordinates of the plurality of feature points of the model surface on the first frame of image; determining, according to the three-dimensional coordinates of the plurality of feature points of the model surface in the world coordinate system and the pixel coordinates of the plurality of feature points of the model surface on the first frame of image, a pose of a camera coordinate system of the first frame of image relative to the world coordinate system; determining, according to the target plane, the three-dimensional coordinates of the plurality of feature points of the model surface in the world coordinate system, and the pixel coordinates of the plurality of feature points of the model surface on the first frame of image, poses of camera coordinate systems of a second frame of image to an mth frame of image of the to-be-processed video relative to the world coordinate system; and replacing the three-dimensional model with a target model and placing the target model on the world coordinate system to generate, according to the pose of the camera coordinate system of each frame of image of the to-be-processed video relative to the world coordinate system, a target video comprising the target model.
A method for image processing, comprising:
A device for image processing, comprising a memory for storing instructions and a processor in communication with the memory, wherein the processor is configured to execute the instructions to cause the device to:
A non-transitory storage medium for storing computer readable instructions, the computer readable instructions, when executed by a processor, causing the processor to:
Dependencies are inferred from the claim text.