You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-21Lines changed: 27 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,17 +79,18 @@ The pose estimation work is based on the C++ code from [the ECCV 2016 demo](http
79
79
80
80
## Contents
81
81
1.[Installation, Reinstallation and Uninstallation](#installation-reinstallation-and-uninstallation)
82
-
2.[Custom Caffe](#custom-caffe)
83
-
3.[Quick Start](#quick-start)
82
+
2.[Quick Start](#quick-start)
84
83
1.[Demo](#demo)
85
84
2.[OpenPose Wrapper](#openpose-wrapper)
86
85
3.[OpenPose Library](#openpose-library)
87
-
4.[Output](#output)
88
-
5.[Speed Up Openpose And Benchmark](#speed-up-openpose-and-benchmark)
89
-
6.[Send Us Failure Cases!](#send-us-failure-cases)
90
-
7.[Send Us Your Feedback!](#send-us-your-feedback)
91
-
8.[Citation](#citation)
92
-
9.[Other Contributors](#other-contributors)
86
+
3.[Output](#output)
87
+
4.[Custom Caffe](#custom-caffe)
88
+
5.[Standalone Face Or Hand Keypoint Detector](#standalone-face-or-hand-keypoint-detector)
89
+
6.[Speed Up Openpose And Benchmark](#speed-up-openpose-and-benchmark)
90
+
7.[Send Us Failure Cases!](#send-us-failure-cases)
91
+
8.[Send Us Your Feedback!](#send-us-your-feedback)
92
+
9.[Citation](#citation)
93
+
10.[Other Contributors](#other-contributors)
93
94
94
95
95
96
@@ -98,19 +99,6 @@ You can find the installation, reinstallation and uninstallation steps on: [doc/
98
99
99
100
100
101
101
-
## Custom Caffe
102
-
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:
103
-
104
-
1. Added files: `install_caffe.sh`; as well as `Makefile.config.Ubuntu14.example`, `Makefile.config.Ubuntu16.example`, `Makefile.config.Ubuntu14_cuda_7.example` and `Makefile.config.Ubuntu16_cuda_7.example` (extracted from `Makefile.config.example`). Basically, you must enable cuDNN.
105
-
2. Edited file: Makefile. Search for "# OpenPose: " to find the edited code. We basically added the C++11 flag to avoid issues in some old computers.
1. Run `make all && make distribute` in your Caffe version.
109
-
2. Open the OpenPose Makefile config file: `./Makefile.config.UbuntuX.example` (where X depends on your OS and CUDA version).
110
-
3. Modify the Caffe folder directory variable (`CAFFE_DIR`) to your custom Caffe `distribute` folder location in the previous OpenPose Makefile config file.
111
-
112
-
113
-
114
102
## Quick Start
115
103
Most users cases should not need to dive deep into the library, they might just be able to use the [Demo](#demo) or the simple [OpenPose Wrapper](#openpose-wrapper). So you can most probably skip the library details in [OpenPose Library](#openpose-library).
116
104
@@ -151,6 +139,24 @@ Check the output (format, keypoint index ordering, etc.) in [doc/output.md](doc/
151
139
152
140
153
141
142
+
## Custom Caffe
143
+
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:
144
+
145
+
1. Added files: `install_caffe.sh`; as well as `Makefile.config.Ubuntu14.example`, `Makefile.config.Ubuntu16.example`, `Makefile.config.Ubuntu14_cuda_7.example` and `Makefile.config.Ubuntu16_cuda_7.example` (extracted from `Makefile.config.example`). Basically, you must enable cuDNN.
146
+
2. Edited file: Makefile. Search for "# OpenPose: " to find the edited code. We basically added the C++11 flag to avoid issues in some old computers.
1. Run `make all && make distribute` in your Caffe version.
150
+
2. Open the OpenPose Makefile config file: `./Makefile.config.UbuntuX.example` (where X depends on your OS and CUDA version).
151
+
3. Modify the Caffe folder directory variable (`CAFFE_DIR`) to your custom Caffe `distribute` folder location in the previous OpenPose Makefile config file.
152
+
153
+
154
+
155
+
## Standalone Face Or Hand Keypoint Detector
156
+
In case of hand camera views at which the hands are visible but not the rest of the body, or if you do not need the body keypoint detector and want to considerably speed up the process, you can use the OpenPose face or hand keypoint detectors with your own face or hand detectors, rather than using the body keypoint detector as initial detector for those. More information in [doc/standalone_face_or_hand_keypoint_detector.md#faq](doc/standalone_face_or_hand_keypoint_detector.md#faq).
157
+
158
+
159
+
154
160
## Speed Up OpenPose and Benchmark
155
161
Check the OpenPose Benchmark and some hints to speed up OpenPose on [doc/installation.md#faq](doc/installation.md#faq).
OpenPose Library - Standalone Face Or Hand Keypoint Detector
2
+
====================================
3
+
4
+
In case of hand camera views at which the hands are visible but not the rest of the body, or if you do not need the body keypoint detector and want to considerably speed up the process, you can use the OpenPose face or hand keypoint detectors with your own face or hand detectors, rather than using the body keypoint detector as initial detector for those.
5
+
6
+
## Standalone Face Keypoint Detector
7
+
There are 2 ways to add the OpenPose face keypoint detector to your own code without using the body pose keypoint extractor as initial face detector:
8
+
9
+
1. Easiest solution: Forget about the `OpenPose demo` and `wrapper/wrapper.hpp`, and instead use the `include/openpose/face/faceExtractor.hpp` class with the output of your face detector. Recommended if you do not wanna use any other OpenPose functionality.
10
+
11
+
2. Elegant solution: If you wanna use the whole OpenPose framework, simply copy `include/wrapper/wrapper.hpp` as e.g. `examples/userCode/wrapperFace.hpp`, and change our `FaceDetector` class by your custom face detector class. If you wanna omit the Pose keypoint detection, you can simply delete it from that custom wrapper too.
12
+
13
+
## Standalone Hand Keypoint Detector
14
+
The analogous steps apply to the hand keypoint detector, but modifying `include/openpose/hand/handExtractor.hpp`.
0 commit comments