ELECTRONIC DEVICE, METHOD, AND COMPUTER READABLE RECORDING MEDIUM FOR OBTAINING POSTURE INFORMATION INDICATING POSTURE OF BODY BASED ON MARKER ATTACHED TO BODY PART

Information

  • Patent Application
  • 20230298201
  • Publication Number
    20230298201
  • Date Filed
    March 13, 2023
    a year ago
  • Date Published
    September 21, 2023
    a year ago
Abstract
An electronic device according to an embodiment includes a memory for storing instructions, and at least one processor, wherein when the instructions are executed, the at least one processor is configured to identify a video capturing a body and one or more markers attached to the body, obtain a first information including an angle and a position of at least one first joint among joints being included in the body, based on the one or more markers in the video, obtain a second information including a position of at least one second joint among the joints being included in the body, based on at least part of the video in which the body is captured among the body and the one or more markers in the video, and obtain a third information indicating a posture of the body based on the interconnection of the at least one first joint and the at least one second joint in the video, based on the first information and the second information.
Description
Claims
  • 1. An electronic device comprising: A memory for storing instructions; andAt least one processor;wherein when the instructions are executed, the at least one processor is configured to: identify a video capturing a body and one or more markers attached to the body,obtain a first information including an angle and a position of at least one first joint among joints being included in the body, based on the one or more markers in the video,obtain a second information including a position of at least one second joint among joints being included in the body, based on at least part of the video in which the body is captured among the body and the one or more markers in the video, andobtain a third information indicating a posture of the body based on the interconnection of the at least one first joint and the at least one second joint in the video, based on the first information and the second information.
  • 2. The electronic device of claim 1, wherein when the instructions are executed, the at least one processor is further configured to: identify a first region in the video including the one or more markers and a body part corresponding to the at least one first joint, and a second region in the video distinguished by the body, based on a first model receiving the video,obtain the first information including the angle and the position of at least one first joint, based on a plurality of coordinates indicating distinct points of the one or more markers in the first video,obtain the second information including the position of the at least one second joint, based on identifying the second region.
  • 3. The electronic device of claim 2, wherein the plurality of coordinates respectively corresponds to each of the corners of a square marker of one or more markers,wherein when the instructions are executed, the at least one processor is further configured to: obtain the first information, based on a center of the corners being identified by the plurality of coordinates.
  • 4. The electronic device of claim 2, wherein the first information includes a first coordinate for indicating the position of at least one first joint, the first coordinate is defined in the first region,wherein when the instructions are executed, the at least one processor is further configured to: transform the first coordinate to a second coordinate defined in the second region, based on obtaining the first information,obtain the third information indicating the posture of the body, based on the second coordinate and the second information.
  • 5. The electronic device of claim 2, wherein when the instructions are executed, the at least one processor is further configured to: obtain the angle of the at least one first joint based on a direction of the one or more markers being indicated by the plurality of coordinates.
  • 6. The electronic device of claim 2, wherein when the instructions are executed, the at least one processor is further configured to: through a second model receiving the second region, obtain the second information indicating the possibility that at least one of the first joint and at least one of the second joint exists in a virtual two-dimensional space.
  • 7. The electronic device of claim 6, wherein when the instructions are executed, the at least one processor is further configured to: obtain the third information by combining the position of the at least one second joint, among a position of the at least one first joint being included in the second information and the position of the at least one second joint, and the position of the at least one first joint being included in the first information.
  • 8. The electronic device of claim 1, wherein the memory pre-stores another video capturing each of the one or more markers before the video is captured,wherein when the instructions are executed, the at least one processor is further configured to: obtain the first information based on comparing each of the one or more markers being captured in the video and the one or more markers being captured in the other video and pre-stored in the memory.
  • 9. The electronic device of claim 1, wherein the one or more markers respectively attached to a body part corresponding to a position of the at least one first joint.
  • 10. The electronic device of claim 1, wherein the one or more markers includes: a first marker attached to one surface of a body part corresponding to the at least one first joint; anda second marker attached to the other surface of the body part facing the one surface and corresponding to the at least one first joint, and the second marker has a shape different from the first marker.
  • 11. The electronic device of claim 1, wherein the one or more markers includes a plurality of markers each disposed on a different body part of the body,wherein a part of the plurality of markers has a shape the same as each other.
  • 12. An operating method of an electronic device comprising: identifying a video capturing a body and one or more markers attached to the body,obtaining a first information including an angle and a position of at least one first joint among joints being included in the body, based on the one or more markers in the video,obtaining a second information including a position of at least one second joint among the joints being included in the body, based on at least part of the video in which the body is captured among the body and the one or more markers in the video, andobtaining a third information indicating a posture of the body based on the interconnection of the at least one first joint and the at least one second joint in the video, based on the first information and the second information.
  • 13. The method of claim 12, wherein identifying the video includes identifying a first region in the video including the one or more markers and a body part corresponding to the at least one first joint, and a second region in the video distinguished by the body, based on a first model receiving the video,wherein obtaining the first information includes obtaining the first information including the angle and the position of at least one first joint, based on a plurality of coordinates indicating distinct points of the one or more markers in the first video, andwherein obtaining the second information includes obtaining the second information including the position of the at least one second joint based on identifying the second region.
  • 14. The method of claim 13, wherein the first information includes a first coordinate for indicating the position of at least one first joint, the first coordinate is defined in the first region, andwherein obtaining the third information includes: transforming the first coordinate to a second coordinate defined in the second region, based on obtaining the first information, andobtaining the third information indicating the posture of the body, based on the second coordinate and the second information.
  • 15. The method of claim 13, wherein obtaining the first information further includes obtaining the angle of the at least one first joint based on a direction of the one or more markers being indicated by the plurality of coordinates.
  • 16. The method of claim 13, wherein obtaining the second information includes obtaining the second information indicating the possibility that at least one of at least one the first joint and at least one the second joint exists in virtual two-dimensional space, through a second model receiving the second region.
  • 17. The method of claim 16, wherein obtaining the third information includes obtaining the third information by combining the position of the at least one second joint, among a position of the at least one first joint being included in the second information and the position of the at least one second joint, and the position of the at least one first joint being included in the first information.
  • 18. The method of claim 12, wherein the one or more markers respectively attached to a body part corresponding to a position of the at least one first joint.
  • 19. A computer readable storage medium storing one or more programs, when executed by at least one processor of an electronic device, the one or more program causes electronic device to: obtain a first region capturing a marker attached to a body and second region capturing the body and at least partially overlapped to the first region, from a video capturing the body,identify a position of a designated body part among a plurality of body parts of body, based on the marker being included in the first region,identify a position of the plurality of body parts being included in the body in the second region, from the second region,obtaining an information indicating a posture of the body, based on the position of the plurality of body parts being identified in the second region and the position of the designated body part being identified based on the marker.
  • 20. The computer readable storage medium of claim 19, wherein the marker is a first marker,wherein the designated body part is a first designated body part, andwherein when executed by at least one processor, the one or more program further causes electronic device to: obtain a third region capturing a second marker distinct from the first marker from the video, andidentify a position of a second designated body part corresponding to the first designat ed body part, based on the second marker being included in the third region.
Priority Claims (1)
Number Date Country Kind
10-2022-003285 Mar 2022 KR national