mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-26 08:48:03 +00:00
Update README.MD
This commit is contained in:
@@ -48,24 +48,34 @@ For Windows users, using the Windows Subsystem for Linux (WSL) is recommended:
|
|||||||
|
|
||||||
For a detailed guide on setting up WSL, watch this YouTube tutorial: [How to Set Up WSL](https://www.youtube.com/watch?v=1HzYU2_t3yc)
|
For a detailed guide on setting up WSL, watch this YouTube tutorial: [How to Set Up WSL](https://www.youtube.com/watch?v=1HzYU2_t3yc)
|
||||||
|
|
||||||
## 🎬 How to Use
|
## 🎬 How to Use MocapNET V4
|
||||||
|
|
||||||
|
### Preparing for Usage
|
||||||
|
|
||||||
|
Before running MocapNET V4, navigate to the appropriate directory:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd src/python/mnet4
|
||||||
|
```
|
||||||
|
|
||||||
### Quick Start with a Sample Video
|
### Quick Start with a Sample Video
|
||||||
Get started by downloading a sample video:
|
|
||||||
|
|
||||||
```sh
|
Now you're ready to download and use a sample video:
|
||||||
wget http://ammar.gr/mocapnet/shuffle.webm -O shuffle.webm
|
|
||||||
```
|
|
||||||
|
|
||||||
### Run the Magic ✨
|
1. **Download a Sample Video**:
|
||||||
Execute this command:
|
```sh
|
||||||
|
wget http://ammar.gr/mocapnet/shuffle.webm -O shuffle.webm
|
||||||
|
```
|
||||||
|
|
||||||
```sh
|
2. **Process the Video**:
|
||||||
python3 -m mediapipeHolisticWebcamMocapNET --from shuffle.webm --ik 0.001 99 99 --smooth 60 10 --all --save --plot --headless 2
|
Execute the following command to run MocapNET on the downloaded video:
|
||||||
```
|
```sh
|
||||||
|
python3 -m mediapipeHolisticWebcamMocapNET --from shuffle.webm --ik 0.001 99 99 --smooth 60 10 --all --save --plot --headless 2
|
||||||
|
```
|
||||||
|
|
||||||
### Convert the output bvh to generate bvh without face and toes bones
|
### Convert Output BVH
|
||||||
Execute this command:
|
|
||||||
|
For further processing, such as generating a BVH file without face and toes bones, execute:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./GroundTruthDumper --from dependencies/RGBDAcquisition/opengl_acquisition_shared_library/opengl_depth_and_color_renderer/Motions/DAZFriendlyCGSPEED_ZXYAndHandsAxisBigHands.bvh --merge src/python/mnet4/out.bvh dependencies/RGBDAcquisition/opengl_acquisition_shared_library/opengl_depth_and_color_renderer/Motions//mergeDazFriendlyAndAddHead.profile --setPositionRotation 0 0 0 0 0 0 --bvh remade.bvh
|
./GroundTruthDumper --from dependencies/RGBDAcquisition/opengl_acquisition_shared_library/opengl_depth_and_color_renderer/Motions/DAZFriendlyCGSPEED_ZXYAndHandsAxisBigHands.bvh --merge src/python/mnet4/out.bvh dependencies/RGBDAcquisition/opengl_acquisition_shared_library/opengl_depth_and_color_renderer/Motions//mergeDazFriendlyAndAddHead.profile --setPositionRotation 0 0 0 0 0 0 --bvh remade.bvh
|
||||||
@@ -77,8 +87,6 @@ Execute this command:
|
|||||||
|
|
||||||
- The converted bvh file will be stored in the root directory ``MocapNET`` with the filename ``remade.bvh``
|
- The converted bvh file will be stored in the root directory ``MocapNET`` with the filename ``remade.bvh``
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Command-Line Options Explained
|
### Command-Line Options Explained
|
||||||
|
|
||||||
- `--headless`: Skip the live video display. Ideal for headless servers or GUI-less environments.
|
- `--headless`: Skip the live video display. Ideal for headless servers or GUI-less environments.
|
||||||
|
|||||||
Reference in New Issue
Block a user