Skip to content

Commit 3f1ebbd

Browse files
committed
Merge branch 'master' of https://github.com/doug/depthjs
2 parents 12a0210 + 10f40f9 commit 3f1ebbd

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Note: OpenNI & NITE should be downloaded and linked appropriately to your build.
2121

2222
Components
2323
----------
24-
DepthJS is very modular. The Kinect driver and computer vision are written on top of libfreenect & OpenCV in C++. This component can output the raw RGB image, the raw depth map (filtered for the hand), as well as the high-level events that the computer vision recognizes. A native browser plugin (think Flash) wraps this Kinect code, which directly interacts with a Javascript browser plugin. Fortunately in Chrome extensions can contain native code, so it will be easy for anyone to install it. Safari requires a bit more work with a plugin installer & needing to go to the extension "store," if Apple will even permit this.
24+
DepthJS is very modular. The Kinect driver and computer vision are written on top of OpenNI and NITE. This component can output the raw RGB image, the raw depth map (filtered for the hand), as well as the high-level events that the computer vision recognizes. A native browser plugin (think Flash) wraps this Kinect code, which directly interacts with a Javascript browser plugin. Fortunately in Chrome extensions can contain native code, so it will be easy for anyone to install it. Safari requires a bit more work with a plugin installer & needing to go to the extension "store," if Apple will even permit this.
2525

2626
Event handlers in the browser extension may be placed globally, in content scripts injected into each web page, or pushed via the content script to local DOM elements written by 3rd parties.
2727

@@ -33,51 +33,50 @@ http://www.openni.org/Downloads/OpenNIModules.aspx
3333

3434
Platforms
3535
---------
36-
Right now we only support Macs. All dependencies are statically compiled and in the repo (except OpenNI/NITE who don't provide static libs).
36+
Macs are supported. All dependencies are statically compiled and in the repo (except OpenNI/NITE who don't provide static libs).
3737

38-
Linux likely automatically works, although we don't distribute pre-compiled dependencies for it (yet).
38+
Linux should compile nicely, although we don't distribute pre-compiled dependencies for it (yet).
3939

40-
Windows will work for Chrome and Firefox through the FireBreat plugin, but Internet Explorer will probably not be supported (unless someone would like to create an ActiveX plugin).
40+
Windows now works for Chrome through the FireBreath plugin, Firefox to follow, but Internet Explorer will probably not be supported (unless someone would like to create an ActiveX plugin out of the firebreath framework).
4141

4242
Browsers
4343
--------
44-
SAFARI:
44+
### SAFARI:
4545
Safari needs it's own browser plugin & browser extension. webkit-plugin-mac/ contains the plugin, and the extension is in safari-extension-mac/. Unfortunately it does not like soft links, so you must in your terminal run <pre>cd safari-extension-mac/DepthJS.safariextension && ./createHardLinks.sh</pre> Build & run the Xcode project in webkit-plugin-mac, then once inside Safari, enable developer tools & extensions, and finally add the extension under safari-extension-mac/ in Extension Builder. If you click on Inspect Global Pages, you'll see output confirming if it could connect to the Kinect or not (it should be plugged in).
4646

4747
Safari is currently our active development browser because of XCode & GDB. It will work before Chrome at any given moment.
4848

49-
CHROME:
49+
### CHROME:
5050
Chrome extensions support native code, which needs to be compiled. Now under firebreat-plugin/.
5151
To install/compile: (Refer to http://www.firebreath.org/display/documentation/Building+FireBreath+Plugins for instructions, they have tutorials and videos, and the process is rather simple)
5252
Start by downloading Firebreath: http://www.firebreath.org/display/documentation/Download
5353

5454
(you must have CMake 2.6+ installed, OpenNI and NITE)
5555

56-
### Mac building
56+
#### Mac building
5757
cd ${DEPTHJS_DIR}/firebreath-plugin/
5858
${FIREBREATH_DIR}/prepmac.sh . # make sure you run this from the DepthJS/firebreath-plugin directory
5959
cd build
6060
make
6161

62-
### Windows building
62+
#### Windows building
6363
cd ${DEPTHJS_DIR}/firebreath-plugin/
6464
${FIREBREATH_DIR}/prep2010.cmd . # optionally set "-DOpenNI_INCLUDE_DIRS=<...>", "-DOpenNI_LIBS=<...>", "-DNITE_INCLUDE_DIRS=<...>" and "-DNITE_LIBS=<..>"
6565
start build\FireBreath.sln # at this point Visual Studio will open and you should be able to compile the plugin
66-
copy_binary_win32.bat
6766

6867
(Visual Studio is a prerequisite)
6968

7069
The chrome extension is located in chrome-extension/.
7170
The plugin is precompiled under chrome-extension/plugin/.
7271

73-
Go on chrome://extensions and use "Load upacked extension..." to manually load DepthJS as an extension, and you should be good to go.
72+
Go on chrome://extensions and use "Load upacked extension..." to manually load DepthJS as an extension (use the chrome-extension directory), and you should be good to go. Use the error console to fish for errors.
7473

75-
FIREFOX:
74+
### FIREFOX:
7675
We're in the process of creating a FF extension around the Firebreath NPAPI plugin.
7776

7877
Future work
7978
-----------
8079
In addition to the obvious improvements to our gesture recognition, we need to make the install process easier for end-users.
8180

82-
Most of our concern is to make everything truly cross-platform cross-browser, and make this a reference implementation of a Kinect browser plugin.
83-
One-click install is at second-priority right now, so if anyone wants to pitch in and do this - please let us know!
81+
Most of our concern is to make everything truly cross-platform cross-browser, and make this an open-source reference implementation of a Kinect browser plugin.
82+
One-click install is at second-priority right now, so if anyone wants to pitch in and do this - they are welcome!

0 commit comments

Comments
 (0)