Image processing device, image processing method, and program
Patent Information
- Application Number
- JP2024505668
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-03-07
- Filing Date
- 2022-03-07
- Publication Date
- 2024-11-06
- Estimated Expiration
- 2042-03-07
AI Technical Summary
The existing techniques for preparing template images of a certain quality for human body posture and movement detection in image processing are inefficient, leading to deteriorated detection accuracy unless high-quality images are registered, and there is a lack of effective means to improve this process.
An image processing device and method that includes a playback area for displaying moving images, a missing key point display area to identify undetected body keypoints, and input receiving means to specify sections for extracting template images, allowing users to intuitively select high-quality template images by visualizing detected and undetected keypoints on a UI screen.
This approach enhances the workability of preparing template images, enabling users to easily identify and extract high-quality image sections with good keypoint detection, thereby improving the accuracy of human body posture and movement detection.
Smart Images

Figure 2023170744000001
Abstract
Description
Image processing device, image processing method, and recording medium
[0001] The present invention relates to an image processing device, an image processing method, and a recording medium.
[0002] Techniques related to the present invention are disclosed in Patent Document 1 and Non-Patent Document 1.
[0003] Patent Literature 1 discloses a technique for calculating feature amounts for each of a plurality of key points of a human body included in an image, searching for images containing human bodies with similar postures or movements based on the calculated feature amounts, and classifying images with similar postures or movements together. Non-Patent Literature 1 also discloses a technique related to human skeleton estimation.
[0004] International Publication No. 2021 / 084677
[0005] Zhe Cao, Tomas Simon, Shih-En Wei, Yaser Sheikh, "Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields", The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017, P. 7291-7299
[0006] According to the technology disclosed in the above-mentioned Patent Document 1, an image including a human body in a desired posture or a desired movement is registered in advance as a template image, and thereby a human body in a desired posture or a desired movement can be detected from an image to be processed. As a result of examining the technology disclosed in Patent Document 1, the present inventor newly discovered that the detection accuracy deteriorates unless an image of a certain quality is registered as a template image, and that there is room for improvement in the workability of preparing such a template image.
[0007] Neither Patent Document 1 nor Non-Patent Document 1 discloses the problems related to template images or means for solving them, and therefore there is a problem in that the above problems cannot be solved.
[0008] In view of the above-mentioned problems, an example of an object of the present invention is to provide an image processing device, an image processing method, and a recording medium that solve the problem of workability in preparing a template image of a certain quality.
[0009] According to one aspect of the present invention, there is provided an image processing device having: a screen generating means for generating a screen including a playback area for playing and displaying a moving image including a plurality of frame images, and a missing key point display area for indicating key points of a human body that were not detected in the frame images displayed in the playback area, and displaying the screen on a display unit; and an input accepting means for accepting an input specifying a section to be extracted from the moving image.
[0010] Furthermore, according to one aspect of the present invention, there is provided an image processing method in which a computer generates a screen including a playback area for playing and displaying a moving image including a plurality of frame images, and a missing key point display area for indicating key points of a human body that were not detected in the frame images displayed in the playback area, displays the screen on a display unit, and accepts input specifying a section to be extracted from the moving image.
[0011] According to another aspect of the present invention, there is provided a recording medium having recorded thereon a program that causes a computer to function as: a screen generating means that generates a screen including a playback area that plays and displays a moving image including a plurality of frame images, and a missing key point display area that indicates key points of a human body that were not detected in the frame images displayed in the playback area, and displays the screen on a display unit; and an input accepting means that accepts an input specifying a section to be extracted from the moving image.
[0012] According to one aspect of the present invention, an image processing device, an image processing method, and a recording medium are provided that solve the problem of workability in preparing a template image of a certain quality.
[0013] The above-mentioned objects, as well as other objects, features, and advantages, will become more apparent from the following description of the preferred embodiments and the accompanying drawings.
[0014] 1 is a diagram illustrating an example of a functional block diagram of an image processing device. FIG. 2 is an example of a UI screen generated by the image processing device. FIG. 3 is a diagram illustrating an example of a hardware configuration of the image processing device. FIG. 4 is a diagram illustrating another example of a functional block diagram of an image processing device. FIG. 5 is a diagram illustrating an example of a skeletal structure of a human body model detected by the image processing device. FIG. 6 is a diagram illustrating an example of a skeletal structure of a human body model detected by the image processing device. FIG. 7 is a diagram illustrating an example of a skeletal structure of a human body model detected by the image processing device. FIG. 8 is a diagram illustrating an example of a skeletal structure of a human body model detected by the image processing device. FIG. 9 is a diagram illustrating an example of a skeletal structure of a human body model detected by the image processing device. FIG. 10 is a diagram illustrating an example of a skeletal structure of a human body model detected by the image processing device. FIG. 11 is a diagram illustrating an example of a skeletal structure of a human body model detected by the image processing device. 10 is a diagram illustrating an example of moving object state information processed by the image processing device. 11 is another example of a UI screen generated by the image processing device.
[0015] Hereinafter, embodiments of the present invention will be described with reference to the drawings. In all the drawings, like components are designated by like reference numerals, and the description thereof will be omitted as appropriate.
[0016] First Embodiment Fig. 1 is a functional block diagram showing an overview of an image processing device 10 according to a first embodiment. As shown in Fig. 1, the image processing device 10 has a screen generation unit 11 and an input reception unit 12. The screen generation unit 11 generates a screen including a playback area for displaying a moving image including a plurality of frame images and a missing key point display area for indicating key points of a human body that were not detected in the frame images displayed in the playback area, and displays the screen on a display unit. The input reception unit 12 receives input specifying a section to be extracted from the moving image.
[0017] According to this image processing device 10, it is possible to solve the problem of workability in preparing template images of a certain quality.
[0018] Second Embodiment "Overview" The image processing device 10 generates a UI (User Interface) screen including a playback area for playing back and displaying a moving image and a missing key point display area for indicating key points of a human body that were not detected in a frame image displayed in the playback area, as shown in Fig. 2, for example. The image processing device 10 can then accept an input specifying a section of a moving image to be extracted as a template image via such a UI screen.
[0019] By referring to the playback area and the missing key point display area, the user can identify a location in the video containing a human body that is in the desired posture or movement and has good key point detection, and extract the identified location as a template image.
[0020] "Hardware Configuration" Next, an example of the hardware configuration of the image processing device 10 will be described. Each functional unit of the image processing device 10 is realized by any combination of hardware and software, centered around a CPU (Central Processing Unit) of any computer, memory, programs loaded into the memory, a storage unit such as a hard disk that stores the programs (which can store programs pre-loaded at the time the device is shipped, as well as programs downloaded from storage media such as CDs (Compact Discs) or servers on the Internet), and a network connection interface. Those skilled in the art will understand that there are many variations in the implementation methods and devices.
[0021] FIG. 3 is a block diagram illustrating an example of the hardware configuration of an image processing device 10. As shown in FIG. 3, the image processing device 10 has a processor 1A, a memory 2A, an input / output interface 3A, a peripheral circuit 4A, and a bus 5A. The peripheral circuit 4A includes various modules. The image processing device 10 does not necessarily have to have the peripheral circuit 4A. Note that the image processing device 10 may be composed of multiple devices that are physically and / or logically separated. In this case, each of the multiple devices can have the above hardware configuration.
[0022] The bus 5A is a data transmission path for the processor 1A, memory 2A, peripheral circuit 4A, and input / output interface 3A to transmit and receive data to and from each other. The processor 1A is, for example, a processing unit such as a CPU or a graphics processing unit (GPU). The memory 2A is, for example, a random access memory (RAM) or a read-only memory (ROM). The input / output interface 3A includes an interface for acquiring information from an input device, an external device, an external server, an external sensor, a camera, etc., and an interface for outputting information to an output device, an external device, an external server, etc. Examples of input devices include a keyboard, a mouse, a microphone, physical buttons, a touch panel, etc. Examples of output devices include a display, a speaker, a printer, a mailer, etc. The processor 1A can issue commands to each module and perform calculations based on the results of those calculations.
[0023] "Functional Configuration" Fig. 4 is a functional block diagram showing an overview of an image processing device 10 according to the second embodiment. As shown in Fig. 4, the image processing device 10 has a screen generation unit 11, an input acceptance unit 12, a display unit 13, and a storage unit 14. Note that the image processing device 10 does not have to have the storage unit 14. In this case, an external device configured to be able to communicate with the image processing device 10 has the storage unit 14. Also, the image processing device 10 does not have to have the display unit 13. In this case, the external device configured to be able to communicate with the image processing device 10 has the display unit 13.
[0024] The storage unit 14 stores the results of the process of detecting key points of the human body that has been performed on each of a plurality of frame images included in the video.
[0025] A "moving image" is an image that serves as the basis for a template image. The template image is an image (a concept that includes still images and moving images) that is registered in advance in the technology disclosed in the above-mentioned Patent Document 1, and is an image that includes a human body in a desired posture or desired movement (a posture or movement that a user wants to detect).
[0026] The process of detecting key points of the human body is performed by a skeletal structure detection unit. The image processing device 10 may include the skeletal structure detection unit, or the skeletal structure detection unit may be included in another device that is physically and / or logically separated from the image processing device 10.
[0027] The skeletal structure detection unit detects, for each frame image, N (N is an integer equal to or greater than 2) key points of the human body contained in each frame image. This processing by the skeletal structure detection unit is realized using the technology disclosed in Patent Document 1. Although details are omitted, the technology disclosed in Patent Document 1 detects the skeletal structure using a skeletal estimation technology such as OpenPose disclosed in Non-Patent Document 1. The skeletal structure detected by this technology is composed of "key points," which are characteristic points such as joints, and "bones (bone links)," which indicate the links between the key points.
[0028] Fig. 5 shows the skeletal structure of a human body model 300 detected by the skeletal structure detection unit, and Figs. 6 to 8 show examples of detected skeletal structures. The skeletal structure detection unit detects the skeletal structure of a human body model (two-dimensional skeletal model) 300 as shown in Fig. 5 from a two-dimensional image using a skeletal estimation technology such as OpenPose. The human body model 300 is a two-dimensional model made up of key points such as a person's joints and bones connecting each key point.
[0029] The skeletal structure detection unit, for example, extracts feature points that can be key points from an image and detects N key points of the human body by referring to information obtained by machine learning of the image of the key points. The N key points to be detected are determined in advance. The number of key points to be detected (i.e., the number N) and which parts of the human body are to be detected as key points vary, and any variation can be adopted.
[0030] In the following, as shown in Figure 5, the head A1, neck A2, right shoulder A31, left shoulder A32, right elbow A41, left elbow A42, right hand A51, left hand A52, right hip A61, left hip A62, right knee A71, left knee A72, right foot A81, and left foot A82 are defined as N key points (N = 14) to be detected. In the human body model 300 shown in FIG. 5, the following bones are further defined as bones of a person connecting these key points: bone B1 connecting the head A1 and neck A2; bone B21 and bone B22 connecting the neck A2 to the right shoulder A31 and left shoulder A32, respectively; bone B31 and bone B32 connecting the right shoulder A31 and left shoulder A32 to the right elbow A41 and left elbow A42, respectively; bone B41 and bone B42 connecting the right elbow A41 and left elbow A42 to the right hand A51 and left hand A52, respectively; bone B51 and bone B52 connecting the neck A2 to the right hip A61 and left hip A62, respectively; bone B61 and bone B62 connecting the right hip A61 and left hip A62 to the right knee A71 and left knee A72, respectively; and bone B71 and bone B72 connecting the right knee A71 and left knee A72 to the right foot A81 and left foot A82, respectively.
[0031] Fig. 6 shows an example of detecting a person standing upright. In Fig. 6, the person is imaged from the front, and bones B1, B51 and B52, B61 and B62, and B71 and B72 are detected without overlapping, and bones B61 and B71 of the right foot are slightly more bent than bones B62 and B72 of the left foot.
[0032] 7 shows an example of detecting a person in a crouching position. In this example, the image of the person crouching is captured from the right side, and bones B1, B51 and B52, B61 and B62, and B71 and B72 are detected as seen from the right side. Bones B61 and B71 of the right foot and bones B62 and B72 of the left foot are significantly bent and overlap each other.
[0033] Fig. 8 shows an example of detecting a person who is lying down. In Fig. 8, the person lying down is imaged from the diagonal front left, and bones B1, B51 and B52, B61 and B62, and B71 and B72 as seen from the diagonal front left are detected, and bones B61 and B71 of the right foot and bones B62 and B72 of the left foot are bent and overlapped.
[0034] 9 schematically shows an example of information stored in the storage unit 14. As shown in Fig. 9, the storage unit 14 stores the detection results of key points of a human body for each frame image (for each frame image identification information). When multiple human bodies are included in one frame image, the detection results of key points of each of the multiple human bodies are stored in association with that frame image.
[0035] The storage unit 14 stores data capable of reproducing a human body model 300 in a predetermined posture as shown in Figures 6 to 8 as a result of detecting human body key points. The detection result of human body key points indicates which of the N key points of the detection target have been detected and which have not. The storage unit 14 may also store data indicating the positions of the detected human body key points within the frame images. The storage unit 14 may also store attribute information related to the video, such as the file name of the video, the shooting date and time, the shooting location, and the identification information of the camera that shot the video.
[0036] Returning to Figure 4, the screen generation unit 11 generates a UI screen including a playback area for playing back and displaying a moving image including multiple frame images, and a missing key point display area for indicating key points of the human body that were not detected in the frame images displayed in the playback area, and displays the UI screen on the display unit 13.
[0037] 2 shows an example of a UI screen. The UI screen shown in the figure includes a playback area and a missing key point display area. Note that the layout of the playback area and the missing key point display area is not limited to the example shown in the figure.
[0038] In the playback area, a moving image is played back and displayed. Although not shown, buttons for performing operations such as play, pause, rewind, fast forward, slow play, and stop may be displayed on the UI screen.
[0039] In the missing key point display area, information indicating key points of the human body that were not detected in the frame image displayed in the playback area is displayed. For example, as shown in the example of FIG. 2, a human body model may be displayed in which detected key points and undetected key points are distinguished from each other. 1 corresponds to the detected keypoints, and the object K is outlined by a dashed line. 2 corresponds to the undetected keypoints. 1 and Object K 2 The method of distinguishing and displaying the key points is not limited to changing the outline, but may be to change the color, shape, size, brightness, etc. of the object, or other methods may be adopted. Also, an object as shown in Figure 2 may be displayed corresponding to only either the detected key points or the undetected key points, and the object corresponding to the other key point may be hidden.
[0040] Note that the human body model displayed in the missing keypoint display area indicates undetected human body keypoints, and does not indicate the posture of the human body. Therefore, the posture of the human body model displayed in the missing keypoint display area always remains the same and does not change depending on the posture of the human body included in the frame image displayed in the playback area. Note that in the following embodiment, an example will be described in which the human body model displayed in the missing keypoint display area indicates the posture of the human body included in the frame image displayed in the playback area.
[0041] As another example of information to be displayed in the missing keypoint display area, in addition to or instead of the human body model as shown in FIG. 2, at least one of the “number of undetected keypoints or the number of detected keypoints” and “names of undetected keypoints (head, neck, etc.) or names of detected keypoints” may be displayed in the missing keypoint display area.
[0042] Furthermore, when a frame image displayed in the playback area includes multiple human bodies, the screen generator 11 may select one human body from the multiple human bodies according to a predetermined rule and display the key points of the selected human body that were not detected in the missing key point display area. Examples of rules for selecting one human body include, but are not limited to, "selecting a human body specified by the user" and "selecting the human body that is the largest in size in the frame image." In this case, the screen generator 11 may highlight the selected human body on the frame image displayed in the playback area. For example, the screen generator 11 may highlight the selected human body by superimposing a frame surrounding the human body or a mark corresponding to the human body on the frame image.
[0043] As a modified example, when a frame image displayed in the playback area includes multiple human bodies, the screen generator 11 may simultaneously display the undetected key points for each of the multiple human bodies in the missing key point display area. For example, the screen generator 11 may display the "human body model displayed in the missing key point display area of FIG. 2," the "number of undetected key points or the number of detected key points," or the "name of the undetected key points or the name of the detected key points" for each of the multiple human bodies included in the frame image displayed in the playback area. In this case, it is preferable to display information indicating the correspondence between the multiple human bodies included in the frame image displayed in the playback area and the detection results of the key points for the multiple human bodies displayed in the missing key point display area. For example, a conceivable technique is to surround the corresponding "human bodies in the playback area" and "detection results in the missing key point display area" with frames of the same color, but this is not limited to this.
[0044] 2 in the missing keypoint display area while the video is being played in the playback area. In this case, the information displayed in the missing keypoint display area is updated as the frame images displayed in the playback area change. Additionally, the screen generator 11 may display, in the missing keypoint display area, keypoints of a human body that have not been detected in a human body included in a frame image currently being displayed in the playback area, only while the video on the playback area is paused.
[0045] The screen generation unit 11 can generate the above-described UI screen using the "results of the detection process of key points of the human body performed on each of the multiple frame images included in the moving image" stored in the memory unit 14.
[0046] The display unit 13 that displays the UI screen may be a display or a projection device connected to the image processing device 10. Alternatively, a display or a projection device connected to an external device configured to be able to communicate with the image processing device 10 may serve as the display unit 13 that displays the UI screen. In this case, the image processing device 10 serves as a server, and the external device serves as a client terminal. Examples of external devices include, but are not limited to, personal computers, smartphones, smartwatches, tablet terminals, and mobile phones.
[0047] 4 , the input receiving unit 12 receives an input specifying a section of a video to be extracted as a template image. The section is a time period within the video having a duration. For example, the start and end positions of the section are indicated by the elapsed time from the beginning of the video.
[0048] There are no restrictions on the means for accepting the designation of the section to be extracted, and any technology can be employed. In the case of the UI screen shown in Figure 2, the section to be extracted can be designated by pressing the confirm button corresponding to the start position of the section to be extracted while a frame image of the start position of the section to be extracted is displayed in the playback area, or by pressing the confirm button corresponding to the end position of the section to be extracted while a frame image of the end position of the section to be extracted is displayed in the playback area.
[0049] Alternatively, the means for accepting the specification of the section to be extracted may display a slide bar on the UI screen that indicates the playback time of the video or the elapsed time from the beginning, and accept specification of the start position and end position of the extraction section on the slide bar. Alternatively, the means for accepting the specification of the section to be extracted may automatically determine the position where the user starts playback as the start position of the extraction section, and automatically determine the position where the user stops playback as the end position of the extraction section. Alternatively, the means for accepting the specification of the section to be extracted may determine the start position of the extraction section to be a certain number of frames before a reference position (reference frame) in the video that the user specifies using the slide bar or the like, and decide the end position of the extraction section to be a certain number of frames after that reference position.
[0050] Next, an example of the flow of processing by the image processing device 10 will be described with reference to the flowchart of FIG.
[0051] The image processing device 10 generates a UI screen including a playback area for playing back and displaying a video including a plurality of frame images, and a missing key point display area for indicating key points of a human body that were not detected in the frame images displayed in the playback area, and displays the UI screen on the display unit 13 (S10). Next, the image processing device 10 accepts an input specifying a section to be extracted from the video via the UI screen (S11).
[0052] Note that, when the image processing device 10 receives an input specifying a section to be extracted from the video, it may cut out the section from the video and create and save a separate video file. Additionally, when the image processing device 10 receives an input specifying a section to be extracted from the video, it may store information indicating the specified section in the storage unit 14. For example, the file name of the video and information indicating the specified section (such as information indicating the start and end positions of the section) may be associated with each other and stored in the storage unit 14.
[0053] 2, the image processing device 10 of the second embodiment can generate a UI screen including a playback area for playing back and displaying a moving image and a missing key point display area for indicating key points of a human body that were not detected in a human body included in frame images displayed in the playback area, and can display the UI screen on the display unit 13. The image processing device 10 can then accept, via such a UI screen, an input specifying a section to be extracted as a template image from within the moving image.
[0054] The user can refer to the UI screen to identify a location in a video containing a human body that is in a desired posture or movement and has a good keypoint detection state, and extract the identified location as a template image. This image processing device 10 can solve the problem of workability in preparing template images of a certain quality.
[0055] Furthermore, the image processing device 10 can display a UI screen showing a human body model in which detected keypoints and undetected keypoints are distinguishably displayed in the missing keypoint display area, as shown in Fig. 2. Through such a human body model, the user can intuitively and easily grasp the undetected keypoints.
[0056] <Third Embodiment> The image processing device 10 of the third embodiment differs from the image processing device 10 of the first and second embodiments in that it generates and displays a UI screen that further displays a human body model indicating the posture of a human body included in a frame image displayed in the playback area, in addition to the information described in the first and second embodiments (playback area, missing key point display area). This will be described in detail below.
[0057] The screen generator 11 generates a UI screen that further displays a human body model showing the posture of the human body included in the frame image displayed in the playback area, in addition to the information described in the first and second embodiments (playback area, missing key point display area), and causes the display unit 13 to display the UI screen. The human body model 300 shown in Fig. 5 is displayed in a predetermined posture as shown in Figs. 6 to 8. The screen generator 11 executes at least one of the first to third processes described below.
[0058] In the first process, the screen generator 11 generates a UI screen including a human body model display area in addition to the playback area and the missing key point display area. In the human body model display area, a human body model is displayed, which is configured with key points detected in the human body included in the frame image displayed in the playback area and indicates the posture of the human body.
[0059] An example of the UI screen is shown in Fig. 11. A human body model is displayed in both the human body model display area and the missing keypoint display area, but the difference is that the human body model displayed in the human body model display area indicates the posture of the human body, while the human body model displayed in the missing keypoint display area indicates keypoints that were not detected.
[0060] In addition, when a frame image displayed in the playback area includes multiple human bodies, the screen generation unit 11 may select one human body from the multiple human bodies according to a predetermined rule and display a human body model showing the posture of the selected human body in the human body model display area. Examples of rules for selecting one human body include, but are not limited to, "selecting a human body specified by the user" and "selecting the largest human body in the frame image." In this case, the screen generation unit 11 may highlight the selected human body on the frame image displayed in the playback area. For example, the screen generation unit 11 may highlight the selected human body by superimposing a frame surrounding the human body or a mark corresponding to the human body on the frame image.
[0061] As a modified example, when a frame image displayed in the playback area includes multiple human bodies, the screen generation unit 11 may display multiple human body models showing the postures of each of the multiple human bodies in the human body model display area. In this case, it is preferable to display information showing the correspondence between the multiple human bodies included in the frame image displayed in the playback area and the multiple human body models displayed in the human body model display area. For example, a conceivable method is to surround corresponding "human bodies in the playback area" and "human body models in the human body model display area" with frames of the same color, but this is not limited to this.
[0062] Furthermore, the screen generating unit 11 may constantly display a human body model in the human body model display area while a moving image is being played in the playback area. In this case, the posture of the human body model displayed in the human body model display area is updated in accordance with changes in the frame images displayed in the playback area. Additionally, the screen generating unit 11 may display, in the human body model display area, a human body model showing the posture of the human body included in the frame image currently displayed in the playback area only while the moving image in the playback area is paused.
[0063] In the second process, the screen generator 11 generates a UI screen in which a human body model showing the posture of a human body is superimposed on the frame image displayed in the playback area. The human body model may be superimposed on the human body included in the frame image.
[0064] An example of the UI screen is shown in Fig. 12. A human body model showing the posture of the human body included in the frame image is superimposed on the frame image displayed in the playback area. The human body model is superimposed on the human body included in the frame image.
[0065] If the frame image displayed in the playback area includes multiple human bodies, the screen generator 11 may superimpose multiple human body models showing the postures of the multiple human bodies on the frame image. It is preferable that each of the multiple human body models is superimposed on the corresponding human body.
[0066] Furthermore, the screen generating unit 11 may constantly display a human body model on the frame images while the moving image is being played in the playback area. In this case, the posture and position of the human body model superimposed on the frame images are updated as the frame images displayed in the playback area are switched. Additionally, the screen generating unit 11 may superimpose on the frame images a human body model showing the posture of the human body included in the frame image currently displayed in the playback area, only while the moving image in the playback area is paused.
[0067] "Third Processing" In the third processing, the screen generation unit 11 displays the undetected human body keypoints in the missing keypoint display area, and also displays a human body model showing the posture of the human body. In this case, the posture of the human body model displayed in the missing keypoint display area changes depending on the posture of the human body included in the frame image displayed in the playback area. Specifically, the posture of the human body model displayed in the missing keypoint display area becomes the same as the posture of the human body included in the frame image displayed in the playback area.
[0068] An example of the UI screen is shown in Fig. 13. The posture of the human body model displayed in the missing key point display area is the same as the posture of the human body included in the frame image displayed in the playback area.
[0069] If the frame image displayed in the playback area includes multiple human bodies, the screen generator 11 may select one human body from the multiple human bodies according to a predetermined rule and display the keypoint detection results of the selected human body and a human body model showing the posture in the missing keypoint display area. Examples of rules for selecting one human body include, but are not limited to, "select a human body specified by the user" and "select the human body that is the largest in size in the frame image." In this case, the screen generator 11 may highlight the selected human body on the frame image displayed in the playback area. For example, the screen generator 11 may highlight the selected human body by superimposing a frame surrounding the human body or a mark corresponding to the human body on the frame image.
[0070] As a modified example, when a frame image displayed in the playback area includes multiple human bodies, the screen generation unit 11 may display multiple human body models showing the keypoint detection results and postures of each of the multiple human bodies in the missing keypoint display area. In this case, it is preferable to display information showing the correspondence between the multiple human bodies included in the frame image displayed in the playback area and the multiple human body models displayed in the missing keypoint display area. For example, a conceivable method is to surround corresponding "human bodies in the playback area" and "human body models in the missing keypoint display area" with frames of the same color, but this is not limited to this.
[0071] Furthermore, the screen generating unit 11 may constantly display a human body model in the missing keypoint display area while the video is being played in the playback area. In this case, the content of the human body model displayed at the missing keypoint (posture and keypoint detection results) is also updated as the frame images displayed in the playback area change. Additionally, the screen generating unit 11 may display a human body model indicating the posture and keypoint detection results of the human body contained in the frame images currently displayed in the playback area in the missing keypoint display area only while the video on the playback area is paused.
[0072] The other configurations of the image processing device 10 of the third embodiment are similar to those of the image processing device 10 of the first and second embodiments.
[0073] The image processing device 10 of the third embodiment achieves the same effects as the image processing device 10 of the first and second embodiments. Furthermore, the image processing device 10 of the third embodiment can generate and display a UI screen that further displays a human body model that indicates the posture of a human body included in a frame image displayed in the playback area.
[0074] While referring to the UI screen, the user can identify a location in a video containing a human body that is in a desired pose or desired movement, where the key points have been detected satisfactorily, and where the detected key points indicate the correct pose or movement (i.e., where the key points have been correctly detected), and extract the identified location as a template image. This image processing device 10 can solve the problem of workability in preparing template images of a certain quality.
[0075] <Fourth Embodiment> The image processing device 10 of the fourth embodiment differs from the image processing device 10 of the first to third embodiments in that it generates and displays a UI screen that further displays a floor map indicating the installation location of the camera that captured the video, in addition to the information described in the first and second embodiments (playback area, missing key point display area). The UI screen generated by the image processing device 10 of the fourth embodiment may further display the information described in the third embodiment (a human body model indicating the posture of a human body included in a frame image displayed in the playback area). This will be described in detail below.
[0076] The screen generator 11 generates a UI screen that displays, in addition to the information described in the first and second embodiments (playback area, missing key point display area), a floor map indicating the installation position of the camera that captured the video, and causes the display unit 13 to display the UI screen. The screen generator 11 may also generate a UI screen that displays, in addition to the above information, the information described in the third embodiment (a human body model indicating the posture of a human body included in the frame image displayed in the playback area), and causes the display unit 13 to display the UI screen. Below, several examples of UI screens including floor maps are shown.
[0077] "First Example" Fig. 14 shows an example of a UI screen generated by the screen generation unit 11. The UI screen shown in Fig. 14 displays a floor map in addition to a playback area and a missing key point display area. In this example, the camera is installed inside a bus. Therefore, the floor map is a map of the inside of the bus. In the figure, C 1 The icon indicates the camera's location.
[0078] "Second Example" There are cases where multiple cameras are used to capture the same location. The multiple cameras are installed in different locations. In this case, as in the example of FIG. 15, the screen generator 11 can generate a UI screen including a floor map showing the installation positions of the multiple cameras. In this example, three cameras are installed inside a bus. The floor map shows icons C indicating the installation positions of each of the three cameras. 1 ~C 3 is shown.
[0079] In this example, the input receiving unit 12 can receive an input specifying one camera. Then, the screen generating unit 11 can play back and display in the playback area a video image taken by the specified camera among the multiple cameras. Note that the screen generating unit 11 may highlight the specified camera on the floor map as shown in FIG. 15. The screen generating unit 11 may also display information indicating the specified camera in the playback area. In the example shown in FIG. 15, the message "Camera C" is displayed above the video image. 1 " is superimposed on the text information identifying the designated camera.
[0080] There are various means by which the input receiving unit 12 receives an input specifying one camera. For example, the input receiving unit 12 may receive an input to select an icon of one camera on a floor map, or may be realized by other means.
[0081] The input accepting unit 12 may accept an input to change the designated camera while a video is being played in the playback area. In this case, in response to the input to change the designated camera, the video being played and displayed in the playback area is switched from the video shot by the camera previously designated to the video shot by the newly designated camera. At this time, the playback start position of the video shot by the newly designated camera may be determined based on the playback end position of the video previously being played and displayed. For example, videos shot by multiple cameras may be assigned timestamps indicating the shooting dates and times. When switching the video being played and displayed in the playback area in response to an input to change the designated camera while a video is being played in the playback area, the input accepting unit 12 may first identify the shooting date and time of the playback end position of the video previously being played. Then, the input accepting unit 12 may play the video shot by the newly designated camera from the portion shot on the identified shooting date and time.
[0082] "Third Example" There are cases where multiple cameras are used to capture the same location. The multiple cameras are installed in different locations. In this case, as in the example of FIG. 16, the screen generator 11 can generate a UI screen including a floor map showing the installation positions of the multiple cameras. In this example, three cameras are installed inside a bus. The floor map shows icons C indicating the installation positions of each of the three cameras. 1 ~C 3 is shown.
[0083] In this example, the input accepting unit 12 can accept an input specifying one camera. Then, as shown in Fig. 16, the screen generating unit 11 can simultaneously play back and display multiple videos captured by multiple cameras in the playback area, generate a UI screen in which the video captured by the specified camera is highlighted, and display the UI screen on the display unit 13. In the example shown in the figure, the video captured by the specified camera is displayed on a larger screen than the videos captured by the other cameras, and further, text information saying "selected" is superimposed on the video to highlight it, but the highlighting may be achieved using other methods.
[0084] Furthermore, timestamps indicating the date and time of shooting may be added to videos captured by multiple cameras, and the screen generator 11 may use the timestamps to synchronize the playback timing and playback position of multiple videos so that frame images captured at the same timing are displayed simultaneously in the playback area.
[0085] The screen generator 11 may highlight the designated camera on the floor map as shown in FIG.
[0086] There are various means by which the input receiving unit 12 receives an input specifying one camera. For example, the input receiving unit 12 may receive an input to select an icon of one camera on a floor map, or may receive an input to select a video image captured by one camera on a playback area, or may be realized by other means.
[0087] The input receiving unit 12 may receive an input to change the designated camera while a video is being played back in the playback area. In this case, the video highlighted in the playback area is switched in response to the input to change the designated camera.
[0088] In the third example, the missing key point display area may display information about key points of a human body detected in a video captured by a specified camera among the multiple videos being played back and displayed in the playback area. Furthermore, when the configuration of the third embodiment is adopted, a human body model showing the posture of a human body detected in a video captured by a specified camera among the multiple videos being played back and displayed in the playback area may be displayed on the UI screen.
[0089] In the third example, when the input accepting unit 12 accepts a user input specifying a human body in one video displayed in the playback area, the screen generating unit 11 may highlight (enclose in a frame, etc.) that body appearing in other videos. Identifying the same person appearing across multiple videos is achieved by face matching, appearance matching, position matching, etc.
[0090] "Fourth Example" The screen generator 11 may further display the position of a human body detected in a frame image displayed in the playback area on the floor map of any of the first to third examples. Furthermore, the screen generator 11 may further display the position of a human body detected in a frame image captured by another camera at the same time as the frame image displayed in the playback area on the floor map of any of the first to third examples.
[0091] FIG. 17 shows an example of a floor map displayed on a UI screen. An icon P indicates the position of a human body. The position of the human body can be identified by image analysis. For example, if the installation positions and orientations of the cameras are fixed, correspondence information indicating the correspondence between positions in frame images captured by each of the multiple cameras and positions on the floor map can be generated in advance. Then, using this correspondence information, the positions of the human bodies detected in the frame images can be converted to positions on the floor map.
[0092] Furthermore, as shown in Fig. 20 , information indicating an approximate capture range of each camera may be displayed on the floor map. In the example shown in Fig. 20 , the capture range of each camera is indicated by a fan-shaped figure, but this is not limiting. In addition, although the capture ranges of all cameras are displayed in the example shown in Fig. 20 , only the capture range of a specified camera may be displayed. The capture range of each camera may be automatically determined based on the specifications of each camera (installation position, orientation, specs (angle of view, etc.), etc.), or may be defined manually. Whether or not to include in the capture range a position that is visible to the camera but is difficult to detect because a person is far away and only a small image is captured, or a position where an obstacle obstructs the view, is up to the discretion of the viewer and depends on the definition of the capture range.
[0093] Although an example of taking a picture inside a bus has been described here, the place where the picture is taken is not limited to this example.
[0094] The other configurations of the image processing device 10 of the fourth embodiment are similar to those of the image processing device 10 of the first to third embodiments.
[0095] The image processing device 10 of the fourth embodiment achieves the same effects as the image processing devices 10 of the first to third embodiments. Furthermore, the image processing device 10 of the fourth embodiment allows a user to identify a location to be extracted as a template image by checking the position of the camera that took the image, switching between videos captured by cameras simultaneously, comparing the videos captured by cameras simultaneously, and checking the relative positions of the human body and the cameras. This image processing device 10 can solve the problem of workability in preparing template images of a certain quality.
[0096] Fifth Embodiment In the fifth embodiment, a camera is installed inside a moving object. The image processing device 10 of the fifth embodiment differs from the image processing device 10 of the first to fourth embodiments in that it generates and displays a UI screen that further includes a moving object status display area that indicates the status of the moving object at the time when the frame image displayed in the playback area was captured, in addition to the information described in the first and second embodiments (playback area, missing key point display area). The UI screen generated by the image processing device 10 of the fifth embodiment may further display at least one of the information described in the third embodiment (a human body model indicating the posture of a human body included in the frame image displayed in the playback area) and the information described in the fourth embodiment (a floor map). This will be described in detail below.
[0097] The screen generator 11 generates a UI screen that further includes a moving object state display area in addition to the information described in the first and second embodiments (playback area, missing key point display area), and displays the UI screen on the display unit 13. The screen generator 11 may generate a UI screen that further displays at least one of the information described in the third embodiment (a human body model showing the posture of a human body included in a frame image displayed in the playback area) and the information described in the fourth embodiment (a floor map) in addition to the above information, and displays the UI screen on the display unit 13.
[0098] In the fifth embodiment, the camera is installed inside a moving object. The moving object is something that people can ride in, such as a bus, train, airplane, ship, vehicle, etc. The moving object status display area displays information indicating the status of the moving object at the time the frame image displayed in the playback area was captured.
[0099] Fig. 18 shows an example of a UI screen generated by the screen generation unit 11. A moving object status display area is displayed on the UI screen shown in Fig. 18. In this area, text information saying "Stopped" is displayed as the moving object status at the time when the frame image displayed in the playback area was captured.
[0100] The state of the mobile object is a state that can be identified by a sensor installed on the mobile object. Various states can be defined as states to be displayed in the mobile object state display area. For example, stopped, stopped, running, moving, X 1 While driving straight at less than km / h, X 1 Examples of the vehicle speed include, but are not limited to, going straight at a speed of 100 km / h or more, turning right, turning left, turning right, turning left, ascending, descending, etc.
[0101] Based on information acquired by various sensors installed on the moving body, moving body state information indicating the state of the moving body at each timing as shown in Fig. 19 can be generated and stored in the storage unit 14. Based on the moving body state information, the screen generation unit 11 can identify the state of the moving body at the timing when the frame image displayed in the playback area was captured, and display information indicating the identified state in the moving body state display area.
[0102] The other configurations of the image processing device 10 of the fifth embodiment are similar to those of the image processing device 10 of the first to fourth embodiments.
[0103] The image processing device 10 of the fifth embodiment achieves the same effects as the image processing devices 10 of the first to fourth embodiments. Furthermore, the image processing device 10 of the fifth embodiment allows a user to identify a location to be extracted as a template image while checking the state of the moving object at the time of capture. This image processing device 10 can solve the problem of workability in preparing template images of a certain quality.
[0104] <Modifications> "First Modification" In the above embodiment, image analysis processing such as processing to detect key points in advance is performed on a moving image, the results are stored in the storage unit 14, and a distinctive UI screen is generated using the stored data. As a modification, when a moving image is played back and displayed in the playback area, image analysis processing such as processing to detect key points in the moving image may be performed at that timing, and a UI screen may be generated using the results.
[0105] "Second Modification" Image analysis techniques such as person tracking may be used to identify the same person appearing across multiple frame images in a moving image. When a user specifies a human body appearing in a frame image, the screen generator 11 may identify other frame images that include the same human body as the specified human body and have better key point detection results than the specified human body, and display the identified frame images as other candidates on the UI screen.
[0106] Additionally, the screen generation unit 11 may identify other frame images that depict a human body of the same person as the specified human body, that have better key point detection results than the specified human body, and that are in a posture that is the same as the posture of the specified human body or that has a similarity equal to or greater than a threshold value, and display the identified frame images on the above-mentioned UI screen as other candidates.
[0107] It should be noted that the search target for the other candidates may be narrowed down to frame images from a frame image showing the specified human body a predetermined number of frames before to a frame image showing the specified human body a predetermined number of frames after.
[0108] A "human body with better keypoint detection results than a specified human body" is a human body with a larger number of detected keypoints than the specified human body, etc. The pose similarity can be calculated using the method disclosed in Patent Document 1.
[0109] "Specifying one human body appearing in a certain frame image" may be realized, for example, by pausing the moving image displayed in the playback area and then specifying one of the human bodies appearing in the frame images displayed in the playback area at that time.
[0110] Although the embodiments of the present invention have been described above with reference to the drawings, these are merely examples of the present invention, and various other configurations can also be adopted.
[0111] In addition, although the flowcharts used in the above description show multiple steps (processes) in a sequential order, the order of steps executed in each embodiment is not limited to the order shown. In each embodiment, the order of the steps shown in the drawings can be changed as long as it does not cause any problems in terms of content. Furthermore, the above-described embodiments can be combined as long as the content is not contradictory.
[0112] Some or all of the above embodiments may be described as, but are not limited to, the following supplementary notes. 1. An image processing device comprising: screen generation means for generating a screen including a playback area for playing and displaying a moving image including a plurality of frame images, and a missing key point display area for indicating key points of a human body not detected in the human body included in the frame images displayed in the playback area, and displaying the screen on a display unit; and input receiving means for receiving input specifying an interval to be extracted from the moving image. 2. The image processing device according to 1, wherein the screen generation means generates the screen further displaying a human body model indicating the posture of the human body included in the frame images displayed in the playback area. 3. The image processing device according to 2, wherein the screen generation means generates the screen further including a human body model display area for displaying a human body model indicating the posture of the human body, the human body model being configured with the key points detected in the human body included in the frame images displayed in the playback area. 4. The image processing device according to 2, wherein the screen generation means generates the screen in which a human body model indicating the posture of the human body, configured with the key points detected in the human body included in the frame images displayed in the playback area, is superimposed on the frame images displayed in the playback area. 5. 1. The image processing device according to claim 2, wherein the screen generation means generates the screen on which the key points detected in the human body included in the frame images displayed in the playback area and the key points not detected are distinguishably displayed in the missing key point display area, and a human body model showing the posture of the human body is displayed. 6. The image processing device according to any of claims 1 to 5, wherein the screen generation means generates the screen including a floor map showing installation positions of a plurality of cameras, the input accepting means accepts input specifying one of the cameras, and the screen generation means plays back and displays the video captured by the specified camera in the playback area. 7. The image processing device according to claim 6, wherein the screen generation means generates the screen on which the specified camera is highlighted on the floor map.8. The image processing device according to any one of 1 to 5, wherein the screen generation means further includes a floor map indicating installation positions of a plurality of cameras, and generates the screen in which a plurality of the moving images captured by each of the plurality of cameras are simultaneously played back and displayed in the playback area, the input receiving means receives input specifying one of the moving images in the playback area, and the screen generation means generates the screen in which the camera that captured the specified moving image is highlighted on the floor map. 9. The image processing device according to any one of 6 to 8, wherein the floor map further indicates the position of a human body detected in the frame image displayed in the playback area. 10. The image processing device according to 9, wherein the floor map further indicates the position of a human body detected in the frame image captured by another of the cameras at the same timing as the frame image displayed in the playback area. 11. The image processing device according to any one of 1 to 10, wherein the moving image shows the interior of a moving object, and the screen generation means generates the screen further including a moving object state display area indicating the state of the moving object at the time the frame image displayed in the playback area was captured. 12. An image processing method in which a computer generates a screen including a playback area for playing and displaying a moving image including a plurality of frame images and a missing key point display area that indicates key points of the human body that were not detected in the frame images displayed in the playback area, displays the screen on a display unit, and accepts input specifying a section to be extracted from the moving image. 13. A recording medium having recorded thereon a program that causes a computer to function as: screen generating means for generating a screen including a playback area for playing and displaying a moving image including a plurality of frame images and a missing key point display area that indicates key points of the human body that were not detected in the frame images displayed in the playback area, and displays the screen on a display unit; and input accepting means for accepting input specifying a section to be extracted from the moving image.
[0113] 10 Image processing device 11 Screen generation unit 12 Input reception unit 13 Display unit 14 Storage unit 1A Processor 2A Memory 3A Input / output I / F 4A Peripheral circuit 5A Bus
Claims
1. a screen generating means for generating a screen including a playback area for playing and displaying a moving image including a plurality of frame images, and a missing key point display area for showing key points of a human body that have not been detected in the human body included in the frame images displayed in the playback area, and displaying the screen on a display unit; an input receiving means for receiving an input for designating a section to be extracted from the moving image; An image processing device comprising:
2. 2 . The image processing apparatus according to claim 1 , wherein the screen generating means generates the screen that further displays a human body model showing a posture of the human body included in the frame image displayed in the playback area.
3. The screen generating means the screen further including a human body model display area for displaying a human body model indicating a posture of the human body, the human body model being configured with the key points detected in the human body included in the frame image displayed in the playback area; the screen on which a human body model, which is composed of the key points detected in a human body included in the frame image displayed in the playback area and indicates a posture of the human body, is superimposed on the frame image displayed in the playback area; or the screen displaying, in the missing key point display area, the key points detected in the human body included in the frame image displayed in the playback area and the key points not detected, and a human body model showing the posture of the human body; The image processing apparatus according to claim 2 .
4. The screen generating means generates the screen including a floor map showing installation positions of a plurality of cameras; the input receiving means receives an input designating one of the cameras; 4. The image processing device according to claim 1, wherein the screen generating means reproduces and displays the moving image captured by the designated camera in the reproduction area.
5. The image processing device according to claim 4 , wherein the screen generating means generates the screen on which the designated camera is highlighted on the floor map.
6. the screen generating means further includes a floor map showing the installation positions of the plurality of cameras, and generates the screen in which the plurality of moving images captured by each of the plurality of cameras are simultaneously played back and displayed in the playback area; the input receiving means receives an input for designating one of the moving images in the playback area; The image processing device according to claim 1 , wherein the screen generating means generates the screen on which the camera that captured the designated moving image is highlighted on the floor map.
7. The image processing device according to claim 4 , wherein the floor map further indicates the position of a human body detected in the frame image captured by another camera at the same time as the frame image displayed in the playback area.
8. the moving image shows an interior of a moving object, The image processing device according to any one of claims 1 to 7, wherein the screen generating means generates the screen further including a moving object status display area indicating the status of the moving object at the time when the frame image displayed in the playback area was captured.
9. The computer generating a screen including a playback area for playing and displaying a moving image including a plurality of frame images, and a missing key point display area for indicating key points of a human body that have not been detected in the human body included in the frame images displayed in the playback area, and displaying the screen on a display unit; receiving an input specifying a section to be extracted from the video; Image processing methods.
10. Computer, a screen generating means for generating a screen including a playback area for playing and displaying a moving image including a plurality of frame images, and a missing key point display area for showing key points of a human body that have not been detected in the human body included in the frame images displayed in the playback area, and displaying the screen on a display unit; an input receiving means for receiving an input for designating a section to be extracted from the moving image; A program that functions as a
