|
12 | 12 |
|
13 | 13 | ## Description
|
14 | 14 |
|
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) |
18 | 19 |
|
19 | 20 | ## Maintainers
|
20 | 21 |
|
21 | 22 | * David Poirier-Quinot
|
| 23 | +* Serguei A. Mokhov |
22 | 24 |
|
23 | 25 | ## Installation
|
24 | 26 |
|
25 | 27 | ### Windows / Visual Studio
|
26 | 28 |
|
27 |
| -### Mac OSX |
| 29 | +TODO |
28 | 30 |
|
29 |
| -* Install OPENCV |
| 31 | +### Mac OS X |
30 | 32 |
|
31 |
| - ``` |
| 33 | +* Install OpenCV |
| 34 | + |
| 35 | +``` |
32 | 36 | brew install opencv3
|
33 | 37 | ```
|
34 | 38 |
|
35 | 39 | * Install Numpy for Blender viewer
|
36 |
| - |
37 |
| - ``` |
| 40 | +``` |
38 | 41 | pip3 install numpy
|
39 | 42 | ```
|
40 | 43 |
|
41 | 44 | and link numpy and cv2 to blender python3 site-package (rename / remove old numpy if needed)
|
42 | 45 |
|
43 | 46 | (tested with 1.10.4, previous versions happened to raise ``ImportError: numpy.core.multiarray failed to import`` when typing ``import cv2`` in python)
|
44 | 47 |
|
45 |
| -* Build |
46 |
| - |
47 |
| - ``` |
| 48 | +* Build (start from the libfreenect2 root directory) |
| 49 | +``` |
48 | 50 | mkdir build && cd build
|
49 |
| -cmake .. |
| 51 | +cmake .. -DBUILD_STREAMER_RECORDER=ON |
50 | 52 | make
|
51 | 53 | make install
|
52 | 54 | ```
|
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 |
55 | 61 |
|
56 | 62 | ### Linux
|
57 | 63 |
|
58 | 64 | * Install build tools
|
59 |
| - |
60 |
| - ``` |
| 65 | +``` |
61 | 66 | sudo apt-get install opencv3
|
62 | 67 | ```
|
63 | 68 |
|
64 |
| -* Build |
65 |
| - |
66 |
| - ``` |
67 |
| -
|
| 69 | +* Build (start from the libfreenect2 root directory) |
| 70 | +``` |
68 | 71 | mkdir build && cd build
|
69 |
| -cmake .. |
| 72 | +cmake .. -DBUILD_STREAMER_RECORDER=ON |
70 | 73 | make
|
71 | 74 | make install
|
| 75 | +``` |
72 | 76 |
|
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