Skip to content

Commit a22191c

Browse files
Improved doc (#481)
1 parent d621465 commit a22191c

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

doc/faq.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,8 @@ Note: OpenPose library is not an executable, but a library. So instead clicking
7474
**Q: I am getting an error of the type: `The source directory {path to file} does not contain a CMakeLists.txt file.`.**
7575

7676
**A**: You might not have writing access to that folder. If you are in Windows, you should not try to install it in `Program Files`.
77+
78+
79+
80+
### Estimating FPS without Display
81+
Check the [doc/installation.md#profiling-speed](./installation.md#profiling-speed) section.

doc/installation.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ OpenPose - Installation
1111
7. [Reinstallation](#reinstallation)
1212
8. [Uninstallation](#uninstallation)
1313
9. [Optional Settings](#optional-settings)
14-
1. [MPI Model](#mpi-model)
15-
2. [CPU Version](#cpu-version)
16-
3. [3D Reconstruction Module](#3d-reconstruction-module)
17-
4. [Compiling without cuDNN](#compiling-without-cudnn)
18-
5. [Custom Caffe (Ubuntu Only)](#custom-caffe-ubuntu-only)
19-
6. [Custom OpenCV (Ubuntu Only)](#custom-opencv-ubuntu-only)
20-
7. [Doxygen Documentation Autogeneration (Ubuntu Only)](#doxygen-documentation-autogeneration-ubuntu-only)
21-
8. [CMake Command Line Configuration (Ubuntu Only)](#cmake-command-line-configuration-ubuntu-only)
14+
1. [Profiling Speed](#profiling-speed)
15+
2. [MPI Model](#mpi-model)
16+
3. [CPU Version](#cpu-version)
17+
4. [3D Reconstruction Module](#3d-reconstruction-module)
18+
5. [Compiling without cuDNN](#compiling-without-cudnn)
19+
6. [Custom Caffe (Ubuntu Only)](#custom-caffe-ubuntu-only)
20+
7. [Custom OpenCV (Ubuntu Only)](#custom-opencv-ubuntu-only)
21+
8. [Doxygen Documentation Autogeneration (Ubuntu Only)](#doxygen-documentation-autogeneration-ubuntu-only)
22+
9. [CMake Command Line Configuration (Ubuntu Only)](#cmake-command-line-configuration-ubuntu-only)
2223

2324

2425

@@ -215,6 +216,14 @@ In order to uninstall OpenPose:
215216

216217

217218
### Optional Settings
219+
#### Profiling Speed
220+
In order to obtain speed metrics from the command line while running OpenPose, compile it with the `PROFILER_ENABLED` flag. OpenPose will automatically display time measurements for each subthread after processing `F` frames (by default `F = 1000`, but it can be modified with the `--profile_speed` flag).
221+
222+
- Time measurement for 1 graphic card: The FPS will be the slowest time displayed in your terminal command line (as OpenPose is multi-threaded). Times are in milliseconds, so `FPS = 1000/millisecond_measurement`.
223+
- Time measurement for >1 graphic cards: Assuming `n` graphic cards, you will have to wait up to `n` x `F` frames to visualize each graphic card speed (as the frames are splitted among them). In addition, the FPS would be: `FPS = minFPS(speed_per_GPU/n, worst_time_measurement_other_than_GPUs)`. For < 4 GPUs, this is usually `FPS = speed_per_GPU/n`.
224+
225+
226+
218227
#### MPI Model
219228
By default, the body MPI model is not downloaded. You can download it by turning on the `DOWNLOAD_MPI_MODEL`. It's slightly faster but less accurate and has less keypoints than the COCO body model.
220229

doc/release_notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ OpenPose Library - Release Notes
196196
24. OpenPose GUI: 'l' and 'k' functionality swapped.
197197
25. 3-D reconstruction module: Added flag `--3d_min_views` to select minimum number of cameras required for 3-D reconstruction.
198198
26. Flag `--camera_fps` also applies to recorded video (`--write_video`).
199+
27. Flir camera producer `n` times faster for `n` cameras (multi-threaded). If the number of cameras is greater than the number of the computer threads, the speed up might not be exactly `n` times.
199200
2. Functions or parameters renamed:
200201
1. Flag `no_display` renamed as `display`, able to select between `NoDisplay`, `Display2D`, `Display3D`, and `DisplayAll`.
201202
2. 3-D reconstruction demo is now inside the OpenPose demo binary.

0 commit comments

Comments
 (0)