Method and apparatus for generating video from image, and electronic device
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorsXiaoqian WANG, Yulong LIU
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method and apparatus for generating a video from an image, and an electronic device. The method for generating a video from an image comprises: obtaining a first image; inputting the first image into a target image processing model; obtaining a first flow parameter outputted by the target image processing model for the first image; performing flow processing on the first image on the basis of the first flow parameter so as to generate a plurality of second image frames; and combining the plurality of second image frames to obtain a video, the first flow parameter comprising at least one area and a flow direction of each area.
Claims22
A method for generating a video from an image, comprising:
- acquiring a first image;
- inputting the first image into a target image processing model to acquire a first flow parameter output by the target image processing model for the first image, wherein the first flow parameter includes at least one region and a flow direction of each region;
- performing processing on the first image based on the first flow parameter to generate a plurality of frames of second images;
- and combining the plurality of frames of second images to obtain a video.
(canceled)
An electronic device, comprising a processor and a memory, wherein a computer program is stored on the memory, and the computer program, when executed by the processor, causes the processor to implement:
- acquiring a first image;
- inputting the first image into a target image processing model to acquire a first flow parameter output by the target image processing model for the first image, wherein the first flow parameter includes at least one region and a flow direction of each region;
- performing processing on the first image based on the first flow parameter to generate a plurality of frames of second images;
- and combining the plurality of frames of second images to obtain a video.
A non-transitory computer-readable storage medium, including:
- a computer program stored on the computer-readable storage medium, which, when executed by a processor, causes the processor to implement:
- acquiring a first image;
- inputting the first image into a target image processing model to acquire a first flow parameter output by the target image processing model for the first image, wherein the first flow parameter includes at least one region and a flow direction of each region;
- performing processing on the first image based on the first flow parameter to generate a plurality of frames of second images;
- and combining the plurality of frames of second images to obtain a video.
16-17. (canceled)
Dependencies are inferred from the claim text.