GAME - SenseCraft_Rick - CodeCraft Hub
Sensory control
Documentation
Control principle: I took the center points of the left and right wrist joints as the judgment points. When this point completely crosses the center line to the left, it is judged as moving to the left; when this point completely crosses the center line to the right, it is judged as moving to the right; then when the connection line of the elbow joint is higher than the connection line of the shoulder joint, it is judged as jumping. When the center points of the left and right wrist joints reach the lower squatting area, it is judged as squatting. Playing method: Take subway parkour as an example. The control of this game is very simple. You only need four actions: left, right, jump, and crouch. You need to stand in front of the reCamera and control your body to be centered on the line. Make the center points of your left and right wrists white. This is your initial state. Then run the Python program (https://github.com/xr686/Receive-the-information-from-the-reCamera-to-control-the-computer-through-body-sensing..git). When your left hand swings to the left, the center point will turn blue; when your right hand swings to the right, the center point will turn blue; when both hands are raised upwards, the center point remains unchanged in color; when you squat down, the center point will turn red. All these four actions will be output in the terminal of the Python program.
Control principle: I took the center points of the left and right wrist joints as the judgment points. When this point completely crosses the center line to the left, it is judged as moving to the left; when this point completely crosses the center line to the right, it is judged as moving to the right; then when the connection line of the elbow joint is higher than the connection line of the shoulder joint, it is judged as jumping. When the center points of the left and right wrist joints reach the lower squatting area, it is judged as squatting. Playing method: Take subway parkour as an example. The control of this game is very simple. You only need four actions: left, right, jump, and crouch. You need to stand in front of the reCamera and control your body to be centered on the line. Make the center points of your left and right wrists white. This is your initial state. Then run the Python program (https://github.com/xr686/Receive-the-information-from-the-reCamera-to-control-the-computer-through-body-sensing..git). When your left hand swings to the left, the center point will turn blue; when your right hand swings to the right, the center point will turn blue; when both hands are raised upwards, the center point remains unchanged in color; when you squat down, the center point will turn red. All these four actions will be output in the terminal of the Python program.
Deploy steps
- Deployment