Information processing device and program
The information processing device automates the generation of video tags by calculating key frame information and converting it into a data file, addressing inefficiencies in existing user-driven tag generation methods.
Patent Information
- Application Number
- JP2023052009
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2043-03-28
AI Technical Summary
Existing technologies require significant user input for generating tags in videos, such as setting display periods and positions, leading to time and effort inefficiencies.
An information processing device that calculates key frame information from a video and converts it into a data file with tags, including display period, position, size, and trajectory information, reducing the need for manual user input.
The solution significantly reduces the effort required to generate tags in videos by automating the process, considering display periods, positions, sizes, and movement trajectories of layers.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device and a program. [Background technology]
[0002] 2. Description of the Related Art Techniques for playing back moving images have been known for some time.
[0003] In this regard, Patent Document 1 discloses a technique for generating an operation area (tag) on a video that is operable by a user. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 6754336 Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the technology described in Patent Document 1, when generating tags, it is necessary to accept various settings from the user, such as the display period and display position of the tag in the video. Therefore, the technology described in Patent Document 1 has a problem in that it takes time and effort every time a tag is generated.
[0006] The present invention has been made in consideration of the above problems, and has as its object to provide an information processing device and a program that can reduce the effort required for generating tags related to moving images. [Means for solving the problem]
[0007] In order to solve the above problems, the information processing device of the present invention comprises an acquisition unit that acquires a moving image, a calculation unit that calculates key frame information, which is information regarding key frames contained in the moving image, from the moving image acquired by the acquisition unit, and a conversion unit that converts the key frame information calculated by the calculation unit into a data file of a predetermined format including tags to be displayed on the moving image.
[0008] The information processing device of the present invention further includes a playback unit that refers to the data file converted by the conversion unit and plays back the tag and the video included in the referenced data file.
[0009] In addition, the video includes a plurality of layers, and the calculation unit calculates the key frame information so as to include, for each layer, display period information relating to a display start time and a display end time, and position information relating to a position on the video at the display start time and the display end time.
[0010] The calculation unit also calculates the key frame information so as to include size information relating to the size on the video for each layer.
[0011] In addition, the calculation unit extracts coordinate information regarding the coordinates of vertices for each layer for each display time of the video, and calculates the key frame information based on the extracted coordinate information so as to include the position information and trajectory information regarding the trajectory of movement of the layer on the video.
[0012] The conversion unit also generates the tag for each layer so that the tag is displayed in the video along a trajectory that conforms to the trajectory information, and converts the key frame information into the data file so as to include the generated tag.
[0013] In addition, the conversion unit generates the tag for each layer so that the tag is displayed in the video for a period according to the display period information and at a position according to the position information, and converts the key frame information into the data file so as to include the generated tag.
[0014] In addition, the program of the present invention is a program for causing a computer to function as an acquisition unit that acquires a video, a calculation unit that calculates key frame information, which is information regarding key frames contained in the video, from the video acquired by the acquisition unit, and a conversion unit that converts the key frame information calculated by the calculation unit into a data file of a predetermined format including tags to be displayed on the video. Effect of the Invention
[0015] According to the present invention, an information processing device and a program can reduce the effort required for generating tags related to moving images. [Brief description of the drawings]
[0016] [Figure 1] 1 is a diagram illustrating an example of a hardware configuration of an information processing device according to the present invention. [Diagram 2] 2 is a block diagram showing an example of a functional configuration of the information processing device shown in FIG. 1. [Diagram 3] FIG. 3 is a diagram showing an example of key frame information shown in FIG. 2. [Figure 4A] 3 is a diagram showing an example of the movement of tags displayed in the moving image shown in FIG. 2. [Figure 4B] 3 is a diagram showing an example of the movement of tags displayed in the moving image shown in FIG. 2. [Figure 4C] 3 is a diagram showing an example of the movement of tags displayed in the moving image shown in FIG. 2. [Figure 4D] 3 is a diagram showing an example of the movement of tags displayed in the moving image shown in FIG. 2. [Diagram 5] 3A and 3B are diagrams showing another example of the movement of the tags displayed in the moving image shown in FIG. 2. [Figure 6] 10 is a flowchart showing an example of a processing flow when the information processing device shown in FIG. 1 calculates key frame information from a moving image and converts it into a data file. [Figure 7] 4 is a flowchart showing an example of a processing flow when the information processing device shown in FIG. 1 plays back a moving image. [Figure 8]10 is a flowchart showing another example of the processing flow when the information processing device shown in FIG. 1 calculates key frame information from a moving image and converts it into a data file. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] Hereinafter, an embodiment of the present invention (hereinafter, referred to as "the present embodiment") will be described with reference to the accompanying drawings. In order to facilitate understanding of the description, the same components and steps in each drawing are denoted by the same reference numerals as much as possible, and duplicated descriptions will be omitted.
[0018] <Hardware configuration> Fig. 1 is a diagram showing an example of a hardware configuration of an information processing device 10 according to the present invention. As shown in Fig. 1, the information processing device 10 mainly includes a storage device 11, a CPU (Central Processing Unit) 12, a memory 13, a communication device 14, and an input / output device 15, for example.
[0019] The storage device 11 is configured with a hard disk etc. This storage device 11 stores various programs and various information required for the execution of processes in the CPU 12, and information on the results of the processes.
[0020] The CPU 12 functions as various functional components by executing predetermined programs stored in the memory 13 or the storage device 11, etc. The details of these functional components will be described later.
[0021] The communication device 14 is configured with a communication interface for communicating with an external device, etc. The communication device 14 transmits and receives various information to and from a terminal of a user who views the video 101, for example.
[0022] The input / output device 15 receives inputs for an operator of the information processing device 10 to operate the information processing device 10, and displays information provided by the information processing device 10 to the operator.
[0023] The information processing device 10 can be realized by using a dedicated or general-purpose server computer, etc. The information processing device 10 may be configured by a single device, or may be configured by multiple devices distributed over a communication network. Fig. 1 shows only a part of the main hardware configuration of the information processing device 10, and the information processing device 10 may be configured with other components that a computer generally has.
[0024] <Functional configuration> Fig. 2 is a block diagram showing an example of a functional configuration of the information processing device 10 shown in Fig. 1. As shown in Fig. 2, the information processing device 10 includes, as functional configurations, for example, a storage unit 100, an acquisition unit 110, a calculation unit 120, a conversion unit 130, and a reproduction unit 150. The functional configurations other than the storage unit 100 are realized by the CPU 12 executing a program stored in the storage device 11 or the like.
[0025] The storage unit 100 is a functional configuration for storing a moving image 101, key frame information 102, a data file 103, and the like.
[0026] The video 101 is video content that the information processing device 10 provides to an operator of the information processing device 10, a user who accesses the information processing device 10 via a communication network and views the video 101, and the video 101 is stored in the storage unit 100. The video 101 includes layers that correspond to each object displayed in the video 101 and indicate hierarchical relationships between the objects. The video 101 also includes information about key frames that indicate frames that are base points for the movements of each layer in the video 101.
[0027] The key frame information 102 is information about key frames included in the video 101 , and is stored in the storage unit 100 .
[0028] The key frame information 102 will be described in detail with reference to Fig. 3. Fig. 3 is a diagram showing an example of the key frame information 102 shown in Fig. 2. The key frame information 102 includes, for each layer included in the video 101, identification information, size information, display period information, position information, and trajectory information.
[0029] The identification information is an identification for identifying each layer, and includes, for example, an identification number and a layer name. The identification number is a number assigned to each layer. The layer name is a name given to each layer. The layer name is given so that an operator of the information processing device 10 or a user viewing the video 101 can easily identify an object corresponding to the layer.
[0030] The size information is information indicating the vertical and horizontal lengths of each layer when the video 101 is viewed from the front, and includes, for example, height and width. The height is height information indicating the vertical length of each layer when the video 101 is viewed from the front. The height is indicated, for example, by the number of pixels or a ratio to the vertical length of the video 101. The width is information indicating the horizontal length of each layer when the video 101 is viewed from the front. The width is indicated, for example, by the number of pixels or a ratio to the horizontal length of the video 101. In this example, the height and width are indicated as the number of pixels.
[0031] The display period information is information indicating a period during which the layer is displayed on the video 101, and includes, for example, a display start time and a display end time. The display start time is information indicating the time when the layer starts to be displayed during playback of the video 101. The display end time is information indicating the time when the display of the layer ends during playback of the video 101. The display start time and display end time are indicated by the time elapsed from the first time in the playback period of the video 101, or as a percentage of the total playback period of the video 101. Note that in this example, the display start time and display end time are indicated as a percentage of the total playback period of the video 101.
[0032] The position information is information indicating the position where the layer is displayed on the video 101, and includes, for example, a display start position and a display end position. The display start position is information indicating the display position of the layer in the video 101 at the display start time of the layer. The display start position is information indicating the display position of the layer in the video 101 at the display end time of the layer. The display start position and the display end position are two values, namely, the vertical distance and the horizontal distance from a reference position on the video 101 when the video 101 is viewed from the front. The display start position and the display end position are indicated, for example, by the number of pixels or the ratio to the vertical and horizontal lengths of the video 101. In this example, the display start position and the display end position are indicated as the number of pixels. In this example, the reference position is the bottom left position when the video 101 is viewed from the front.
[0033] The trajectory information is information indicating the trajectory or animation of the movement of the layer on the video 101, and is indicated as, for example, a numerical value. The types of trajectories of the movement of the layer include, for example, linear movement, meandering movement, zigzag movement, and movement along a trajectory following an approximate function. The types of animation of the layer include, for example, enlargement and reduction, rotation to the right or left, change in color and brightness, and change in transparency. In this example, the trajectory information takes a value of "0" when the layer moves linearly from the display start position to the display end position. In this example, the trajectory information takes a value of "1" when the layer moves meanderingly from the display start position to the display end position. The trajectory information may indicate the type of function and each coefficient used in the function when the trajectory of the layer when it moves from the display start position to the display end position is expressed by an approximate function.
[0034] Returning to Fig. 2, the data file 103 is a file in which the key frame information 102 is converted into a predetermined format, and is stored in the storage unit 100. The predetermined format is, for example, a format described in a data description language called JSON (JavaScript (registered trademark) Object Notation). The data file 103 includes, as information related to the layer, the identification information, size information, display period information, position information, and trajectory information contained in the key frame information 102.
[0035] The acquisition unit 110 is a functional configuration that acquires the video 101. Specifically, the acquisition unit 110 acquires the video 101 transmitted from outside via a communication network, or acquires the video 101 stored in the storage unit 100 by referring to the storage unit 100. When the acquisition unit 110 acquires the video 101 transmitted from outside via a communication network, the acquisition unit 110 stores the acquired video 101 in the storage unit 100.
[0036] The calculation unit 120 is a functional configuration that calculates, from the moving image 101 acquired by the acquisition unit 110, key frame information 102 that is information related to key frames included in the moving image 101. The calculation unit 120 stores the calculated key frame information 102 in the storage unit 100. A specific method for calculating the key frame information 102 by the calculation unit 120 will be described later with reference to Figs. 6 to 8, and therefore description thereof will be omitted here.
[0037] The conversion unit 130 is a functional configuration that converts the key frame information 102 calculated by the calculation unit 120 into a data file 103 of a predetermined format including a tag to be displayed on the video 101. Specifically, the conversion unit 130 generates a tag to be displayed on the video 101 from the key frame information 102 calculated by the calculation unit 120, converts the key frame information 102 into a data file 103 described in JSON so as to include the generated tag, and stores the converted data file 103 in the storage unit 100.
[0038] A tag is an operation area associated with each object displayed in the video 101, and when a viewer of the video 101 performs an operation such as clicking or tapping on the tag, a process predetermined for the tag is executed. The predetermined process may, for example, display information about the object associated with the tag in a pop-up on the video 101, display information about the object in an area surrounding the video 101, link to a website of a vendor selling the object, link to a purchase page for purchasing the object, etc. A specific method for generating tags by the conversion unit 130 will be described later with reference to Figs. 6 to 8, and therefore will not be described here.
[0039] The playback unit 150 has a functional configuration for playing back the video 101 and tags. Specifically, when playing back the video 101, the playback unit 150 refers to a data file 103 related to the video 101 stored in the storage unit 100, and plays back the tags included in the referenced data file 103 together with the video 101.
[0040] Next, with reference to FIG. 4A to FIG. 4D, the movement of tags during playback of the video 101 will be described. FIG. 4A to FIG. 4D are diagrams showing an example of the movement of tags displayed on the video 101 shown in FIG. 2. As shown in FIG. 4A to FIG. 4D, the video 101 includes a display area 400, tags 401 to 403, and a seek bar 410. In FIG. 4A to FIG. 4D, information on the tag 401 is shown in a row in FIG. 3 where the ID of the key frame information 102 is "1". In FIG. 4A to FIG. 4D, information on the tag 402 is shown in a row in FIG. 3 where the ID of the key frame information 102 is "2", except for the trajectory information. In FIG. 4A to FIG. 4D, the trajectory information on the tag 402 is "0". In FIG. 4A to FIG. 4D, information on the tag 403 is shown in a row in FIG. 3 where the ID of the key frame information 102 is "n".
[0041] 4A, in Fig. 4A, the video 101 is in a state immediately after playback has started. Also, in Fig. 4A, the slider of the seek bar 410 is located at the left end. Also, in Fig. 4A, tags 401 and 402 are displayed in the video 101 together with their corresponding objects at positions indicated by the display start positions for the tags 401 and 402 included in the key frame information 102. Also, in Fig. 4A, the playback time of the video 101 has not yet reached the display start time for the tag 403, so the tag 403 and the corresponding object are not displayed.
[0042] 4B, in the video 101, 20% of the period from the start of playback to the end of playback has elapsed. Also, in FIG. 4B, the slider of the seek bar 410 is located at a position moved from the left end by 20% of the distance from the left end to the right end. Also, in FIG. 4B, the tag 401 and the tag 402 are displayed in the video 101 along with their corresponding objects at positions midway from the display start position to the display end position of the tags 401 and 402 included in the key frame information 102. Also, in FIG. 4B, the tag 403 is displayed in the video 101 along with their corresponding objects at a position indicated by the display start position of the tag 403 included in the key frame information 102.
[0043] 4C, in the video 101, 70% of the period from the start of playback to the end of playback has elapsed. Also, in FIG. 4C, the slider of the seek bar 410 is located at a position moved from the left end by 70% of the distance from the left end to the right end. Also, in FIG. 4C, the tag 401 is displayed in the video 101 along with the corresponding object at a position midway from the display start position to the display end position related to the tag 401 included in the key frame information 102. Also, in FIG. 4C, the tags 402 and 403 are displayed in the video 101 along with their corresponding objects at the display end positions related to the tags 402 and 403 included in the key frame information 102.
[0044] 4D, the video 101 is in a state immediately before the end of playback. Also, in Fig. 4D, the slider of the seek bar 410 is located at the right end. Also, in Fig. 4D, the tag 401 is displayed in the video 101 together with the corresponding object at the display end position related to the tag 401 included in the key frame information 102.
[0045] Next, with reference to Fig. 5, the movement of the tag during playback of the video 101 in the case where the tag moves in a direction other than a straight line will be described. Fig. 5 is a diagram showing another example of the movement of the tag displayed in the video 101 shown in Fig. 2. As shown in Fig. 5, the video 101 includes a display area 500, a tag 502, and a seek bar 510. Note that in Fig. 5, information on the tag 502 is shown in the row in Fig. 3 where the ID of the key frame information 102 is "2". In Fig. 5, when the video 101 is played from a state immediately after the start of playback to a state where 70% of the period from the start of playback to the end of playback has elapsed, the slider of the seek bar 410 moves from the left end to a position where it has moved from the left end by a distance of 70% of the left and right ends. Also, in Fig. 5, the video 101, together with the object corresponding to the tag 502, moves along a trajectory indicated by the trajectory information from a position indicated by the display start position related to the tag 502 included in the key frame information 102 to a position indicated by the display end position. In Fig. 5, the tag 502 moves along a meandering trajectory indicated by the trajectory information "1".
[0046] <Process flow> The functional configuration of the information processing device 10 has been described above. Next, a detailed description will be given of a series of processing flows of the information processing device 10. Fig. 6 is a flowchart showing an example of a processing flow when the information processing device 10 shown in Fig. 1 calculates key frame information 102 from a video 101 and converts it into a data file 103.
[0047] (Step SP10) The information processing device 10 acquires the video 101 transmitted from an external source via a communication network by the acquisition unit 110, or acquires the video 101 stored in the storage unit 100 by referring to the storage unit 100. Then, the process proceeds to step SP12.
[0048] (Step SP12) The information processing device 10 calculates, by the calculation unit 120, from the moving image 101 acquired by the acquisition unit 110, key frame information 102 that is information about key frames included in the moving image 101. Specifically, the information processing device 10 extracts, by the calculation unit 120, display period information including a display start time and a display end time and position information related to a position on the moving image 101 at the display start time and the display end time for each layer with reference to the moving image 101, and calculates the key frame information 102 so as to include the extracted display period information and position information. In addition, the information processing device 10 extracts, by the calculation unit 120, size information related to a size on the moving image 101 for each layer, and calculates the key frame information 102 so as to include the extracted size information.
[0049] Furthermore, the information processing device 10 extracts coordinate information on the coordinates of vertices for each layer for each display time of the video 101 by the calculation unit 120. The vertex is, for example, the upper left point among the vertices of the four corners of a rectangle surrounding the periphery of the layer. Furthermore, the information processing device 10 calculates the key frame information 102 so as to include trajectory information on the trajectory of the movement of the layer on the video 101 based on the extracted coordinate information. Specifically, the information processing device 10 refers to the coordinates of each vertex indicated by the extracted coordinate information by the calculation unit 120, and applies the coordinates of each vertex to a plurality of approximation functions using a function approximation method such as the least square method. Next, the information processing device 10 performs error evaluation on the applied plurality of approximation functions by the calculation unit 120. Furthermore, the information processing device 10 selects an approximation function that minimizes the error between the coordinates of each vertex and the coordinates due to the approximation function by the error evaluation, and generates a numerical value that is previously associated with the selected approximation function as trajectory information. Then, the process proceeds to the process of step SP14. The information processing device 10 may generate the trajectory information so as to include the type and order of the fitted approximation function by applying a predetermined approximation function, for example. The information processing device 10 may also generate the trajectory information so as to include all the coordinates of the vertices for each display time included in the coordinate information simply extracted by the calculation unit 120, for example.
[0050] (Step SP14) The information processing device 10 generates a tag for an object corresponding to a layer for each layer by referring to the key frame information 102 using the conversion unit 130. Specifically, the information processing device 10 acquires display period information, position information, size information, and trajectory information included in the data file 103 by referring to the key frame information 102 using the conversion unit 130. The information processing device 10 generates a tag for an object corresponding to a layer for each layer so that the object is displayed in the video 101 for a period according to the display period information and at a position according to the position information using the conversion unit 130. In addition, when generating the tag, the information processing device 10 generates a tag for an object corresponding to a layer for each layer by referring to the key frame information 102 using the conversion unit 130 so that the object is displayed in the video 101 with a size according to the size information using the conversion unit 130. In addition, in generating the tag, the information processing device 10 generates a tag for an object corresponding to a layer for each layer by referring to the key frame information 102 using the conversion unit 130 so that the object is displayed in the video 101 with a trajectory according to the trajectory information using the conversion unit 130. Then, the process proceeds to the process of step SP16.
[0051] (Step SP16) The information processing device 10 converts the key frame information 102 into the data file 103 described in JSON by the conversion unit 130 so as to include the tag generated by the conversion unit 130. Then, the process proceeds to the process of step SP18.
[0052] (Step SP18) The information processing device 10 causes the conversion unit 130 to store the data file 103 converted by the conversion unit 130 in the storage unit 100. Then, the series of processes shown in FIG.
[0053] Next, a detailed description will be given of a series of processing flows when the information processing device 10 plays the video 101. Fig. 7 is a flowchart showing an example of a processing flow when the information processing device 10 shown in Fig. 1 plays the video 101.
[0054] (Step SP50) The information processing device 10 determines whether or not an instruction to play the video 101 has been acquired from the operator of the information processing device 10 or from a user terminal via a communication network, by the acquisition unit 110. If the determination is positive, the process proceeds to step SP52, and if the determination is negative, the process returns to step SP50.
[0055] (Step SP52) The information processing device 10 causes the playback unit 150 to refer to the storage unit 100 and play back the moving image 101 and the tags generated for the objects displayed in the moving image 101. Then, the series of processes shown in FIG.
[0056] <Effects> As described above, in this embodiment, the information processing device 10 includes an acquisition unit 110 that acquires a moving image 101, and a calculation unit 120 that calculates key frame information 102, which is information related to key frames included in the moving image 101, from the moving image 101 acquired by the acquisition unit 110. The information processing device 10 further includes a conversion unit 130 that converts the key frame information 102 calculated by the calculation unit 120 into a data file 103 including tags to be displayed on the moving image 101.
[0057] As a result, the information processing device 10 generates the data file 103 including the tag from the acquired video 101. Therefore, the information processing device 10 can reduce the effort required for generating tags related to the video 101.
[0058] In this embodiment, the information processing device 10 further includes a playback unit 150 that refers to the data file 103 converted by the conversion unit 130 and plays back the tag and video 101 included in the referred data file 103.
[0059] As a result, the information processing device 10 calculates key frame information 102 from the video 101, converts the key frame information 102 into a data file 103 so as to include a tag from the calculated key frame information 102, and plays back the tag included in the converted data file 103 and the video 101. Therefore, the information processing device 10 can generate tags from the video 101 while reducing the amount of work, and play back the tags together with the video 101.
[0060] In the present embodiment, the video 101 includes a plurality of layers. The calculation unit 120 calculates the key frame information 102 so as to include, for each layer, display period information related to a display start time and a display end time, and position information related to a position on the video 101 at the display start time and the display end time.
[0061] Therefore, the information processing device 10 can calculate the key frame information 102 that enables tags to be generated for multiple layers included in the moving image 101, taking into consideration the display period and display position on the moving image 101.
[0062] Moreover, in this embodiment, the calculation unit 120 calculates the key frame information 102 so as to include size information relating to the size on the video 101 for each layer.
[0063] Therefore, the information processing device 10 can calculate the key frame information 102 that enables tags to be generated for a plurality of layers included in the moving image 101, taking into consideration the size on the moving image 101.
[0064] Furthermore, in this embodiment, the calculation unit 120 extracts coordinate information regarding the coordinates of the vertices for each layer at each display time of the video 101, and calculates key frame information 102 based on the extracted coordinate information so as to include position information and trajectory information regarding the trajectory of movement of the layer on the video 101.
[0065] Therefore, the information processing device 10 can calculate the key frame information 102 for a plurality of layers included in the moving image 101 such that a tag can be generated taking into consideration the trajectory of the movement of the layers on the moving image 101.
[0066] Furthermore, in this embodiment, the conversion unit 130 generates a tag for each layer so that the tag is displayed in the video 101 along a trajectory that conforms to the trajectory information, and converts the key frame information 102 into the data file 103 so that the generated tag is included.
[0067] Therefore, the information processing device 10 can generate tags for a plurality of layers included in the moving image 101, taking into consideration the trajectory of the movement of the layers on the moving image 101, while reducing the amount of work.
[0068] Furthermore, in this embodiment, the conversion unit 130 generates tags for each layer so that the tags are displayed in the video 101 for a period according to the display period information and at a position according to the position information, and converts the key frame information 102 into a data file 103 so that the tags are included in the data file 103.
[0069] Therefore, the information processing device 10 can generate tags for multiple layers included in the moving image 101, taking into consideration the display period and display position on the moving image 101, while reducing the amount of work.
[0070] <Modification> The present invention is not limited to the above-described embodiment. In other words, the above-described embodiment may be modified by a person skilled in the art as appropriate, and the modifications may be included within the scope of the present invention as long as they include the characteristics of the present invention. In addition, the elements of the above-described embodiment and the modifications described below may be combined to the extent technically possible, and the combinations of these may be included within the scope of the present invention as long as they include the characteristics of the present invention.
[0071] For example, in the present embodiment, the information processing device 10 generates tags for all layers related to objects displayed in the video 101, but is not limited to this. The information processing device 10 may generate tags only for a specified layer among a plurality of layers related to objects displayed in the video 101. Next, a detailed description will be given of a series of processing flows in the case where the information processing device 10 generates tags only for a specified layer among a plurality of layers.
[0072] FIG. 8 is a flowchart showing another example of the processing flow when the information processing device 10 shown in FIG.
[0073] (Step SP100) The information processing device 10 acquires the video 101 transmitted from an external source via a communication network by the acquisition unit 110, or acquires the video 101 stored in the storage unit 100 by referring to the storage unit 100. Then, the process proceeds to step SP102.
[0074] (Step SP102) The information processing device 10 calculates, by the calculation unit 120, key frame information 102, which is information related to key frames included in the moving image 101, from the moving image 101 acquired by the acquisition unit 110. In the method of calculating the key frame information 102, in addition to the process in step SP12, the information processing device 10 further receives, by the calculation unit 120, an input of event information for each layer from the operator of the information processing device 10. The event information is, for example, information indicating whether or not to generate a tag to be displayed on the moving image 101 for an object corresponding to a layer. The information processing device 10 adds information indicated by the received event information to the key frame information 102. Then, the process proceeds to the process of step SP104.
[0075] (Step SP104) The information processing device 10, by the conversion unit 130, judges whether or not a layer is a target for tag generation for one of the layers shown in the key frame information 102 for which a judgment process regarding tag generation or non-generation has not been performed, by referring to event information corresponding to the one layer included in the key frame information 102. If the judgment is a positive judgment, the process proceeds to step SP106, and if the judgment is a negative judgment, the process proceeds to step SP108.
[0076] (Step SP106) The information processing device 10 generates a tag for an object corresponding to one layer based on the key frame information 102 by the conversion unit 130. Specifically, the information processing device 10 acquires display period information, position information, size information, and trajectory information included in the key frame information 102 by referring to the key frame information 102 by the conversion unit 130. The information processing device 10 generates a tag for an object corresponding to one layer by the conversion unit 130 so that the object is displayed in the video 101 for a period according to the display period information corresponding to the one layer and at a position according to the position information corresponding to the one layer. In addition, when generating the tag, the information processing device 10 generates a tag for an object corresponding to one layer by referring to the key frame information 102 by the conversion unit 130 so that the object is displayed in the video 101 at a size according to the size information corresponding to the one layer. In addition, in generating the tag, the information processing device 10 generates a tag for an object corresponding to one layer by referring to the key frame information 102 by the conversion unit 130 so that the object is displayed in the video 101 at a trajectory according to the trajectory information corresponding to the one layer by referring to the key frame information 102. Then, the process proceeds to step SP108.
[0077] (Step SP108) The information processing device 10 judges whether or not the conversion unit 130 has performed a judgment process regarding tag generation or non-generation for all layers indicated in the key frame information 102. If the judgment is a positive judgment, the process proceeds to the process of step SP110, and if the judgment is a negative judgment, the process returns to the process of step SP104.
[0078] (Step SP110) The information processing device 10 converts the key frame information 102 into the data file 103 described in JSON, by the conversion unit 130, so as to include the tag generated by the conversion unit 130. Then, the process proceeds to step SP112.
[0079] (Step SP112) The information processing device 10 causes the conversion unit 130 to store the data file 103 converted by the conversion unit 130 in the storage unit 100. Then, the series of processes shown in FIG.
[0080] According to this configuration, the information processing device 10 can generate tags for a plurality of layers included in the video 101 while reducing the amount of work required by taking into consideration information regarding whether or not to generate tags.
[0081] In addition, the calculation unit 120 may refer to the video 101, extract hierarchical information for each layer that indicates the positional relationship between the front and back faces of the layers when the video 101 is viewed from the front, and calculate the key frame information 102 so as to include the extracted hierarchical information.
[0082] According to this configuration, the information processing device 10 can calculate key frame information 102 for multiple layers included in the video 101, taking into consideration information regarding which object should be placed in front when objects corresponding to the layers overlap each other.
[0083] In addition, the conversion unit 130 may refer to the key frame information 102 and generate tags for objects corresponding to each layer so that the positional relationship between the front and back of the layers when the video 101 is viewed from the front conforms to the positional relationship in accordance with the hierarchical information.
[0084] According to this configuration, the information processing device 10 can generate tags for multiple layers included in the video 101 while reducing the effort required by taking into account information regarding which object should be placed in front when objects corresponding to the layers overlap. [Explanation of symbols]
[0085] 10...information processing device, 101...video, 102...key frame information, 103...data file, 110...acquisition unit, 120...calculation unit, 130...conversion unit, 150...playback unit
Claims
1. An acquisition unit that acquires a video; a calculation unit that calculates, from the moving image acquired by the acquisition unit, key frame information that is information about a key frame included in the moving image; a conversion unit that converts the key frame information calculated by the calculation unit into a data file in a predetermined format including tags to be displayed on the video; An information processing device comprising:
2. a playback unit that refers to the data file converted by the conversion unit and plays the tag and the video included in the referred data file; The information processing device according to claim 1 , further comprising:
3. The video includes multiple layers; the calculation unit calculates the key frame information so as to include, for each layer, display period information relating to a display start time and a display end time, and position information relating to a position on the video at the display start time and the display end time. The information processing device according to claim 2 .
4. the calculation unit calculates the key frame information so as to include size information relating to a size on the video for each of the layers. The information processing device according to claim 3 .
5. the calculation unit extracts, for each of the layers, coordinate information relating to coordinates of vertices for each display time of the moving image, and calculates, based on the extracted coordinate information, the key frame information so as to include the position information and trajectory information relating to a trajectory of a movement of the layer on the moving image. The information processing device according to claim 3 .
6. the conversion unit generates the tag for each of the layers so that the tag is displayed in the video along a trajectory that follows the trajectory information, and converts the key frame information into the data file so as to include the generated tag. The information processing device according to claim 5 .
7. the conversion unit generates the tag for each of the layers so that the tag is displayed in the video at a position according to the position information during a period according to the display period information, and converts the key frame information into the data file so as to include the generated tag.
7. The information processing device according to claim 3 or 6.
8. Computer, an acquisition unit for acquiring a video; a calculation unit that calculates, from the moving image acquired by the acquisition unit, key frame information that is information about a key frame included in the moving image; a conversion unit that converts the key frame information calculated by the calculation unit into a data file in a predetermined format including tags to be displayed on the video; A program to function as a
Citation Information
Patent Citations
Portable electronic device and method for controlling the same
EP3410436A1
Program, image processing apparatus, and image processing method
JP2013134506A
Program, information processing device, information processing method, and information processing system
JP2021061461A
Video summary device, video summary system, video summary method, and program
JP2021103810A
Object selection device, object selection program, integrated circuit used for object selection device and method for selecting object
WO2010095195A1
