Skip to content

Commit a2debee

Browse files
smokhovxlz
authored andcommitted
docs: Document ProtonectSR more, its options, and basic build steps.
1 parent 8e25422 commit a2debee

File tree

1 file changed

+31
-23
lines changed

1 file changed

+31
-23
lines changed

tools/streamer_recorder/README.md

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,63 +12,71 @@
1212

1313
## Description
1414

15-
Additional toolbox featuring:
16-
- UDP streaming of kinect captured images (``-streamer`` option)
17-
- Recording of kinect captured images to disk (``-recorder`` option)
15+
Additional toolbox based off `Protonect` featuring:
16+
- UDP streaming of Kinect captured images (``-streamer`` option)
17+
- Recording of Kinect captured images to disk (``-recorder`` option)
18+
- Replay of Kinect captured images from disk (``-replay`` option)
1819

1920
## Maintainers
2021

2122
* David Poirier-Quinot
23+
* Serguei A. Mokhov
2224

2325
## Installation
2426

2527
### Windows / Visual Studio
2628

27-
### Mac OSX
29+
TODO
2830

29-
* Install OPENCV
31+
### Mac OS X
3032

31-
```
33+
* Install OpenCV
34+
35+
```
3236
brew install opencv3
3337
```
3438

3539
* Install Numpy for Blender viewer
36-
37-
```
40+
```
3841
pip3 install numpy
3942
```
4043

4144
and link numpy and cv2 to blender python3 site-package (rename / remove old numpy if needed)
4245

4346
(tested with 1.10.4, previous versions happened to raise ``ImportError: numpy.core.multiarray failed to import`` when typing ``import cv2`` in python)
4447

45-
* Build
46-
47-
```
48+
* Build (start from the libfreenect2 root directory)
49+
```
4850
mkdir build && cd build
49-
cmake ..
51+
cmake .. -DBUILD_STREAMER_RECORDER=ON
5052
make
5153
make install
5254
```
53-
* Run the test program: `.ProtonectSR`
54-
55+
* Run the test program (accepts all the same options as Protonect with 3 extra):
56+
- `./bin/ProtonectSR -record` -- to start recording frames
57+
- `./bin/ProtonectSR -stream` -- to start streaming frames to a receiver application
58+
- `./bin/ProtonectSR -replay` -- to start replaying recorded frames
59+
- `./bin/ProtonectSR -replay -stream` -- to relay and stream recorded frames
60+
- `./bin/ProtonectSR -record -stream` -- to record and stream frames
5561

5662
### Linux
5763

5864
* Install build tools
59-
60-
```
65+
```
6166
sudo apt-get install opencv3
6267
```
6368

64-
* Build
65-
66-
```
67-
69+
* Build (start from the libfreenect2 root directory)
70+
```
6871
mkdir build && cd build
69-
cmake ..
72+
cmake .. -DBUILD_STREAMER_RECORDER=ON
7073
make
7174
make install
75+
```
7276

73-
* Run the test program: `./ProtonectSR`
74-
77+
* Run the test program (accepts all the same options as Protonect with 3 extra):
78+
- `./bin/ProtonectSR -record` -- to start recording enable frames (`freenect2-record` presupposes this option)
79+
- `./bin/ProtonectSR -stream` -- to start streaming frames to a receiver application (`freenect2-stream` presupposes this option)
80+
- `./bin/ProtonectSR -replay` -- to start replaying recorded frames (`freenect2-replay` presupposes this option)
81+
- `./bin/ProtonectSR -replay -stream` -- to relay and stream recorded frames
82+
- `./bin/ProtonectSR -record -stream` -- to record and stream frames

0 commit comments

Comments
 (0)