Moving picture reproduction device, program, and moving picture reproduction method
The video playback device synchronizes user and ideal swing video playback to match specified posture timings, addressing the challenge of comparing differing swing timings and enhancing golf swing performance by facilitating accurate posture alignment.
Patent Information
- Application Number
- PCT/JP2024/003386
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-09
- Filing Date
- 2024-02-02
- Publication Date
- 2024-09-12
AI Technical Summary
Conventional video playback technologies struggle to accurately compare a user's golf swing posture with an ideal posture at specific timings, as the timing differences between user and ideal swings make it difficult to align and compare postures effectively.
A video playback device and method that acquires and identifies specific frames corresponding to user-specified postures in both user and ideal swing videos, synchronizing playback to match the timing of these frames, allowing for parallel display of user and ideal swing videos.
Enables precise comparison of user and ideal swing postures at specified timings, facilitating improved golf swing performance by aligning and displaying user and ideal swing videos in synchronization, thus aiding in posture correction and improvement.
Smart Images

Figure JP2024003386_12092024_PF_FP_ABST
Abstract
Description
Video playback device, program, and video playback method
[0001] The present disclosure relates to a video playback device, a program, and a video playback method.
[0002] In sports, accurately performing a series of movements can sometimes lead to improved performance. Examples of a series of movements in sports include swinging a golf club in golf, swinging a bat in baseball, or pitching a ball in baseball. In recent years, various technologies have been proposed that film a series of movements in sports and use the filmed video to improve the movements. One example of a technology used to improve movements is the technology disclosed in Non-Patent Document 1. Non-Patent Document 1 discloses a smartphone app that allows a user to compare a video of their own swing with a video of an ideal swing. This app can synchronize the timing at which playback of the video of the user's swing starts with the timing at which playback of the video of the ideal swing starts.
[0003] “Golf Vision | Professionally Supervised - AI Golf Swing Analysis App,” [online], [Retrieved March 3, 2023], Internet <URL: https: / / www.golf-vision.com / ja / >
[0004] In a golf swing, a player's posture continuously changes from the start to the top, impact, and finish. The start refers to the timing when the player starts swinging the golf club up. The top refers to the timing when the player starts swinging the golf club down. The impact refers to the timing when the head of the golf club strikes the golf ball after being swung down. The finish refers to the timing when the player swings the golf club through and finishes the swing. When trying to improve a golf swing, it is useful to be able to compare the posture at the timing the user desires to improve (start, top, impact, or finish) with the posture in an ideal swing, such as that of a professional golfer. However, the time from the top to the finish, the time from the top to the impact, and the time from the impact to the finish of a swing generally differ from player to player. For this reason, with conventional technology, even if a video of the user's swing and a video of the ideal swing are played in parallel, it is difficult to compare the user's posture before and after the timing the user desires to improve with the posture in the ideal swing.
[0005] Taking these circumstances into consideration, one aspect of the present disclosure aims to provide a technology that enables a posture specified by a user among postures included in a series of movements to be compared with a posture included in a movement to be compared.
[0006] A video playback device according to one aspect of the present disclosure includes an acquisition unit, a first identification unit, a second identification unit, and a display control unit. The acquisition unit acquires designation information that is included in a first motion of a user and a second motion to be compared with the first motion and indicates a predetermined posture designated by the user. The first identification unit identifies a first frame that corresponds to the designation information among multiple frames represented by first video data obtained by filming the first motion. The second identification unit identifies a second frame that corresponds to the designation information among multiple frames represented by second video data obtained by filming the second motion. The playback control unit plays the first video data and the second video data in parallel so that the playback timing of the first frame and the playback timing of the second frame coincide, thereby displaying a video corresponding to the first motion and a video corresponding to the second motion on a display device.
[0007] Furthermore, a program according to an aspect of the present disclosure causes a computer to function as an acquisition unit, a first identification unit, a second identification unit, and a display control unit. The acquisition unit acquires designation information that is included in a first motion of a user and a second motion to be compared with the first motion and indicates a predetermined posture designated by the user. The first identification unit identifies a first frame that corresponds to the designation information among multiple frames represented by first video data obtained by filming the first motion. The second identification unit identifies a second frame that corresponds to the designation information among multiple frames represented by second video data obtained by filming the second motion. The playback control unit plays the first video data and the second video data in parallel so that the playback timing of the first frame and the playback timing of the second frame coincide, thereby displaying a video corresponding to the first motion and a video corresponding to the second motion on a display device.
[0008] A video playback method according to one aspect of the present disclosure includes acquiring designation information that indicates a predetermined posture designated by the user and is included in a first action of a user and a second action to be compared with the first action; identifying a first frame that corresponds to the designation information from among a plurality of frames represented by first video data obtained by filming the first action; identifying a second frame that corresponds to the designation information from among a plurality of frames represented by second video data obtained by filming the second action; and displaying a video corresponding to the first action and a video corresponding to the second action on a display device by playing the first video data and the second video data in parallel so that the playback timing of the first frame and the playback timing of the second frame coincide.
[0009] 1 is a diagram showing an example of usage status of an information processing device according to an embodiment; FIG. 2 is a diagram showing the hardware configuration of the information processing device; FIG. 3 is a diagram showing an example of user data; FIG. 4 is a diagram showing an example of goal data; FIG. 5 is a diagram showing an example of a posture table; FIG. 6 is a functional block diagram of the information processing device; FIG. 7 is a diagram showing an example of a UI screen displayed on a display device of the information processing device; FIG. 8 is a diagram showing an example of an image indicating the progress of video playback; FIG. 9 is a diagram showing an example of first relationship information; FIG. 10 is a diagram showing an example of second relationship information; FIG. 11 is a diagram for explaining the operation of a display control unit; FIG. 12 is a diagram showing an example of a UI screen displayed on a display device of the information processing device;
[0010] Hereinafter, a video playback device according to an embodiment of the present disclosure will be described with reference to the drawings. Note that in each drawing, the dimensions and scale of each part are appropriately different from the actual ones. Furthermore, the embodiments described below are preferred specific examples, and therefore various technically preferable limitations are applied, but the scope of the present invention is not limited to these forms unless otherwise specified in the following description to the effect that the present invention is limited thereto.
[0011] (A: Embodiment) FIG. 1 is a diagram illustrating an example of a usage situation of an information processing device 1 according to an embodiment of the present disclosure. The information processing device 1 has a shooting function. The information processing device 1 is, for example, a smartphone. The information processing device 1 has a function of shooting a golf swing by a user U and playing the shot video in response to an instruction from the user. Note that the information processing device 1 is not limited to a smartphone, and may be a tablet terminal or a personal computer as long as it is an information processing device having a shooting function and a video playback function.
[0012] Fig. 2 is a diagram showing the hardware configuration of the information processing device 1. As shown in Fig. 2, the information processing device 1 includes a processing device 10, an imaging device 11, an operation input device 12, a display device 13, a storage device 14, and a communication device 15.
[0013] The processing device 10 is configured with one or more arithmetic processing circuits such as a CPU (Central Processing Unit), and comprehensively controls each element of the information processing device 1. Note that the processing device 10 may be configured with circuits such as a DSP (Digital Signal Processor) and an ASIC (Application Specific Integrated Circuit) in addition to a CPU.
[0014] The photographing device 11 is a video camera equipped with a lens, an image sensor, a microphone, and a processing circuit. The image sensor converts light incident through the lens into an electrical signal and outputs the image signal to the processing circuit. The microphone converts sound into an electrical signal and outputs the sound signal to the processing circuit. The processing circuit generates video data based on the image signal and the sound signal. The video data includes video data and sound data. When the photographing device 11 is used to photograph a swing of a user U, the video data includes video data of the swing and sound data of the swing. In the following description, the video data obtained by photographing the swing of a user U is referred to as user data D1. The swing of a user U is an example of a first action in the present disclosure. The user data D1 is an example of first video data in the present disclosure.
[0015] Fig. 3 is a diagram showing an example of user data D1. The user data includes video data consisting of multiple frames Fr and, although omitted from Fig. 3, sound data synchronized with the video data. The video data records an image of the user U's swing for each frame Fr. The sound data records sounds picked up during the swing. Each frame Fr of the user data is associated with a frame number as a consecutive number starting from the start frame.
[0016] In this embodiment, frame numbers are consecutive numbers, with the frame number of the start frame being 1. (A), (B), (C), and (D) in FIG. 3 indicate postures at the start, top, impact, and finish timings among multiple postures that characterize a golf swing. The frame number of the frame corresponding to the start timing (A) in the user data D1 shown in FIG. 3 is 30. The frame with frame number 30 captures the posture of user U at the start of his swing. The frame number of the frame corresponding to the top timing (B) in the user data D1 shown in FIG. 3 is 50. The frame with frame number 50 captures the posture of user U at the top of his swing. The frame number of the frame corresponding to the impact timing (C) in the user data D1 shown in FIG. 3 is 70. The frame with frame number 70 captures the posture of user U at the impact timing in his swing. The frame number of the frame corresponding to the finish timing (D) in the user data D1 shown in FIG. 3 is 90. The frame with frame number 90 shows the posture of user U at the finish of his swing.
[0017] The sounds picked up during a swing include the impact sound generated at the time of impact, i.e., the sound generated when the golf club head hits the golf ball. The format of the user data D1 in this embodiment is an uncompressed format, but it may also be a compressed format. The compressed format may be, for example, the MPEG format. The format of the user data D1 may be any format as long as it includes video data consisting of multiple frames and sound data synchronized with the video data.
[0018] The operation input device 12 accepts operations by the user. The operation input device 12 is, for example, a plurality of operators pressed by the user, or a touch panel that detects contact by the user. The touch panel is overlaid on the image display surface of the display device 13. The user operating the operation input device 12 may be the user who made the swing, or another user. The display device 13 includes, for example, a liquid crystal panel or an organic EL panel. The display device 13 displays a video of the captured swing, a video of the ideal swing that the user U aims for, and a video that plays both of them synchronously.
[0019] The communication device 15 communicates with a server or the like via a network under the control of the processing device 10 .
[0020] The storage device 14 is one or more memories configured with known recording media such as magnetic recording media or semiconductor recording media. The storage device 14 may be configured with a combination of multiple types of recording media. A portable recording medium that is detachable from the information processing device 1, or an external recording medium (e.g., online storage) with which the information processing device 1 can communicate via a network may be used as part of the storage device 14.
[0021] The storage device 14 stores a control program PR1 executed by the processing device 10, various data used by the processing device 10, user data D1, target data D2, and a posture table TBL. The target data D2 is video data showing an ideal swing. The ideal swing is a swing that is a target for the user U. An ideal swing is, for example, a swing of a professional golfer. Like the user data D1, the target data D2 includes video data made up of multiple frames and sound data synchronized with the video data. The video data records an image of the ideal swing for each frame. The sound data records sounds picked up during the swing. Each frame in the target data D2 is associated with a frame number as a consecutive number from the start frame. The frame number of the start frame in the target data D2 is also 1.
[0022] FIG. 4 is a diagram showing an example of target data D2. As in FIG. 3, (A), (B), (C), and (D) in FIG. 4 show postures at the start, top, impact, and finish, respectively. In the target data D2 shown in FIG. 4, the frame number of the frame corresponding to the start (A) is 25. The frame with frame number 25 shows the posture of the subject of the swing (hereinafter, the athlete) at the start of the ideal swing. In the target data D2 shown in FIG. 4, the frame number of the frame corresponding to the top (B) is 45. The frame with frame number 45 shows the athlete's posture at the top of the ideal swing. In the target data D2 shown in FIG. 4, the frame number of the frame corresponding to the impact (C) is 45. The frame with frame number 45 shows the athlete's posture at the impact of the ideal swing. In the target data D2 shown in FIG. 4, the frame number of the frame corresponding to the finish (D) is 55. The frame with frame number 55 shows the posture of the athlete at the finish of the ideal swing.
[0023] The target data D2 may be acquired by downloading from a server or the like connected to a network, or may be acquired by filming the swing of a professional golfer using the filming device 11. The ideal swing is an example of a second movement to be compared with the first movement, and the target data D2 is an example of second video data in the present disclosure.
[0024] Fig. 5 is a diagram showing an example of the posture table TBL. As shown in Fig. 5, the posture table TBL pre-stores feature data indicating skeletal features of the performing subject M in the posture indicated by the identifier, in association with an identifier that uniquely indicates each of a plurality of postures that represent the characteristics of a golf swing. In the example shown in Fig. 5, pairs of identifiers and feature data are stored in the posture table TBL for postures at four timings, namely, the start, the top, the impact, and the finish, out of the timings of the start, the take-back, the top, the downswing, the impact, the follow-through, and the finish.
[0025] The feature data stored in the posture table TBL in association with an identifier is data representing the three-dimensional coordinates of each joint J of the subject M in the posture indicated by the corresponding identifier. The three-dimensional coordinate system in this embodiment is a coordinate system in which the origin is the midpoint between the feet of the subject M and the distance between the feet is 1. Examples of the joints J include the left knee, right knee, left hip joint, right hip joint, left shoulder joint, right shoulder joint, left elbow, and right elbow, a total of eight joints. In FIG. 6 , each joint J is indicated by a black circle when the right-handed subject M is viewed from the front (east, assuming the direction of the hitting ball is north). In FIG. 5 , the positions of each joint J in the posture at each timing of start, take-back, top, downswing, impact, follow-through, and finish are illustrated, in order, as (1) to (7).
[0026] Feature data A in Fig. 5 is data representing the three-dimensional coordinates of each joint J in the posture of the subject M at the time of start, i.e., a collection of eight pieces of coordinate data. Feature data T in Fig. 5 is data representing the three-dimensional coordinates of each joint J in the posture of the subject M at the time of top. Feature data I in Fig. 5 is data representing the three-dimensional coordinates of each joint J in the posture of the subject M at the time of impact. Feature data F in Fig. 5 is data representing the three-dimensional coordinates of each joint J in the posture of the subject M at the time of finish.
[0027] Generally speaking, swings differ depending on attributes of the user U, such as gender, dominant hand, generation (age), and golf skill level (professional, semi-professional, amateur). The feature data stored in the posture table TBL may be generated by performing statistical processing such as averaging on multiple types of feature data that have different attributes but represent the same posture. Furthermore, multiple types of posture tables TBL may be prepared according to these attributes. In this embodiment, the posture table TBL is stored in the storage device 14. However, the posture table TBL may also be stored in a cloud server that can be accessed by the information processing device 1 via communication via a telecommunications line such as the Internet.
[0028] 6 is a block diagram illustrating an example of the functional configuration of the processing device 10. When the processing device 10 is instructed to execute a control program PR1 by a user's operation on the operation input device 12, the processing device 10 reads the control program PR1 from the storage device 14. By executing the read control program PR1, the processing device 10 functions as an acquisition unit 101, a first identification unit 102, a second identification unit 103, and a display control unit 104. By executing the control program PR1, the processing device 10 synchronizes and plays back the video represented by the user data D1 and the video represented by the target data D2 at a timing specified by the user.
[0029] The acquisition unit 101 acquires designation information indicating a predetermined posture designated by the user U from among a plurality of postures commonly included in the swing of the user U and a swing to be compared (in this embodiment, the movement of an ideal swing). The plurality of postures in this embodiment are postures of the subject of the action at each timing of start, top, impact, and finish. In this embodiment, the acquisition unit 101 displays on the display device 13 a UI screen for playing in parallel a video represented by the user data D1 and a video represented by the target data D2.
[0030] FIG. 7 is a diagram showing an example of this UI screen. As shown in FIG. 7, areas A1 to A4 and virtual controls B1 to B9 are arranged on this UI screen. Area A1 is a display area for displaying the video represented by user data D1. Area A2 is a display area for displaying the video represented by target data D2. Area A3 displays an image representing the progress of playback of the video represented by user data D1. Area A4 displays an image representing the progress of playback of the video represented by target data D2.
[0031] FIG. 8 is a diagram illustrating an example of an image G1 that indicates the progress of video playback. A line segment L1 in FIG. 8 represents the time length from the start frame S to the end frame E of the video. A line segment L2 in FIG. 8 extends to the right with each playback of a frame of the video, indicating the current playback position in the video. In FIG. 11 , the frames corresponding to the start, top, impact, and finish timings in user data D1 are represented by the letters A, T, I, and F. The four black circles in FIG. 8 correspond, from left to right, to the start, top, impact, and finish timings. The time Tat from the start to the top is displayed between the black circle corresponding to the start and the black circle corresponding to the top. The time Tti from the top to the impact is displayed between the black circle corresponding to the top and the black circle corresponding to the impact. The time Tif from the impact to the finish is displayed between the black circle corresponding to the impact and the black circle corresponding to the finish. These times Tat, Tti, and Tif are calculated based on the number of frames between the start and the top of the swing, the number of frames between the top of the swing and impact, and the number of frames between the impact and the finish. The same applies to the target data D2. Of these four black circles, the black circle corresponding to the timing of the posture specified by the user U is displayed larger than the other three black circles. Figure 8 illustrates an example in which the posture at impact is specified by the user U.
[0032] The virtual operators B1 to B4 shown in FIG. 7 are virtual buttons that allow the user U to specify a desired posture from among postures at each timing of start, top, impact, and finish. The virtual operator B6 is a virtual button that allows the user to instruct the start of playback of the video. The virtual operator B5 is a virtual button that allows the user to instruct the rewind playback of the video. The virtual operator B7 is a virtual button that allows the user to instruct the fast-forward playback of the video. The virtual operator B8 is a virtual button that allows the user to instruct the playback of the video at standard speed, and the virtual operator B9 is a virtual button that allows the user to instruct the slow playback of the video. Playing a video at standard speed means, for example, playing each frame at an interval of 1 / 60 seconds for video data with a frame interval of 1 / 60 seconds. For video data with a frame interval of 1 / 60 seconds, slow playback means playing each frame at an interval of 1 / 10 seconds.
[0033] For example, if the user U's desired posture is the posture at the time of impact, the user U can specify the posture at the time of impact by performing an input operation of tapping the virtual operator B3 on the operation input device 12. The acquisition unit 101 acquires designation information in accordance with the operation performed on the operation input device 12. When an input operation of tapping the virtual operator B3 is performed on the operation input device 12, the acquisition unit 101 acquires designation information indicating the impact.
[0034] The first identification unit 102 identifies a first frame corresponding to the specified information from among the multiple frames represented by the user data D1. More specifically, the first identification unit 102 first performs a skeleton estimation process for the subject (user U in this embodiment) on each of the multiple frames represented by the user data D1, thereby identifying the three-dimensional coordinates of each of the subject's eight joints J for each frame. Existing technology may be appropriately employed for the skeleton estimation process.
[0035] Next, for each of the multiple frames represented by the user data D1, the first identification unit 102 identifies a frame corresponding to each timing of the start, top, impact, and finish by comparing, for each joint J, the three-dimensional coordinates of the eight joints J of the subject with the three-dimensional coordinates of the eight joints J represented by each piece of feature data stored in the posture table TBL. For example, if the identified target is a frame corresponding to impact, the first identification unit 102 calculates, for each of the eight joints J, the distance between the three-dimensional coordinate represented by the feature data I and the three-dimensional coordinate identified by the skeleton estimation process, and identifies the frame for which the sum of the distances for the eight joints J is the smallest as the frame corresponding to impact.
[0036] Then, as shown in FIG. 9 , the first identification unit 102 generates first relationship information D3 by associating identifiers indicating each of the start, top, impact, and finish with the frame numbers of the corresponding frames. The first relationship information D3 is an example of first information. The first identification unit 102 identifies the first frame based on the designation information and the first relationship information D3. For example, if the designation information indicates impact, in the example shown in FIG. 9 , the frame with frame number 70 is identified as the first frame.
[0037] The second identification unit 103 identifies a second frame corresponding to the designation information from among the multiple frames represented by the target data D2. Similarly to the first identification unit 102, the second identification unit 103 generates second relationship information D4 as shown in FIG. 10 by comparing the three-dimensional coordinates of each joint J of the subject depicted in each of the multiple frames represented by the target data D2 with the three-dimensional positions of each joint J represented by each feature data stored in the posture table TBL. The second relationship information D4 is data that associates identifiers indicating each of the start, top, impact, and finish with the frame numbers of the corresponding frames of the target data D2. The second identification unit 103 then identifies the second frame based on the designation information and the second relationship information D4. For example, if the designation information indicates impact, in the example shown in FIG. 10, the frame with frame number 45 is identified as the second frame. The second relationship information D4 is an example of second information.
[0038] When an input operation is performed on the virtual operator B6 on the UI screen, the display control unit 104 plays back the user data D1 and the target data D2 in parallel so that the playback timing of the first frame and the playback timing of the second frame coincide, thereby displaying a video of the user U's swing and a video of the ideal swing on the display device 13. In this embodiment, the display control unit 104 delays the timing at which reading of one of the user data D1 and the target data D2 from the storage device 14 is started relative to the timing at which reading of the other video data is started from the storage device 14, thereby aligning the playback timing of the first frame and the playback timing of the second frame.
[0039] FIG. 11 is a diagram illustrating an example of the operation of the display control unit 104. Similar to FIG. 8 , in FIG. 11 , frames corresponding to the start, top, impact, and finish timings are represented by the letters A, T, I, and F. For example, assume that user U specifies a posture at impact, and the frame number of the first frame is "70" and the frame number of the second frame is "45." In this case, as shown in FIG. 11 , the display control unit 104 delays the start of playback of target data D2 relative to the start of playback of user data D1 by a time ΔT corresponding to the difference in frame numbers (70-45), and plays both data in parallel. As a result, as shown in FIG. 12 , the impact timings of the video of user U's swing displayed in area A1 and the video of the ideal swing displayed in area A2 are aligned. Furthermore, area A1 displays the time from start to top (Tat) of 0.7 seconds, the time from top to impact (Tti) of 0.6 seconds, and the time from impact to finish (Tif) of 0.5 seconds. Meanwhile, area A2 displays 0.6 seconds as the time from start to top Tat, 0.5 seconds as the time from top to impact Tti, and 0.7 seconds as the time from impact to finish Tif. In this way, each time in user U's swing and each time in the ideal swing are displayed side by side, so user U can recognize at a glance which parts of his / her swing are short and which parts are long compared to the ideal swing.
[0040] Furthermore, the processing device 10 operating in accordance with the control program PR1 executes a video playback method embodying the features of the present disclosure. Fig. 13 is a flowchart showing the flow of processing in this video playback method. As shown in Fig. 13, this video playback method includes an acquisition process SA110, a first identification process SA120, a second identification process SA130, and a display control process SA140. The processing contents of each of the acquisition process SA110, the first identification process SA120, the second identification process SA130, and the display control process SA140 are as follows.
[0041] In the acquisition process SA110, the processing device 10 functions as an acquisition unit 101. In the acquisition process SA110, the processing device 10 acquires designation information indicating a predetermined posture designated by the user U from among a plurality of postures commonly included in the swing motion of the user U and the ideal swing motion.
[0042] In the first identification process SA120, the processing device 10 functions as a first identification unit 102. In the first identification process SA120, the processing device 10 identifies a first frame corresponding to the specified information from among the multiple frames represented by the user data D1, based on the skeleton of the user U appearing in the multiple frames. The first frame is a frame of the user data D1 that corresponds to a predetermined posture indicated by the specified information.
[0043] In the second identification process SA130, the processing device 10 functions as a second identification unit 103. In the second identification process SA130, the processing device 10 identifies a second frame corresponding to the designation information from among the multiple frames represented by the target data D2, based on the skeleton of the athlete appearing in the multiple frames. The second frame is a frame of the target data D2 that corresponds to a predetermined posture indicated by the designation information. In this embodiment, the first identification process SA120 is executed prior to the execution of the second identification process SA130, but the order of execution of the first identification process SA120 and the second identification process SA130 may be reversed.
[0044] In the display control process SA140, the processing device 10 functions as the display control unit 104. In the display control process SA140, the processing device 10 plays back the user data D1 and the target data D2 in parallel so that the playback timing of the first frame and the playback timing of the second frame coincide with each other, thereby displaying a video of the user U's swing and a video of the ideal swing on the display device 13.
[0045] As described above, according to this embodiment, a video of the user's swing and a video of the ideal swing are played in parallel, synchronized at a timing designated by the user U from among the start, top, impact, and finish. Therefore, the user U can compare his or her posture with that of the ideal swing before and after the designated timing, correct his or her posture, and improve his or her swing. Note that the display control unit 140 in this embodiment starts playback of the user data D1 and the target data D2 from the start frame (i.e., the frame with frame number 1). However, the frame at which playback of the user data D1 and the target data D2 starts may be any frame before the frame corresponding to the posture indicated by the designated information, and is not limited to the start frame. Furthermore, the user U may specify the frame at which playback of the user data D1 and the target data D2 starts. For example, suppose that the designated information indicates impact, and the user U specifies a frame corresponding to the top of the swing as the frame at which playback of the user data D1 and the target data D2 starts. In this case, the display control unit 140 calculates the difference between the time difference between the top and impact in the video represented by the user data D1 (hereinafter referred to as the first time difference) and the time difference between the top and impact in the video represented by the goal data D2 (hereinafter referred to as the second time difference). Then, the display control unit 140 delays the timing of starting to read one of the user data D1 and the goal data D2 from the storage device 14 relative to the timing of starting to read the other of the user data D1 and the goal data D2 from the storage device 14, based on the calculated difference (first time difference - second time difference). For example, if the calculated difference is a positive value, the display control unit 140 delays the timing of starting to read the goal data D2 from the storage device 14 relative to the timing of starting to read the user data D1 from the storage device 14 by the time indicated by the difference. If the calculated difference is a negative value, the display control unit 140 delays the timing of starting to read the user data D2 from the storage device 14 relative to the timing of starting to read the goal data D1 from the storage device 14 by the time indicated by the absolute value of the difference.
[0046] (B: Modifications) The present disclosure is not limited to the above-described exemplary embodiments. Specific modifications are as follows. Two or more of the following exemplary embodiments may be combined as desired. (B-1: Modification 1) In the above-described embodiments, the subject of the action in the video represented by the first video data and the subject of the action in the video represented by the second video data are different from each other. However, the two may be the same. For example, the first video data may be video data obtained by filming the swing of user U before the swing is improved, and the second video data may be video data obtained by filming the swing of user U after the swing is improved. According to this aspect, user U can visually recognize the results of the improvement in his or her swing.
[0047] (B-2: Modification 2) In the above embodiment, the user data D1 and the target data D2 were both video data obtained by filming a golf swing. However, the user data D1 and the target data D2 may be video data obtained by filming a bat swing in baseball, or video data obtained by filming a pitch in baseball, i.e., video data obtained by filming a series of movements in a sport other than golf. Furthermore, the user data D1 and the target data D2 are not limited to video data obtained by filming a series of movements in sports, but may be video data obtained by filming movements including multiple poses, such as yoga, dance, or pantomime. Furthermore, the present disclosure is not limited to sports. For example, the present disclosure may be applied to assembly work in a factory and knife work in cooking.
[0048] (B-3: Modification 3) The information processing device 1 in the above embodiment has a shooting function for generating the user data D1. However, the user data D1 may be acquired by downloading via a communication line, in which case the information processing device 1 does not need to have a shooting function. In other words, the shooting device 11 in the above embodiment is not an essential component of the video playback device of the present disclosure and can be omitted.
[0049] (B-4: Variation 4) The display control unit 104 may play back the video represented by the user data D1 and the video represented by the target data D2 so that the video represented by the user data D1 and the video represented by the target data D2 are synchronized at a timing specified by the user by changing the position at which reading of one of the user data D1 and the target data D2 from the storage device 14 starts from the position at which reading of the other of the user data D1 and the target data D2 from the storage device 14 starts from the position at which reading of the other of the user data D1 and the target data D2 from the storage device 14 starts from the position at which reading of the other of the user data D1 and the target data D2 from the storage device 14 starts from the position at which reading of the other of the user data D1 and the target data D2 from the storage device 14 starts from the position at which reading of the other of the user data D1 and the target data D2 from the storage device 14 starts from the position at which reading of the other of the user data D1 and the target data D2 In this case, as shown in FIG. 14, the display control unit 104 starts playback of the video represented by the target data D2 from the start frame S, and starts playback of the video represented by the user data D1 from frame S1, which is the point at which a time corresponding to ΔT has elapsed since the start frame S.
[0050] (B-5: Variation 5) In the above embodiment, frames corresponding to each timing of the start, top, impact, and finish were identified based on the skeletal characteristics of the subject of the video. However, if the subject of the swing makes a swing by uttering "1" at the start, "2" at the top, "3" at the impact, and "4" at the finish, frames corresponding to each timing may be identified based on the voice of the subject of the swing.
[0051] In addition, in a golf swing, an impact sound is generated at the moment of impact. In this way, when the user data D1 and the target data D2 are video data obtained by filming a series of movements in a sport in which a predetermined sound is generated at the timing when a predetermined posture is assumed, and when a posture at the timing when the sound is generated is specified as the predetermined posture, the first frame and the second frame may be identified using the sound.
[0052] For example, assume that the user data D1 is video data obtained by filming a golf swing of a user U, and the timing of impact is specified by the user U. In this case, if the height of the user U has been input in advance to the information processing device 1, the first frame can be identified more accurately than in the above embodiment by using the impact sound generated at the time of impact.
[0053] Specifically, the first identification unit 102 calculates the distance DL between the image capturing device 11 and the user U based on the height input by the user U, the number of pixels of the height of the user U captured in each frame represented by the user data D1, and the internal parameters (focal length and magnification) of the image capturing device 11. Note that instead of the internal parameters, a table may be used that associates the height of the subject with the height (number of pixels) of the subject in the image captured by the image capturing device 11 for each distance between the subject and the image capturing device 11.
[0054] The first identification unit 102 then identifies the frame corresponding to a time preceding the frame corresponding to the time the impact sound was recorded by a time DL / VC as the first frame. VC is the speed of sound. Similarly, the second identification unit 103 identifies the second frame based on the player's height for the ideal swing input by the user U, the number of pixels representing the player's height in the video represented by the target data D2, and the impact sound in the target data D2. According to this embodiment, the first and second frames can be accurately identified by using the sound generated when the user U assumes the posture specified by the user U. While the height of the user U is input in the fifth modification, the height of a typical user may be stored in the storage device 14 in advance, and the distance from the information processing device 1 to the golf goal may be calculated using the typical height. Furthermore, the information processing device 1 may estimate the distance between the joints based on the internal parameters and the user data D1, and calculate the user U's height based on the estimated distance between the joints.
[0055] (B-6: Variation 6) The video playback device of the present disclosure may include a generation unit that generates new video data by applying a predetermined effect to user data D1 based on a first frame of the user data D1, and an output unit that outputs the new video data to an external device. When user data D1 is video data obtained by filming a golf swing by user U and the user specifies the timing of impact, an example of the predetermined effect is replacing the impact sound with a gunshot. Other examples of effects that can be applied based on the first frame include adding cheers from spectators to frames several frames after the first frame, or overlaying images such as images of fireworks, images of curves imitating the trajectory of a ball, or numerical values representing the expected flight distance. A specific example of the external device is a server device that provides a video distribution service. According to this aspect, a user can generate a new video to which a predetermined effect is applied based on the timing of the specified posture, and output video data representing the new video to an external device. The generating unit may cut out a partial image from the new video generated by adding the effect, and the output unit may output (upload) the image to the server device of the SNS.
[0056] Note that the present invention is not limited to applying effects based on the first frame, and new video data may be generated by manually editing the user data D1 to change the appearance of the subject of the action in the user data D1. The generator may also generate new video data by applying deformations such as enlarging or reducing images of each part of the user's body to each part of a 3D model of a human body corresponding to a skeleton extracted from each frame of the target data D2 and pasting the modified images as textures. The new video data generated by applying predetermined effects or the like is an example of third video data in the present disclosure.
[0057] (B-7: Modification 7) In the above embodiment, the acquiring unit 101, the first identifying unit 102, the second identifying unit 103, and the display control unit 104 are provided in the smartphone. However, any one, any two, any three, or all of the first identifying unit 102, the second identifying unit 103, and the display control unit 104 may be provided in a server device that communicates with the smartphone via a telecommunications line such as the Internet.
[0058] (B-8: Modification 8) In the above embodiment, the acquisition unit 101, the first identification unit 102, the second identification unit 103, and the display control unit 104 were all software modules. However, any one, any two, any three, any four, or all of the acquisition unit 101, the first identification unit 102, the second identification unit 103, and the display control unit 104 may be hardware modules. Specific examples of hardware modules include a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), an FPGA (Field Programmable Gate Array), etc. Even if at least one of the acquisition unit 101, the first identification unit 102, the second identification unit 103, and the display control unit 104 is a hardware module, the same effects as those of the above embodiment can be achieved.
[0059] (B-9: Variation 9) The control program PR1 may be manufactured or sold as a standalone program. When selling the control program PR1, the control program PR1 may be provided to the purchaser by writing it to a computer-readable recording medium such as a flash ROM and distributing it, or by downloading it via a telecommunications line.
[0060] (C: Aspects Understood from the Above-Described Forms or Modifications) From the above description, a preferred aspect of the present disclosure can be understood, for example, as follows. A video playback device according to one aspect (first aspect) of the present disclosure includes an acquisition unit, a first identification unit, a second identification unit, and a display control unit. The acquisition unit acquires designation information that is included in a first action of a user and a second action to be compared with the first action and indicates a predetermined posture designated by the user. The first identification unit identifies a first frame that corresponds to the designation information among multiple frames represented by first video data obtained by filming the first action. The second identification unit identifies a second frame that corresponds to the designation information among multiple frames represented by second video data obtained by filming the second action. The display control unit plays back the first video data and the second video data in parallel such that the playback timing of the first frame and the playback timing of the second frame coincide, thereby displaying a video corresponding to the first action and a video corresponding to the second action on a display device. According to the first aspect, the video of the first action and the video of the second action can be played back in synchronization with the playback timing of the posture specified by the user.
[0061] In a video playback device according to a second aspect of the first aspect, the first video data and the second video data are stored in a storage device. A display control unit in the video playback device according to the second aspect delays a timing at which one of the first video data and the second video data starts to be read from the storage device relative to a timing at which the other of the first video data and the second video data starts to be read from the storage device. According to the second aspect, by shifting the timing at which playback of the first video data starts from the timing at which playback of the second video data starts, the video of the first action and the video of the second action can be played back in synchronization with the playback timing of a posture specified by a user.
[0062] In a video playback device according to a third aspect of the first aspect, the first video data and the second video data are stored in a storage device. A display control unit in the video playback device according to the second aspect differentiates a position at which reading of one of the first video data and the second video data from the storage device starts from a position at which reading of the other of the first video data and the second video data starts from the storage device. According to the third aspect, by shifting the position at which playback of the first video data starts from a position at which playback of the second video data starts, the video of the first action and the video of the second action can be played back with the playback timing of a posture specified by a user synchronized.
[0063] According to a fourth specific aspect of the first aspect, the acquisition unit in the video playback device receives an instruction from the user specifying one of a plurality of postures that represent characteristics of the first movement and the second movement, and acquires the specification information in response to the received instruction. According to the fourth aspect, the video of the first movement and the video of the second movement can be played back by synchronizing the playback timing of the posture specified by the user from a plurality of postures included in the first movement and the second movement.
[0064] In a video playback device according to a fifth specific aspect of the first aspect, a first identification unit generates, based on the first video data, first information indicating a correspondence between a plurality of frames represented by the first video data and a plurality of postures included in the first action, and identifies the first frame based on the generated first information. In a video playback device according to the fifth aspect, a second identification unit generates, based on the second video data, second information indicating a correspondence between a plurality of frames represented by the second video data and a plurality of postures included in the second action, and identifies the second frame based on the generated second information. According to the fifth aspect, the first frame and the second frame can be identified based on information indicating the correspondence between frames and postures.
[0065] In a sixth aspect specific to the fifth aspect, the first action and the second action are a series of actions in a predetermined sport. A first identification unit in a video playback device according to the sixth aspect generates the first information based on the user's skeleton estimated from each of a plurality of frames represented by the first video data. A second identification unit in a video playback device according to the sixth aspect generates the second information based on the skeleton of an athlete playing the sport estimated from each of a plurality of frames represented by the second video data. According to the sixth aspect, a video representing a series of actions of the user in a predetermined sport and a video representing a series of actions of a comparison athlete can be played back by synchronizing the playback timing of postures specified by the user.
[0066] In a seventh aspect, which is a specific example of the sixth aspect, in a predetermined sport, a predetermined sound is generated when the predetermined posture is assumed. The first video data and the second video data in the seventh aspect include the predetermined sound. A first identification unit in the video playback device according to the seventh aspect identifies the first frame based on the user's skeletal structure and the predetermined sound in the first video data. A second identification unit in the video playback device according to the seventh aspect identifies the second frame based on the athlete's skeletal structure and the predetermined sound in the second video data. According to the seventh aspect, by also using a sound generated when the user assumes a posture specified by the user, the first frame and the second frame can be accurately identified.
[0067] A video playback device according to an eighth aspect of the first aspect further includes a generation unit and an output unit. The generation unit generates third video data by applying a predetermined effect to the first video data based on the first frame in the first video data. The output unit outputs the third video data to an external device. According to the eighth aspect, a video can be generated in which a predetermined effect is applied when a user assumes a posture specified by the user.
[0068] A program according to one aspect (a ninth aspect) of the present disclosure causes a computer to function as an acquisition unit, a first identification unit, a second identification unit, and a display control unit. The acquisition unit acquires designation information included in a first motion of a user and a second motion to be compared with the first motion, the designation information indicating a predetermined posture designated by the user. The first identification unit identifies a first frame corresponding to the designation information among multiple frames represented by first video data obtained by filming the first motion. The second identification unit identifies a second frame corresponding to the designation information among multiple frames represented by second video data obtained by filming the second motion. The display control unit displays a video corresponding to the first motion and a video corresponding to the second motion on a display device by playing the first video data and the second video data in parallel so that the playback timing of the first frame and the playback timing of the second frame coincide. According to the ninth aspect, similar to the first aspect, the video of the first motion and the video of the second motion can be played back by synchronizing the playback timing of postures designated by the user.
[0069] A video playback method according to one aspect (a tenth aspect) of the present disclosure includes acquiring designation information indicating a predetermined posture specified by the user, the predetermined posture being included in a first motion of a user and a second motion to be compared with the first motion, identifying a first frame corresponding to the designation information from among a plurality of frames represented by first video data obtained by filming the first motion, identifying a second frame corresponding to the designation information from among a plurality of frames represented by second video data obtained by filming the second motion, and playing the first video data and the second video data in parallel such that playback timings of the first frames and the second frames coincide with each other, thereby displaying videos corresponding to the first motion and the second motion on a display device. According to the tenth aspect, as in the first and ninth aspects, the video of the first motion and the video of the second motion can be played back by synchronizing playback timings of postures specified by the user.
[0070] 1...information processing device, 10...processing device, 11...imaging device, 12...operation input device, 13...display device, 14...storage device, 15...communication device, 101...acquisition unit, 102...first identification unit, 103...second identification unit, 104...display control unit, PR1...control program, D1...user data, D2...target data, D3...first relationship information, D4...second relationship information, TBL...posture table.
Claims
1. A video playback device having: an acquisition unit that acquires designation information that is included in a first movement of a user and a second movement to be compared with the first movement and indicates a predetermined posture designated by the user; a first identification unit that identifies a first frame that corresponds to the designation information among a plurality of frames represented by first video data obtained by shooting the first movement; a second identification unit that identifies a second frame that corresponds to the designation information among a plurality of frames represented by second video data obtained by shooting the second movement; and a display control unit that displays a video corresponding to the first movement and a video corresponding to the second movement on a display device by playing back the first video data and the second video data in parallel so that the playback timing of the first frame and the playback timing of the second frame coincide.
2. The video playback device of claim 1, wherein the first video data and the second video data are stored in a storage device, and the display control unit delays the timing of starting to read one of the first video data and the second video data from the storage device relative to the timing of starting to read the other video data from the storage device.
3. The video playback device of claim 1, wherein the first video data and the second video data are stored in a storage device, and the display control unit causes a position at which reading of one of the first video data and the second video data from the storage device to start differs from a position at which reading of the other video data from the storage device to start.
4. The video playback device of claim 1, wherein the acquisition unit receives an instruction from the user specifying one of a plurality of postures that represent characteristics of the first movement and the second movement, and acquires the specified information in accordance with the received instruction.
5. The video playback device of claim 1, wherein the first identification unit generates first information indicating a correspondence between a plurality of frames represented by the first video data and the plurality of postures included in the first movement based on the first video data, and identifies the first frame based on the generated first information, and the second identification unit generates second information indicating a correspondence between a plurality of frames represented by the second video data and the plurality of postures included in the second movement based on the second video data, and identifies the second frame based on the generated second information.
6. The video playback device of claim 5, wherein the first movement and the second movement are a series of movements in a specified sport, the first identification unit generates the first information based on the user's skeletal structure estimated from each of a plurality of frames represented by the first video data, and the second identification unit generates the second information based on the skeletal structure of an athlete of the sport estimated from each of a plurality of frames represented by the second video data.
7. The video playback device of claim 6, wherein in the specified sport, a specified sound is generated at the timing when the specified posture is assumed; the first video data and the second video data contain the specified sound; the first identification unit identifies the first frame based on the user's skeletal structure and the specified sound in the first video data; and the second identification unit identifies the second frame based on the athlete's skeletal structure and the specified sound in the second video data.
8. The video playback device according to claim 1, further comprising: a generation unit that generates third video data by applying a predetermined effect to the first video data based on the first frame in the first video data; and an output unit that outputs the third video data to an external device.
9. A program that causes a computer to function as: an acquisition unit that acquires designation information that is included in a first movement of a user and a second movement to be compared with the first movement and indicates a predetermined posture designated by the user; a first identification unit that identifies a first frame that corresponds to the designation information among multiple frames represented by first video data obtained by filming the first movement; a second identification unit that identifies a second frame that corresponds to the designation information among multiple frames represented by second video data obtained by filming the second movement; and a display control unit that displays a video corresponding to the first movement and a video corresponding to the second movement on a display device by playing back the first video data and the second video data in parallel so that the playback timing of the first frame and the playback timing of the second frame coincide.
10. A video playback method comprising: acquiring designation information that is included in a first movement of a user and a second movement to be compared with the first movement and indicates a predetermined posture designated by the user; identifying a first frame that corresponds to the designation information from a plurality of frames represented by first video data obtained by filming the first movement; identifying a second frame that corresponds to the designation information from a plurality of frames represented by second video data obtained by filming the second movement; and playing back the first video data and the second video data in parallel so that the playback timing of the first frame and the playback timing of the second frame coincide, thereby displaying a video corresponding to the first movement and a video corresponding to the second movement on a display device.
Citation Information
Patent Citations
Digest image display device and method, and program
JP2008236124A
Video playback apparatus, video playback method and program
JP2014225772A
Program, method, information processing device, and swing space
WO2020262336A1
