Learning apparatus
The learning device uses wide-area markers to guide correct value assignment for joint positions, addressing the inaccuracy in conventional methods and enabling efficient annotation and model creation for skeletal posture estimation from two-dimensional images.
Patent Information
- Application Number
- JP2023067879
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2024-10-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional methods for estimating skeletal pose from images fail to consider how joint positions appear from the camera position, leading to inaccurate annotation and poor model training when using two-dimensional images.
A learning device that uses a wide-area marker wrapped around the body surface to guide correct value assignment for joint positions, enabling efficient annotation and model creation from two-dimensional images, even when parts of the marker are hidden or divided.
Enables accurate annotation of joint positions in two-dimensional images, allowing for the creation of a more appropriate trained model for estimating skeletal posture, adaptable to various postures and body types.
Smart Images

Figure 2024154184000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a learning device. [Background technology]
[0002] Conventionally, various techniques for detecting the skeletal posture of the human body have been proposed. For example, a technique has been proposed that uses markers attached to the surface of the human body and tomographic images captured with the markers attached to the surface of the body to precisely calculate relative positions between the positions of the markers and actual bone positions. In this technique, for an observation target in any posture, the world coordinate positions of the markers attached to the surface of the body are identified from images captured by multiple cameras, and the skeletal posture of the observation target is restored based on the identified marker positions and the relative position information between the markers and the bone positions calculated in advance. In addition, as a technique for estimating the skeletal posture using markers, for example, a technique has been proposed that improves the detection accuracy of the skeletal posture by arranging markers at any two points on a straight line between joints. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2005-103197 A [Patent Document 2] Japanese Patent Application Publication No. 9-153151 Summary of the Invention [Problem to be solved by the invention]
[0004] Machine learning may be used to estimate a skeletal posture from an image. In this case, multiple images are prepared, and annotation (correct value assignment) of joint positions (coordinates) is performed for the human body shown in each image to create a trained model. When performing annotation, it is desirable that the joint positions (skeletal point positions) as correct values are assigned to the body surface. However, in the case of the above-mentioned conventional technology, since the purpose is to capture the joint positions three-dimensionally, how the joint positions are seen from the camera position is not taken into consideration. In other words, in the conventional technology, the acquired three-dimensional skeletal point positions are positions buried inside the body, and may differ from the two-dimensional coordinate values of the joint positions (skeletal points) seen from the camera. Also, for example, if a part of the surface of the human body including the joint positions is visible from the camera, it is possible to treat it as visible at the time of annotation, but in the case of the conventional technology, the joint position is set to one point in three-dimensional coordinates, and the judgment of whether it is visible or invisible from the camera is performed taking into consideration only that one point. As a result, it may be judged as invisible. Therefore, there is a problem that a good trained model used to estimate a skeletal posture from a two-dimensional image may not be created.
[0005] Therefore, one of the objectives of the present disclosure is to provide a learning device that can more appropriately annotate joint coordinates to create a more appropriate trained model that can be used when estimating a skeletal posture from a two-dimensional image. [Means for solving the problem]
[0006] A learning device as an example of the present disclosure includes an image acquisition unit that acquires a two-dimensional image of a human body model having a wide-area marker wrapped around an arbitrary region around the body surface of a portion where a skeletal joint is present, a marker extraction unit that extracts the wide-area marker for each of the joints from the two-dimensional image, a coordinate acquisition unit that acquires joint coordinates of the joints on the body surface based on the positions of the wide-area markers, and a model creation unit that generates a trained model as a result of learning a plurality of teacher data indicating the relationship between the joints and the joint coordinates. According to this configuration, for example, it is possible to annotate a correct answer value at a coordinate corresponding to a joint position using the wide-area marker as a guide at a body surface position visible on the two-dimensional image. In other words, it is possible to more appropriately annotate the joint position to create a more appropriate trained model that can be used when estimating a skeletal posture from a two-dimensional image.
[0007] In addition, the wide-area markers of the learning device described above may be wrapped around the entire circumference of the body surface of the human body model. With this configuration, for example, even if the posture of the human body captured in the two-dimensional image changes, annotation of the joint positions can be performed efficiently.
[0008] In addition, in the two-dimensional image of the learning device described above, for example, when a part of the wide-area marker corresponding to the joint is occluded and the wide-area marker is divided into a plurality of individual markers on the two-dimensional image, the coordinates on the individual marker that is closest to the center position of the divided plurality of individual markers are set as the joint coordinates. With this configuration, for example, even if a part of the wide-area marker on the two-dimensional image is occluded by some object (e.g., a human arm, etc.) and divided into a plurality of parts (individual markers), it can be treated as one wide-area marker and annotation of the joint position can be efficiently performed. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is an exemplary schematic block diagram illustrating a configuration of a learning device according to an embodiment. [Diagram 2]FIG. 2 is an exemplary schematic explanatory diagram showing three-dimensional joint positions in a human body referred to by the learning device according to the embodiment. [Diagram 3] FIG. 3 is an exemplary schematic explanatory diagram showing a model (two-dimensional image) to which a wide-area marker is attached, which is used for learning by the learning device according to the embodiment. [Figure 4] FIG. 4 is an exemplary schematic explanatory diagram showing joint coordinates acquired on a two-dimensional image based on wide-area markers used for learning in the learning device according to the embodiment. [Diagram 5] FIG. 5 is an exemplary flowchart showing the flow of operations of the learning device according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, embodiments and modifications of the present disclosure will be described with reference to the drawings. The configurations of the embodiments and modifications described below, as well as the actions and effects brought about by the configurations, are merely examples and are not limited to the contents described below.
[0011] FIG. 1 is an exemplary schematic block diagram showing the configuration of a learning device 10 according to an embodiment. The learning device 10 includes, for example, a central processing unit (CPU) 12, a storage unit such as a read only memory (ROM), a random access memory (RAM), a solid state drive (SSD), or a flash memory (not shown), and an input unit for inputting various information, as in the case of a general personal computer. The learning device 10 also includes a storage device 14 that can store, save, and update a trained model as a result of learning. The storage device 14 can be configured with a hard disk drive (HDD), an SSD, or the like. The storage device 14 may also be provided in a part other than the learning device 10. For example, it may exist on an external server or a cloud.
[0012] The CPU 12 reads out a learning program installed and stored in a non-volatile storage unit such as a ROM or SSD, and executes various modules for annotating joint positions according to the learning program. The CPU 12 realizes, as the various modules, an image acquisition unit 12a, a marker extraction unit 12b, a coordinate acquisition unit 12c, a model creation unit 12d, and the like.
[0013] The image acquisition unit 12a sequentially acquires two-dimensional images including a human body model in various postures in order to annotate the joint positions. The two-dimensional images may be acquired from an imaging device such as a digital camera, or may be acquired from data stored in a storage device, an external server, a cloud, or the like.
[0014] The learning device 10 of this embodiment performs annotation (assignment of correct answer) of the joint positions (coordinates) of the joints of the human body model shown in each two-dimensional image to create a learned model. Fig. 2 is an exemplary and schematic explanatory diagram showing three-dimensional joint positions in a human body referred to by the learning device 10. In the case of Fig. 2, a human body 16 is shown in a posture of, for example, sitting on a seat (not shown), and three-dimensional joint positions 20 in a skeleton 18 to be referred to when estimating the posture of the human body 16 are shown.
[0015] In this embodiment, for convenience, the joint positions 20 used to estimate the posture of the human body 16 are classified as follows: left shoulder joint 20a, right shoulder joint 20b, left elbow joint 20c, right elbow joint 20d, left wrist joint 20e, right wrist joint 20f, left thigh joint 20g, right thigh joint 20h, left knee joint 20i, right knee joint 20j, left ankle joint 20k, right ankle joint 20l, and neck joint 20m. These joint positions 20 are shown as positions present inside the human body 16. On the other hand, in this embodiment, when annotation (correct value assignment work) of joint positions (coordinates) is performed using a two-dimensional image, a body surface joint position 22 is defined on the human body surface 16A. For example, a body surface left shoulder joint 22a is shown as a position corresponding to the left shoulder joint 20a. Similarly, body surface joint positions 22 are defined for the other joint positions 20. 2, the actual joint positions 20 and the body surface joint positions 22 are shown as different positions, but when the posture of the human body 16 is estimated by connecting the joint positions, the skeletal posture connecting the joint positions 20 and the skeletal posture connecting the body surface joint positions 22 show a similar posture. In other words, the body surface joint positions 22 can be used as an index when estimating the skeleton.
[0016] In this embodiment, in order to specify the joint position of the joint to be annotated on the two-dimensional image acquired for learning by the image acquisition unit 12a, a wide-area marker wrapped around the body surface of the part (joint position 20) where the joint of the skeleton 18 exists is used. In other words, the joint position and the wide-area marker are linked. FIG. 3 is an exemplary and schematic explanatory diagram showing a human body model M (two-dimensional image) to which a wide-area marker 24 is attached, which is used for learning by the learning device 10. The human body model M may be a doll prepared for learning that can change its posture, or may be an actual human being that takes various postures.
[0017] As described above, the wide-area marker 24 is wrapped around an arbitrary region of the body surface MA of the human body model M corresponding to the joint (joint position). The color of the wide-area marker 24 is different from the body surface color of the body surface MA of the human body model M, for example, yellow or red, so that the wide-area marker 24 can be easily distinguished from the body surface MA on the image. The width of the belt-like wide-area marker 24 may be about 50 mm, for example, as long as it is capable of identifying the joint position even when the posture of the human body model M changes, but can be changed as appropriate. The width of the wide-area marker 24 may be unified or may be different depending on the type of joint. The wide-area marker 24 may have a function of identifying a portion where a joint exists on a two-dimensional image, and may be wrapped around an arbitrary region, for example, more than half of the circumference of the body surface MA, but is preferably wrapped around the entire circumference of the body surface MA of the human body model M.
[0018] For example, a left shoulder wide area marker 24a is attached to a portion corresponding to the left shoulder joint 20a, and a right shoulder wide area marker 24b is attached to a portion corresponding to the right shoulder joint 20b. Similarly, a left elbow wide area marker 24c is attached to a portion corresponding to the left elbow joint 20c, and a right elbow wide area marker 24d is attached to a portion corresponding to the right elbow joint 20d. A left wrist wide area marker 24e is attached to a portion corresponding to the left wrist joint 20e, and a right wrist wide area marker 24f is attached to a portion corresponding to the right wrist joint 20f. A left thigh wide area marker 24g is attached to a portion corresponding to the left thigh joint 20g, and a right thigh wide area marker 24h is attached to a portion corresponding to the right thigh joint 20h. A left knee wide area marker 24i is attached to a portion corresponding to the left knee joint 20i, and a right knee wide area marker 24j is attached to a portion corresponding to the right knee joint 20j. Also, a left ankle wide-area marker 24k is attached to a portion corresponding to the left ankle joint 20k, and a right ankle wide-area marker 24l is attached to a portion corresponding to the right ankle joint 20l. A neck wide-area marker 24m is attached to a portion corresponding to the neck joint 20m. The left thigh joint 20g and the right thigh joint 20h are located at the connection between the pelvis and the femur, and are located at a position closer to the waist than the base of the thigh. Therefore, the left thigh wide-area marker 24g and the right thigh wide-area marker 24h are attached at a position above the base of the thigh, so they are not wrapped around the entire circumference of the body surface MA, but are wrapped around, for example, half the length of the body surface. In other words, they are wrapped in a state where the left and right are separated. In this case, there is also an advantage that it is easy to distinguish between left and right on the body surface MA. On the other hand, with regard to the other joint positions, the wide-area marker 24 is wrapped around the entire circumference because it is clear to distinguish between left and right and it is easy to wrap around the entire circumference of the body surface. Since the human body model M exists on a two-dimensional image, the wide-area marker 24 can be detected on the image regardless of the shooting direction as long as it is present on at least half of the body surface. Therefore, even if the wide-area marker 24 is not entirely visible, if a part of it is visible, it is possible to specify the joint position using the visible part as a guide. In other words, if a part of the wide-area marker 24 is visible, it is possible to determine whether it is visible, and it is possible to specify (obtain) the joint position.
[0019] Returning to FIG. 1, the marker extraction unit 12b extracts the wide-area marker 24 for each joint from the two-dimensional image acquired by the image acquisition unit 12a. The marker extraction unit 12b extracts the human body model M present on the two-dimensional image using a known image processing technique. In this case, the marker extraction unit 12b selects only one unprocessed human body model M and masks the other areas in order to extract the human body models M one by one. For example, when multiple human body models M exist on the two-dimensional image, masking is performed to eliminate noise components so that the wide-area marker 24 of the other human body models M is not confused with the wide-area marker 24 of the human body model M to be processed. In particular, when multiple human body models M are overlapped on the two-dimensional image, the masking can be used to separate one human body model M, thereby improving the extraction accuracy of the wide-area marker 24. In addition, even if there is an object of a similar color to the wide-area marker 24 in the background surrounding the human body model M, noise components can be eliminated by masking everything other than the human body model M being processed, thereby improving the extraction accuracy of the wide-area marker 24.
[0020] The coordinate acquisition unit 12c acquires joint coordinates 26 corresponding to the joint position 20 on the body surface MA for each wide-area marker 24 extracted by the marker extraction unit 12b. For each wide-area marker 24 extracted by the marker extraction unit 12b, the coordinate acquisition unit 12c acquires, for example, the center of gravity position of the area occupied by the wide-area marker 24 as the joint coordinates 26. As described above, since the wide-area markers 24 are linked to each joint position 20, the coordinate acquisition unit 12c can acquire the joint coordinates 26 corresponding to the joint position 20. Note that when acquiring the joint coordinates 26, the coordinate acquisition unit 12c may acquire the joint coordinates 26 as the center of gravity position, or may acquire the joint coordinates 26 by calculating, for example, the median or average value. The center of gravity position, median value, average value, etc. may also be referred to as the center position.
[0021] The coordinate acquisition unit 12c sequentially acquires joint coordinates 26 corresponding to the joint positions 20 for each wide-area marker 24 on the human body model M extracted by the marker extraction unit 12b. When a plurality of human body models M are detected on the two-dimensional image by the marker extraction unit 12b, the marker extraction unit 12b repeats masking for individually extracting each human body model M, and sequentially extracts the wide-area markers 24 for the other human body models M. Then, the coordinate acquisition unit 12c sequentially acquires joint coordinates 26 based on the wide-area markers 24 extracted by the marker extraction unit 12b.
[0022] The model creation unit 12d uses the relationship between the joint positions 20 (joints) and the joint coordinates 26 acquired by the coordinate acquisition unit 12c as training data to perform annotation (task of assigning correct answers) of the joint positions (joint coordinates) for the human body model M (human body) shown in the two-dimensional image. Then, a trained model is created as a result of training a plurality of training data.
[0023] Incidentally, the wide-area marker 24 extracted by the marker extraction unit 12b may be partially occluded by other parts of the human body model M or objects existing around the human body model M. In the case of FIG. 4, the right arm is an occluding object, and the right thigh wide-area marker 24h is divided into individual markers 24ha and 24hb. As described above, the joint position 20 and the wide-area marker 24 are linked, so the marker extraction unit 12b first collectively extracts the wide-area markers 24 for the joint position 20 (joint) to be processed. That is, the individual markers 24ha and 24hb are extracted as one wide-area marker 24. Then, the coordinate acquisition unit 12c calculates the center position (center of gravity position) of the area occupied by the individual markers 24ha and 24hb as a provisional coordinate position 28. Next, the coordinate acquisition unit 12c determines the coordinates on the individual marker closest to the center position (temporary coordinate position 28) of the divided individual markers 24ha, 24hb as the joint coordinates 30. As shown in Fig. 4, the coordinates on the individual marker 24ha closest to the temporary coordinate position 28 are determined as the joint coordinates 30. That is, even if a part of the wide-area marker 24 on the two-dimensional image is obstructed by some occluding object (for example, a human arm, etc.) and is divided into a plurality of individual markers 24ha, 24hb, etc., it is possible to efficiently acquire the joint coordinates 30 for the joint position 20 by treating it as one wide-area marker 24. The same applies to the case where the wide-area marker 24 is divided into three or more.
[0024] In this way, the wide-area markers 24 can be easily extracted from the two-dimensional image, and it is possible to easily and efficiently obtain (annotate) where the joint positions are present on the two-dimensional image and which positions are appropriate as the joint positions. In other words, the learning device 10 can automatically annotate in a state close to that of annotation by a person (annotator). Therefore, it is possible to automatically create a more appropriate learned model that can be used when estimating a skeletal posture from a two-dimensional image.
[0025] The flow of operations of the learning device 10 configured as above will be described with reference to the flowchart shown as an example in FIG.
[0026] When the learning device 10 starts a learning process for creating a trained model, the image acquisition unit 12a acquires a two-dimensional image of a human body model M equipped with wide-area markers 24 (S100). The marker extraction unit 12b checks whether the joint coordinates 26 (joint coordinates 30) of all the people (human body models M) in the two-dimensional image have been acquired (S102), and if the joint coordinates 26 (joint coordinates 30) of all the people have been acquired (Yes in S102), this flow ends for the time being.
[0027] In S102, if the joint coordinates 26 (joint coordinates 30) of all the people have not been acquired (No in S102), the marker extraction unit 12b selects one person (human body model M) whose joint coordinates 26 (joint coordinates 30) have not been acquired on the two-dimensional image (S104). Then, the marker extraction unit 12b masks the area other than the selected person (human body model M) (S106). In other words, noise components caused by areas other than the person (human body model M) to be processed are eliminated.
[0028] Then, the marker extraction unit 12b executes extraction of the wide-area markers 24 of each joint in the image of the selected person (human body model M) (S108). Then, the coordinate acquisition unit 12c calculates, for example, the center of gravity position of the wide-area markers 24 of each joint, and acquires the position as the joint coordinates 26 corresponding to the joint position 20 on the body surface MA of the person (human body model M) in the two-dimensional image (S110). Then, the model creation unit 12d performs annotation (correct value assignment work) of the joint coordinates 26 as teacher data indicating the relationship between the joint position 20 (joint) and the joint coordinates 26, and constructs a learned model as a result of learning a plurality of teacher data (S112). The processes of S102 to S112 are repeatedly executed until the joint coordinates 26 (joint coordinates 30) of all the people (human body models M) in the two-dimensional image have been acquired. Moreover, the processes of S102 to S112 are repeated every time the image acquiring unit 12a acquires a two-dimensional image, so that the construction of the trained model continues and the accuracy of the trained model is improved.
[0029] 3 and the like shows a human body model M of a standard body type in a seated posture, but the posture and body type of the human body model M can be appropriately selected, and joint coordinates can be similarly acquired for other postures such as an upright posture and other body types, and annotation can be performed in the same manner as in the above example. Thus, a trained model that can handle a wider variety of postures and body types can be constructed.
[0030] In addition, the learning program for the learning process realized by the CPU 12 of the learning device 10 of this embodiment may be configured to be provided by recording it on a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disk) in an installable or executable format file.
[0031] Furthermore, the learning program for executing the processing of this embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Also, the learning program executed in this embodiment may be provided or distributed via a network such as the Internet.
[0032] Although the present embodiment and the modified examples have been described above, the above-mentioned embodiment and modified examples are merely examples and are not intended to limit the scope of the invention. The above-mentioned novel embodiment and modified examples can be implemented in various forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. The above-mentioned embodiment and modified examples are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0033] 10...learning device, 12...CPU, 12a...image acquisition unit, 12b...marker extraction unit, 12c...coordinate acquisition unit, 12d...model creation unit, 14...storage device, 16...human body, 18...skeleton, 20...joint position, 22...body surface joint position, 24...wide area marker, 26, 30...joint coordinates, 28...temporary coordinate position, M...human body model, MA...body surface.
Claims
1. an image acquisition unit that acquires a two-dimensional image of a human body model having wide-area markers wrapped around any area of a body surface at a portion where a skeletal joint is present; a marker extraction unit that extracts the wide area marker for each of the joints from the two-dimensional image; a coordinate acquisition unit that acquires joint coordinates of the joint portion on a body surface based on the position of the wide-area marker; a model creation unit that generates a trained model as a result of training a plurality of pieces of teacher data indicating a relationship between the joint unit and the joint coordinates; A learning device comprising:
2. The learning device according to claim 1 , wherein the wide-area marker is wrapped around an entire circumference of the body surface of the human body model.
3. The learning device according to claim 1, wherein when a portion of the wide-area marker corresponding to the joint is occluded in the two-dimensional image and the wide-area marker is divided into a plurality of individual markers on the two-dimensional image, the coordinates on the individual marker that are closest to a central position of the divided plurality of individual markers are set as the joint coordinates.
Citation Information
Patent Citations
Motion generator for three-dimensional skeletal structure
JP1997153151A
Apparatus, method and program for extracting skeleton posture
JP2005103197A
