Skip to content

Commit 9c5a328

Browse files
Complete Readme to show fakenect read usage
1 parent fe8d35b commit 9c5a328

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

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

150+
# Using Fakenect
151+
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`
153+
154+
- Sample with python wrappers :
155+
```shell
156+
LD_PRELOAD="/usr/local/lib/fakenect/libfreenect_faked.so" FAKENECT_PATH="./sample/hand1" python ./wrappers/python/demo_cv_sync.py
157+
```
158+
- Sample with C bin :
159+
```shell
160+
LD_PRELOAD="/usr/local/lib/fakenect/libfreenect_faked.so" FAKENECT_PATH="./sample/hand1" freenect-glview
161+
```
162+
150163
# Code Contributions
151164

152165
In order of importance:

0 commit comments

Comments
 (0)