mirror of
https://github.com/gosticks/openpose.git
synced 2026-10-06 23:26:58 +00:00
CocoJson assigns 0 to score if no detected
This commit is contained in:
@@ -115,14 +115,6 @@ Your case if you want to change internal functions and/or extend its functionali
|
||||
3. Adding An Extra Module: Learn how to add an extra module in [doc/library_add_new_module.md](doc/library_add_new_module.md).
|
||||
|
||||
|
||||
### Doxygen Documentation Autogeneration
|
||||
You can generate the documentation by running the following command. The documentation will be generated in `doc/doxygen/html/index.html`. You can simply open it with double-click (your default browser should automatically display it).
|
||||
```
|
||||
cd doc/
|
||||
doxygen doc_autogeneration.doxygen
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Output
|
||||
Check the output (format, keypoint index ordering, etc.) in [doc/output.md](doc/output.md).
|
||||
|
||||
+15
-3
@@ -8,9 +8,10 @@ OpenPose - Installation and FAQ
|
||||
4. [Ubuntu](#ubuntu)
|
||||
5. [Windows](#windows)
|
||||
6. [OpenPose 3D Demo](#openpose-3d-demo)
|
||||
7. [Custom Caffe](#custom-caffe)
|
||||
8. [Compiling without cuDNN](#compiling-without-cudnn)
|
||||
9. [FAQ](#faq)
|
||||
7. [Doxygen Documentation Autogeneration](#doxygen-documentation-autogeneration)
|
||||
8. [Custom Caffe](#custom-caffe)
|
||||
9. [Compiling without cuDNN](#compiling-without-cudnn)
|
||||
10. [FAQ](#faq)
|
||||
|
||||
|
||||
|
||||
@@ -184,6 +185,17 @@ If you want to try our OpenPose 3-D reconstruction demo, see [doc/openpose_3d_re
|
||||
|
||||
|
||||
|
||||
## Doxygen Documentation Autogeneration
|
||||
You can generate the documentation by running the following command. The documentation will be generated in `doc/doxygen/html/index.html`. You can simply open it with double-click (your default browser should automatically display it).
|
||||
```
|
||||
cd doc/
|
||||
doxygen doc_autogeneration.doxygen
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Custom Caffe
|
||||
We only modified some Caffe compilation flags and minor details. You can use your own Caffe distribution, these are the files we added and modified:
|
||||
|
||||
|
||||
@@ -12,10 +12,11 @@ OpenPose - Installation using CMake
|
||||
4. [Run OpenPose](#run-openpose)
|
||||
5. [Reinstallation](#reinstallation)
|
||||
6. [Optional Settings](#optional-settings)
|
||||
1. [Custom Caffe](#custom-caffe)
|
||||
2. [Custom OpenCV](#custom-opencv)
|
||||
3. [MPI Model](#mpi-model)
|
||||
4. [CMake Command Line Configuration](#cmake-command-line-configuration)
|
||||
1. [Doxygen Documentation Autogeneration](#doxygen-documentation-autogeneration)
|
||||
2. [Custom Caffe](#custom-caffe)
|
||||
3. [Custom OpenCV](#custom-opencv)
|
||||
4. [MPI Model](#mpi-model)
|
||||
5. [CMake Command Line Configuration](#cmake-command-line-configuration)
|
||||
|
||||
|
||||
|
||||
@@ -109,6 +110,11 @@ In order to re-install OpenPose:
|
||||
|
||||
|
||||
### Optional Settings
|
||||
#### Doxygen Documentation Autogeneration
|
||||
You can generate the documentation by setting the `BUILD_DOCS` flag.
|
||||
|
||||
|
||||
|
||||
#### Custom Caffe
|
||||
We only modified some Caffe compilation flags and minor details. You can use your own Caffe distribution, simply specify the Caffe include path and the library as shown below. You will also need to turn off the `BUILD_CAFFE` variable.
|
||||
<p align="center">
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace op
|
||||
mJsonOfstream.comma();
|
||||
mJsonOfstream.plainText(poseKeypoints[finalIndex+1]);
|
||||
mJsonOfstream.comma();
|
||||
mJsonOfstream.plainText(1);
|
||||
mJsonOfstream.plainText((poseKeypoints[finalIndex+2] > 0.f ? 1 : 0));
|
||||
if (bodyPart < indexesInCocoOrder.size() - 1u)
|
||||
mJsonOfstream.comma();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user