主权项 |
1. A method for basketball, comprising:
capturing, with a camera, a plurality of images of a body of a first user while the first user is performing or simulating a basketball shot; identifying, by a processor, at least one body part of the first user in the captured images; determining, by the processor, a parameter indicative of motion of the at least one body part of the first user during the basketball shot based on the images; storing, in memory prior to the capturing, data that is based on motions of at least one body part of at least one user during a plurality of basketball shots by the at least one user; comparing, by the processor, the parameter to the data; determining, by the processor, a deviation between the parameter and the data based on the comparing, the deviation indicative of a difference in the motion of the at least one body part of the first user during the basketball shot relative to the motions of the at least one body part of the at least one user during the plurality of basketball shots: predicting, by the processor, a trajectory outcome of a physical basketball or a virtual basketball based on the deviation, wherein the trajectory outcome includes at least one of the group including (1) whether the physical basketball passes through a physical hoop or the virtual basketball passes through a virtual hoop and (2) whether the physical basketball contacts the physical hoop or the virtual basketball contacts the virtual hoop; and providing an output indicative of the predicted trajectory outcome. |