Skip to content

Commit 072c210

Browse files
committed
fakenect: Update documentation
Signed-off-by: Benn Snyder <[email protected]>
1 parent 73b7d09 commit 072c210

File tree

4 files changed

+11
-45
lines changed

4 files changed

+11
-45
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# CMake directives
3131
######################################################################################
3232

33-
cmake_minimum_required(VERSION 2.6)
33+
cmake_minimum_required(VERSION 2.8.12)
3434

3535
######################################################################################
3636
# Project declaration and options

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,17 +147,22 @@ Wrappers are not guaranteed to be API stable or up to date.
147147
- actionscript
148148
- Java (JNA)
149149

150-
# Using Fakenect
150+
# Fakenect
151151

152-
To use a fakenect recorded stream, just provide the fakenect lib as a pre loaded library with `LD_PRELOAD` and indicates the recorded files directory with `FAKENECT_PATH`
152+
Using fakenect, you can record a session to a directory and play it back later.
153+
154+
mkdir session
155+
fakenect-record ./session
156+
157+
To use a fakenect recorded stream, just provide the fakenect lib as a pre loaded library with `LD_PRELOAD` and indicates the recorded files directory with `FAKENECT_PATH`.
153158

154159
- Sample with python wrappers :
155160
```shell
156-
LD_PRELOAD="/usr/local/lib/fakenect/libfreenect_faked.so" FAKENECT_PATH="./sample/hand1" python ./wrappers/python/demo_cv_sync.py
161+
LD_PRELOAD="/usr/local/lib/fakenect/libfakenect.so" FAKENECT_PATH="./session" python ./wrappers/python/demo_cv_sync.py
157162
```
158163
- Sample with C bin :
159164
```shell
160-
LD_PRELOAD="/usr/local/lib/fakenect/libfreenect_faked.so" FAKENECT_PATH="./sample/hand1" freenect-glview
165+
LD_PRELOAD="/usr/local/lib/fakenect/libfakenect.so" FAKENECT_PATH="./session" freenect-glview
161166
```
162167

163168
# Code Contributions

fakenect/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ add_library (fakenect SHARED fakenect.c)
77
set_target_properties ( fakenect PROPERTIES
88
VERSION ${PROJECT_VER}
99
SOVERSION ${PROJECT_APIVER}
10-
OUTPUT_NAME freenect_faked)
10+
OUTPUT_NAME fakenect)
1111
target_link_libraries(fakenect ${MATH_LIB})
1212

1313
install (TARGETS fakenect

fakenect/README

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)