Method for processing image by using artificial neural network, and electronic device supporting same
摘要:
An electronic device according to various embodiments of the present invention, may include a camera, a motion sensor, a memory, and at least one processor, wherein the at least one processor may be configured to, by using the camera, acquire a first image frame, a plurality of second image frames successive to the first image frame, and a third image frame immediately before the first image frame, while the camera acquires the third image frame, the first image frame, and the plurality of the second image frames, detect a movement of the electronic device using the motion sensor, determine a first position of the camera corresponding to the first image frame and a plurality of second positions of the camera corresponding to the plurality of the second image frames respectively, based at least in part on the movement of the electronic device, the first image frame, the plurality of the second image frames, and the third image frame, correct the first position, by conducting computations using a weight learned through an artificial neural network, the first position, the plurality of the second positions, and a post-correction position of a third position of the camera corresponding to the third image frame, and correct the first image frame, based at least in part on the corrected first position.
信息查询
0/0