System and method for adjusting orientation of captured video
First Claim
Patent Images
1. A method of encoding a video captured on a video capture device at two orientations, comprising:
- reading orientation data for a first orientation from the video capture, device as a video of a scene is being captured, wherein the first orientation has a first resolution;
determining that the video capture device is rotated to a second orientation as the video of the scene is being captured, wherein the second orientation has a second resolution;
reading orientation data from the video capture device as a video of the scene is being captured when the video capture device is in the second orientation;
generating a rotation matrix based on a relationship between the first orientation and the second orientation;
adjusting the orientation of frames of the video captured when the video capture device is in the second orientation to match the orientation of the video captured when the video capture device is in the first orientation;
cropping the adjusted frames of the video captured when the video capture device is in the second orientation, the cropped frames having the first resolution; and
encoding the cropped frames of the captured video.
1 Assignment
0 Petitions
Accused Products
Abstract
Described herein is a system and method for adjusting the orientation of captured video utilizing the data received from a built-in inertial measurement unit such as an accelerometer. During video capture, the device may be held in a position that is not fully vertical or horizontal, and thus not match the true orientation of a scene. This can cause the captured video to appear rotated during playback at the same angle of rotation as the video capture device. The described system can adjust the playback orientation of the rotated video by utilizing sensor data captured during the same time as the video was captured.
36 Citations
20 Claims
-
1. A method of encoding a video captured on a video capture device at two orientations, comprising:
-
reading orientation data for a first orientation from the video capture, device as a video of a scene is being captured, wherein the first orientation has a first resolution; determining that the video capture device is rotated to a second orientation as the video of the scene is being captured, wherein the second orientation has a second resolution; reading orientation data from the video capture device as a video of the scene is being captured when the video capture device is in the second orientation; generating a rotation matrix based on a relationship between the first orientation and the second orientation; adjusting the orientation of frames of the video captured when the video capture device is in the second orientation to match the orientation of the video captured when the video capture device is in the first orientation; cropping the adjusted frames of the video captured when the video capture device is in the second orientation, the cropped frames having the first resolution; and encoding the cropped frames of the captured video. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for encoding a video capture on a video capture device at two orientations, comprising:
-
an image sensor configured to capture a video of a scene; an inertial measurement unit comprising at least one of an accelerometer or a gyroscope configured to provide orientation data from the video capture device as a video of a scene is being captured when the video capture device is in a first orientation and provide orientation from the video capture device as a video of a scene is being captured when the video capture device is rotated to a second orientation, wherein the first orientation has a first resolution and the second orientation has a second resolution; a processor executing a rotation module configured to; generate a rotation matrix based on a relationship between the first orientation and the second orientation, adjust the orientation of frames of the video captured when the video capture device is in the second orientation to match the orientation of the video captured when the video capture device is in the first orientation, and crop the adjusted frames of the video captured when the video capture device is in the second orientation, the cropped frames having the first resolution; and an encoder configured to encode the cropped frames of the captured video. - View Dependent Claims (11, 12, 13)
-
-
14. A system of encoding a video captured on a video capture device at two orientations, comprising:
-
means for reading orientation data from the video capture device as a video of a scene is being captured when the video capture device is in a first orientation, wherein the first orientation has a first resolution; means for determining that the video capture device is rotated to a second orientation as the video of the scene is being captured, wherein the second orientation has a second resolution; means for reading orientation data from the video capture device as a video of the scene is being captured when the video capture device is in the second orientation; means for generating a rotation matrix based on a relationship between the first orientation and the second orientation; means for adjusting the orientation of frames of the video captured when the video capture device is in the second orientation to match the orientation of the video captured when the video capture device is in the first orientation; means for cropping the adjusted frames of the video captured when the video capture device is in the second orientation, the cropped frames having the first resolution; and means for encoding the cropped frames of the captured video. - View Dependent Claims (15, 16, 17)
-
-
18. A non-transient computer readable medium configured to store instructions that when executed by a processor perform a method comprising:
-
reading orientation data for a first orientation from a video capture device as a video of a scene is being captured, wherein the first orientation has a first resolution; determining that the video capture device is rotated to a second orientation as the video of the scene is being captured, wherein the second orientation has a second resolution; reading orientation data from the video capture device as a video of the scene is being captured when the video capture device is in the second orientation; generating a rotation matrix based on a relationship between the first orientation and the second orientation; adjusting the orientation of frames of the video captured when the video capture device is in the second orientation to match the orientation of the video captured when the video capture device is in the first orientation such that the video remains encoded at the first orientation after the video capture device moves to the second orientation; cropping the adjusted frames of the video captured when the video capture device is in the second orientation, the cropped frames having the first resolution; and encoding the cropped frames of the captured video. - View Dependent Claims (19, 20)
-
Specification