Video data processing technology for reducing transmission bandwidth
Provided is a method for processing video data. The method includes storing data of a video captured by a camera, selecting one or more video frames from among a plurality of video frames constituting at least a portion of the stored video data, dividing the one or more selected video frames into a plurality of sub-regions, and arranging the plurality of sub-regions according to a predetermined arrangement order and generating a sub-video stream, which includes the plurality of arranged sub-regions as a plurality of sub-video frames.
1 . A method for processing video data, comprising:
storing data of a video captured by a camera;
selecting one or more video frames from among a plurality of video frames constituting at least a portion of the stored video data;
dividing the one or more selected video frames into a plurality of sub-regions, wherein the sub-regions are divided regions of a single frame;
arranging the plurality of sub-regions according to a predetermined arrangement order and generating a sub-video stream, which includes the plurality of arranged sub-regions as a plurality of sub-video frames; and
wherein the plurality of sub-regions are classified into a plurality of sub-regions corresponding to a foreground region that includes an object of interest region and a plurality of sub-regions corresponding to a background region that does not include the object of interest region.
2 . The method of claim 1 , further comprising:
transmitting the generated sub-video stream to a monitoring server.
3 . The method of claim 1 , wherein, in the selecting of the one or more video frames from among the plurality of video frames, the selected video frame includes one or more best shots.
4 . The method of claim 3 , wherein the best shot includes an image of an object with the highest object identification score calculated based on a size of a region occupied by the object and an orientation and sharpness of the object.
5 . The method of claim 1 , wherein, in the selecting of the one or more video frames from among the plurality of video frames, the selected video frame includes one or more event detection shots.
6 . The method of claim 5 , wherein the event detection shot includes an image captured upon detecting a preset event.
7 . The method of claim 1 , wherein, in the selecting of the one or more video frames from among the plurality of video frames, the selected video frame includes a plurality of video frames captured at predetermined time intervals.
8 . The method of claim 1 , wherein in the generating of the sub-video stream, a foreground sub-video stream is generated by the plurality of sub-regions included in the foreground region, and a background sub-video stream is generated by the plurality of sub-regions included in the background region.
9 . The method of claim 8 , wherein, as the background sub-video stream is generated, a quantization coefficient of the background sub-video stream is set to be greater than a quantization coefficient of the foreground sub-video stream.
10 . The method of claim 1 , wherein, in the selecting of the one or more video frames from among the plurality of video frames, a first video frame is selected as an N th video frame, and
a second video frame is selected as an (N+1) th video frame.
11 . The method of claim 10 , wherein as similarity value between the first video frame and the second video frame is a predetermined threshold value or more, a quantization coefficient of a second sub-video stream generated by the second video frame is set to be greater than a quantization coefficient of a first sub-video stream generated by the first video frame.
12 . A method for processing video data, comprising:
storing data of a video captured by a camera;
selecting one or more video frames from among a plurality of video frames constituting at least a portion of the stored video data;
dividing the one or more selected video frames into a plurality of sub-regions, wherein the sub-regions are divided regions of a single frame;
arranging the plurality of sub-regions according to a predetermined arrangement order and generating a sub-video stream, which includes the plurality of arranged sub-regions as a plurality of sub-video frames; and
further comprising transmitting a summary image including the one or more selected video frames to a monitoring server,
wherein size of area of each video frame in the summary image is determined according to an importance score of each video frame.
13 . A device for processing video data, comprising:
a memory configured to store input data; and
a processor coupled to the memory,
wherein the processor is configured to perform operations of:
storing data of a video captured by a camera;
selecting one or more video frames from among a plurality of video frames constituting at least a portion of the stored video data;
dividing the one or more selected video frames into a plurality of sub-regions wherein the sub-regions are divided regions of a single frame;
arranging the plurality of sub-regions according to a predetermined arrangement order and generating a sub-video stream, which includes the plurality of arranged sub-regions as a plurality of sub-video frames; and
wherein the plurality of sub-regions are classified into a plurality of sub-regions corresponding to a foreground region that includes an object of interest region and a plurality of sub-regions corresponding to a background region that does not include the object of interest region.
14 . The device of claim 13 , wherein, in the selecting of the one or more video frames from among the plurality of video frames, the selected video frame includes one or more best shots.
15 . The device of claim 14 , wherein the best shot includes an image of an object with a highest object identification score calculated based on a size of a region occupied by the object and an orientation and sharpness of the object.
16 . The device of claim 13 , wherein, in the selecting of the one or more video frames from among the plurality of video frames, the selected video frame includes one or more event detection shots.
17 . The device of claim 16 , wherein the event detection shot includes an image captured upon detecting a preset event.
18 . The device of claim 13 , wherein, in the selecting of the one or more video frames from among the plurality of video frames, the selected video frame includes a plurality of video frames captured at predetermined time intervals.