提交 5a9acc73 编写于 作者: G Gines Hidalgo

Fixed typos in doc

Signed-off-by: NGines Hidalgo <gineshidalgo99@gmail.com>
上级 a255747a
......@@ -5,18 +5,18 @@ Forget about the OpenPose code, just download the portable Windows binaries (or
## Contents
1. [Quick Start](#quick-start)
2. [Running on Images, Video, or Webcam](#running-on-images-video-or-webcam)
3. [Face and Hands](#face-and-hands)
4. [Different Outputs (JSON, Images, Video, UI)](#different-outputs-json-images-video-ui)
5. [Only Skeleton without Background Image](#only-skeleton-without-background-image)
6. [Not Running All GPUs](#not-running-all-gpus)
7. [Maximum Accuracy Configuration](#maximum-accuracy-configuration)
1. [Running on Images, Video, or Webcam](#running-on-images-video-or-webcam)
2. [Face and Hands](#face-and-hands)
3. [Different Outputs (JSON, Images, Video, UI)](#different-outputs-json-images-video-ui)
4. [Only Skeleton without Background Image](#only-skeleton-without-background-image)
5. [Not Running All GPUs](#not-running-all-gpus)
6. [Maximum Accuracy Configuration](#maximum-accuracy-configuration)
1. [Additional Model with Maximum Accuracy](#additional-model-with-maximum-accuracy)
2. [Additional Model with Lower False Positives](#additional-model-with-lower-false-positives)
8. [3-D Reconstruction](#3-d-reconstruction)
9. [Tracking](#tracking)
10. [Kinect 2.0 as Webcam on Windows 10](#kinect-20-as-webcam-on-windows-10)
11. [Main Flags](#main-flags)
7. [3-D Reconstruction](#3-d-reconstruction)
8. [Tracking](#tracking)
9. [Kinect 2.0 as Webcam on Windows 10](#kinect-20-as-webcam-on-windows-10)
10. [Main Flags](#main-flags)
2. [Advanced Quick Start](#advanced-quick-start)
3. [Bug Solving](#bug-solving)
1. [Improving Memory and Speed but Decreasing Accuracy](#improving-memory-and-speed-but-decreasing-accuracy)
......@@ -37,13 +37,13 @@ Test OpenPose by running the following. The expected visual result should look l
```
```
:: Windows - Portable Demo
bin\OpenPoseDemo.exe --video examples\media\video.avi
bin\OpenPoseDemo.exe --video examples/media/video.avi
```
If you are only using the OpenPose demo, we highly recommend using [the latest Windows portable version of OpenPose](doc/installation/README.md#windows-portable-demo). If you still want to use the demo with Visual Studio, you can copy the `bin/*.dll` files into the final DLL bin location following [doc/installation/README.md#windows](installation/README.md#windows), or you could also simply modify the default flag values from [include/flags.hpp](../include/flags.hpp). If you have copied the DLLs, you can execute this:
```
:: Windows - Library - Assuming you have copied the DLLs following doc/installation/README.md#windows
build\x64\Release\OpenPoseDemo.exe --video examples\media\video.avi
build\x64\Release\OpenPoseDemo.exe --video examples/media/video.avi
```
If it worked, continue with the next section. Otherwise:
......@@ -61,7 +61,7 @@ If it worked, continue with the next section. Otherwise:
```
```
:: Windows - Portable Demo
bin\OpenPoseDemo.exe --image_dir examples\media\
bin\OpenPoseDemo.exe --image_dir examples/media/
```
- Video (`--video {VIDEO_PATH}`):
```
......@@ -70,7 +70,7 @@ bin\OpenPoseDemo.exe --image_dir examples\media\
```
```
:: Windows - Portable Demo
bin\OpenPoseDemo.exe --video examples\media\video.avi
bin\OpenPoseDemo.exe --video examples/media/video.avi
```
- Webcam is applied by default (i.e., if no `--image_dir` or `--video` flags used). Optionally, if you have more than 1 camera, you could use `--camera {CAMERA_NUMBER}` to select the right one:
```
......@@ -92,14 +92,14 @@ bin\OpenPoseDemo.exe --camera 1
Simply add `--face` and/or `--hand` to any command:
```
# Ubuntu and Mac
./build/examples/openpose/openpose.bin --image_dir examples\media\ --face --hand
./build/examples/openpose/openpose.bin --video examples\media\video.avi --face --hand
./build/examples/openpose/openpose.bin --image_dir examples/media/ --face --hand
./build/examples/openpose/openpose.bin --video examples/media/video.avi --face --hand
./build/examples/openpose/openpose.bin --face --hand
```
```
:: Windows - Portable Demo
bin\OpenPoseDemo.exe --image_dir examples\media\ --face --hand
bin\OpenPoseDemo.exe --video examples\media\video.avi --face --hand
bin\OpenPoseDemo.exe --image_dir examples/media/ --face --hand
bin\OpenPoseDemo.exe --video examples/media/video.avi --face --hand
bin\OpenPoseDemo.exe --face --hand
```
......@@ -187,7 +187,7 @@ bin\OpenPoseDemo.exe --net_resolution "1312x736" --scale_number 4 --scale_gap 0.
#### Additional Model with Maximum Accuracy
Disclaimer: It is more accurate but also slower and requires more GPU memory.
Disclaimer: It is more accurate but also slower, requires more GPU memory, and must use the Nvidia GPU version.
Our paper accuracy numbers do not match the default model numbers. We released our best model at the time but found better ones later.
......@@ -195,6 +195,8 @@ For our best model, you can download the `BODY_25B` pre-trained model from the O
#### Additional Model with Lower False Positives
Disclaimer: It must use the Nvidia GPU version.
Do you need a model with less false positives but the same runtime performance and GPU requirements? You can download the `BODY_25B` pre-trained model from the OpenPose training repository: [BODY_25B Model - Option 2 (Recommended)](https://github.com/CMU-Perceptual-Computing-Lab/openpose_train/tree/master/experimental_models#body_25b-model---option-2-recommended).
......@@ -330,10 +332,10 @@ In order to learn about many more flags, check [doc/demo_not_quick_start.md](dem
```
```
:: Windows - Portable Demo
bin\OpenPoseDemo.exe --video examples\media\video.avi --net_resolution -1x320
bin\OpenPoseDemo.exe --video examples\media\video.avi --net_resolution -1x256
bin\OpenPoseDemo.exe --video examples\media\video.avi --net_resolution -1x196
bin\OpenPoseDemo.exe --video examples\media\video.avi --net_resolution -1x128
bin\OpenPoseDemo.exe --video examples/media/video.avi --net_resolution -1x320
bin\OpenPoseDemo.exe --video examples/media/video.avi --net_resolution -1x256
bin\OpenPoseDemo.exe --video examples/media/video.avi --net_resolution -1x196
bin\OpenPoseDemo.exe --video examples/media/video.avi --net_resolution -1x128
```
Additional notes:
......
......@@ -116,15 +116,15 @@ cmake-gui ..
```
2. Select the OpenPose directory as project source directory, and a non-existing or empty sub-directory (e.g., `build`) where the Makefile files (Ubuntu) or Visual Studio solution (Windows) will be generated. If `build` does not exist, it will ask you whether to create it. Press `Yes`.
<p align="center">
<img src="../../.github/media/cmake_installation_im_1.png", width="480">
<img src="../../.github/media/cmake_installation_im_1_windows.png", width="480">
<img src="media/cmake_installation_im_1.png", width="480">
<img src="media/cmake_installation_im_1_windows.png", width="480">
</p>
3. Press the `Configure` button, keep the generator in `Unix Makefiles` (Ubuntu) or set it to your 64-bit Visual Studio version (Windows), and press `Finish`. Note for Windows users: CMake-GUI has changed their design after version 14. For versions older than 14, you usually select `Visual Studio XX 20XX Win64` as the generator (`X` depends on your VS version), while the `Optional toolset to use` must be empty. However, new CMake versions require you to select only the VS version as the generator, e.g., `Visual Studio 16 2019`, and then you must manually choose `x64` for the `Optional platform for generator`. See the following images as example.
<p align="center">
<img src="../../.github/media/cmake_installation_im_2.png", width="240">
<img src="../../.github/media/cmake_installation_im_2_windows.png", width="240">
<img src="../../.github/media/cmake_installation_im_2_windows_new.png", width="240">
<img src="media/cmake_installation_im_2.png", width="240">
<img src="media/cmake_installation_im_2_windows.png", width="240">
<img src="media/cmake_installation_im_2_windows_new.png", width="240">
</p>
4. Enabling Python (optional step, only apply it if you plan to use the Python API): Enable the `BUILD_PYTHON` flag and click `Configure` again.
......@@ -138,8 +138,8 @@ cmake-gui ..
6. If this step is successful, the `Configuring done` text will appear in the bottom box in the last line. Otherwise, some red text will appear in that same bottom box.
<p align="center">
<img src="../../.github/media/cmake_installation_im_3.png", width="480">
<img src="../../.github/media/cmake_installation_im_3_windows.png", width="480">
<img src="media/cmake_installation_im_3.png", width="480">
<img src="media/cmake_installation_im_3_windows.png", width="480">
</p>
7. Press the `Generate` button and proceed to [Compilation](#compilation). You can now close CMake.
......@@ -366,7 +366,7 @@ OpenPose uses a [custom fork of Caffe](https://github.com/CMU-Perceptual-Computi
Alternatively, you can use your own Caffe distribution on Ubuntu/Mac by 1) disabling `BUILD_CAFFE`, 2) setting `Caffe_INCLUDE_DIRS` to `{CAFFE_PATH}/include/caffe`, and 3) setting `Caffe_LIBS` to `{CAFFE_PATH}/build/lib/libcaffe.so`, as shown in the image below. Note that cuDNN-compatible Caffe version is required in order to get the maximum possible accuracy in OpenPose.
<p align="center">
<img src="../../.github/media/cmake_installation_im_5.png", width="480">
<img src="media/cmake_installation_im_5.png", width="480">
</p>
For Windows, simply replace the OpenCV DLLs and include folder for your custom one.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册