Comments (9)
Officially right now we only support the Safari plugin.
We are making efforts to port the Safari plugin to Chrome & Firefox (NPAPI).
Are you up for it?
Roy.
On Fri, Oct 7, 2011 at 8:57 AM, markstroeve <
[email protected]>wrote:
I've got the Chrome plugin working on my mac,I can use gestures.
Next i wanted to check out the basic JS demo which is included in the
repository.But this demo doesn't seem te be working. I keeps giving the default text
(Kinect not connected).
And there seems to be no XHR or websocket traffic/connection .Is the current demo broken?
Reply to this email directly or view it on GitHub:
#24
from depthjs.
I used the Chrome version. Because i couldn't get the Safari plugin/extension working.
I followed the instructions but when i want to build i get a lot of errors most of them are about missing includes/requires.
Do i need to add paths to NITE/OpenNi somewhere?
from depthjs.
Indeed you do.
What are the errors that you get?
Roy.
On Fri, Oct 7, 2011 at 9:56 AM, markstroeve <
[email protected]>wrote:
I used the Chrome version. Because i couldn't get the Safari
plugin/extension working.
I followed the instructions but when i want to build i get a lot of errors
most of them are about missing includes/requires.
Do i need to add paths to NITE/OpenNi somewhere?Reply to this email directly or view it on GitHub:
#24 (comment)
from depthjs.
These are the errors.
There are also a bunch of warnings, btw i've used Xcode4.
/Users/mark/Development/doug-depthjs-f404b8d/webkit-plugin-mac/openni_backend.cpp
XnOpenNI.h: No such file or directory
XnCppWrapper.h: No such file or directory
XnHash.h: No such file or directory
XnLog.h: No such file or directory
XnUSB.h: No such file or directory
XnVNite.h: No such file or directory
Expected ;' at end of input Expected
}' at end of input
file://localhost/Users/mark/Development/doug-depthjs-f404b8d/webkit-plugin-mac/openni_backend.cpp:
error: Lexical or Preprocessor Issue: 'XnOpenNI.h' file not found
/Users/mark/Development/doug-depthjs-f404b8d/webkit-plugin-mac/HandMessageListener.h
XnVPointControl.h: No such file or directory
XnVFlowRouter.h: No such file or directory
XnVSwipeDetector.h: No such file or directory
XnVSelectableSlider1D.h: No such file or directory
XnVSteadyDetector.h: No such file or directory
XnVBroadcaster.h: No such file or directory
XnVPushDetector.h: No such file or directory
XnVWaveDetector.h: No such file or directory
XnVSessionManager.h: No such file or directory
XnVCircleDetector.h: No such file or directory
Expected class-name before '{' token
'xn' has not been declared
Expected )' before 'depthGenerator' 'XnVMessage' has not been declared Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Swipe_Left' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'Swipe_Right'
Expected ;' before 'static' Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Swipe_Up' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'Swipe_Down'
Expected ;' before 'static' Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Push_Pushed' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'ACircle'
'XnVPointControl' has not been declared
'm_pPushDetector' was not declared in this scope
'm_pCircleDetector' was not declared in this scope
'm_pSwipeDetector' was not declared in this scope
Expected unqualified-id at end of input
XnCppWrapper.h: No such file or directory
XnVPointControl.h: No such file or directory
XnVFlowRouter.h: No such file or directory
XnVSwipeDetector.h: No such file or directory
XnVSelectableSlider1D.h: No such file or directory
XnVSteadyDetector.h: No such file or directory
XnVBroadcaster.h: No such file or directory
XnVPushDetector.h: No such file or directory
XnVWaveDetector.h: No such file or directory
XnVSessionManager.h: No such file or directory
XnVCircleDetector.h: No such file or directory
Expected class-name before '{' token
'xn' has not been declared
Expected )' before 'depthGenerator' 'XnVMessage' has not been declared Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Swipe_Left' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'Swipe_Right'
Expected ;' before 'static' Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Swipe_Up' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'Swipe_Down'
Expected ;' before 'static' Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Push_Pushed' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'ACircle'
Expected ;' at end of input Expected
}' at end of input
'XnVPointControl' has not been declared
'm_pPushDetector' was not declared in this scope
'm_pCircleDetector' was not declared in this scope
'm_pSwipeDetector' was not declared in this scope
Expected unqualified-id at end of input
2011/10/7 royshil
[email protected]:
Indeed you do.
What are the errors that you get?Roy.
On Fri, Oct 7, 2011 at 9:56 AM, markstroeve <
[email protected]>wrote:I used the Chrome version. Because i couldn't get the Safari
plugin/extension working.
I followed the instructions but when i want to build i get a lot of errors
most of them are about missing includes/requires.
Do i need to add paths to NITE/OpenNi somewhere?Reply to this email directly or view it on GitHub:
#24 (comment)Reply to this email directly or view it on GitHub:
#24 (comment)
from depthjs.
This is obviously a problem where the compiler can't find the OpenNI
includes.
Please download the binaries of Openni and Nite from the urls in the readme.
Run their installation scripts.
Then set Xcode to find the includes (the install puts them usually in
/usr/..).
R.
On Oct 7, 2011 10:09 AM, "markstroeve" <
[email protected]>
wrote:
These are the errors.
There are also a bunch of warnings, btw i've used Xcode4./Users/mark/Development/doug-depthjs-f404b8d/webkit-plugin-mac/openni_backend.cpp
XnOpenNI.h: No such file or directory
XnCppWrapper.h: No such file or directory
XnHash.h: No such file or directory
XnLog.h: No such file or directory
XnUSB.h: No such file or directory
XnVNite.h: No such file or directory
Expected;' at end of input Expected
}' at end of inputfile://localhost/Users/mark/Development/doug-depthjs-f404b8d/webkit-plugin-mac/openni_backend.cpp:
error: Lexical or Preprocessor Issue: 'XnOpenNI.h' file not found/Users/mark/Development/doug-depthjs-f404b8d/webkit-plugin-mac/HandMessageListener.h
XnVPointControl.h: No such file or directory
XnVFlowRouter.h: No such file or directory
XnVSwipeDetector.h: No such file or directory
XnVSelectableSlider1D.h: No such file or directory
XnVSteadyDetector.h: No such file or directory
XnVBroadcaster.h: No such file or directory
XnVPushDetector.h: No such file or directory
XnVWaveDetector.h: No such file or directory
XnVSessionManager.h: No such file or directory
XnVCircleDetector.h: No such file or directory
Expected class-name before '{' token
'xn' has not been declared
Expected)' before 'depthGenerator' 'XnVMessage' has not been declared Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Swipe_Left' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'Swipe_Right'
Expected;' before 'static' Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Swipe_Up' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'Swipe_Down'
Expected;' before 'static' Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Push_Pushed' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'ACircle'
'XnVPointControl' has not been declared
'm_pPushDetector' was not declared in this scope
'm_pCircleDetector' was not declared in this scope
'm_pSwipeDetector' was not declared in this scope
Expected unqualified-id at end of input
XnCppWrapper.h: No such file or directory
XnVPointControl.h: No such file or directory
XnVFlowRouter.h: No such file or directory
XnVSwipeDetector.h: No such file or directory
XnVSelectableSlider1D.h: No such file or directory
XnVSteadyDetector.h: No such file or directory
XnVBroadcaster.h: No such file or directory
XnVPushDetector.h: No such file or directory
XnVWaveDetector.h: No such file or directory
XnVSessionManager.h: No such file or directory
XnVCircleDetector.h: No such file or directory
Expected class-name before '{' token
'xn' has not been declared
Expected)' before 'depthGenerator' 'XnVMessage' has not been declared Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Swipe_Left' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'Swipe_Right'
Expected;' before 'static' Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Swipe_Up' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'Swipe_Down'
Expected;' before 'static' Variable or field 'XN_CALLBACK_TYPE' declared void Expected ';' before 'Push_Pushed' Expected
;' before 'static'
Variable or field 'XN_CALLBACK_TYPE' declared void
Expected ';' before 'ACircle'
Expected;' at end of input Expected
}' at end of input
'XnVPointControl' has not been declared
'm_pPushDetector' was not declared in this scope
'm_pCircleDetector' was not declared in this scope
'm_pSwipeDetector' was not declared in this scope
Expected unqualified-id at end of input2011/10/7 royshil
[email protected]:Indeed you do.
What are the errors that you get?Roy.
On Fri, Oct 7, 2011 at 9:56 AM, markstroeve <
[email protected]>wrote:I used the Chrome version. Because i couldn't get the Safari
plugin/extension working.
I followed the instructions but when i want to build i get a lot of
errors
most of them are about missing includes/requires.
Do i need to add paths to NITE/OpenNi somewhere?Reply to this email directly or view it on GitHub:
#24 (comment)Reply to this email directly or view it on GitHub:
#24 (comment)Reply to this email directly or view it on GitHub:
#24 (comment)
from depthjs.
I've installed the chrome extension and am getting the same error:
DepthJS Console
No Kinect / DepthJS detected
Is the chrome extension not supported?
I did receive several warnings when I compiled :
depthjs.cc:162: warning: ‘bool setupDevice()’ defined but not used
ocv_freenect.cpp: In function ‘void* ocvFreenectThread(void*)’:
ocv_freenect.cpp:377: warning: comparison between signed and unsigned integer expressions
ocv_freenect.cpp:383: warning: comparison between signed and unsigned integer expressions
ocv_freenect.cpp:447: warning: comparison between signed and unsigned integer expressions
bg_fg_blobs.cpp: In function ‘cv::Scalar refineSegments(const cv::Mat&, cv::Mat&, cv::Mat&, std::vectorcv::Point_<int, std::allocatorcv::Point_ >&, std::vectorcv::Point_<int, std::allocatorcv::Point_ >&, cv::Point2i&)’:
bg_fg_blobs.cpp:51: warning: comparison between signed and unsigned integer expressions
bg_fg_blobs.cpp:59: warning: comparison between signed and unsigned integer expressions
bg_fg_blobs.cpp:66: warning: comparison between signed and unsigned integer expressions
Are these the problem? or is the chrome extension not supported as mentioned above?
from depthjs.
@mairead
Please remove ocv_freenect.cpp and bg_fg_blobs.cpp from the build. They are
deprecated...
The errors should not bug you now :)
As for the missing Kinect, well.. make sure everything is connected.
I usually test everything by running an OpenNI already-compiled example...
Roy.
On Sun, Jan 8, 2012 at 1:40 PM, mairead <
[email protected]
wrote:
I've installed the chrome extension and am getting the same error:
DepthJS Console
No Kinect / DepthJS detected
Is the chrome extension not supported?
I did receive several warnings when I compiled :
depthjs.cc:162: warning: bool setupDevice() defined but not used
ocv_freenect.cpp: In function void* ocvFreenectThread(void*):
ocv_freenect.cpp:377: warning: comparison between signed and unsigned
integer expressions
ocv_freenect.cpp:383: warning: comparison between signed and unsigned
integer expressions
ocv_freenect.cpp:447: warning: comparison between signed and unsigned
integer expressions
bg_fg_blobs.cpp: In function cv::Scalar refineSegments(const cv::Mat&,
cv::Mat&, cv::Mat&, std::vectorcv::Point_<int,
std::allocatorcv::Point_ >&, std::vectorcv::Point_<int,
std::allocatorcv::Point_ >&, cv::Point2i&):
bg_fg_blobs.cpp:51: warning: comparison between signed and unsigned
integer expressions
bg_fg_blobs.cpp:59: warning: comparison between signed and unsigned
integer expressions
bg_fg_blobs.cpp:66: warning: comparison between signed and unsigned
integer expressionsAre these the problem? or is the chrome extension not supported as
mentioned above?
Reply to this email directly or view it on GitHub:
#24 (comment)
from depthjs.
Thanks, will remove the deprecated libs. For clarification when I am trying to run the demo app I have already connected the kinnect and successfully run both the glview app and the chrome extension that displays the first and second blob views. These are all working. It is only the demo page in the developers API I can't see. I was going to try building the safari extension, to see if I had more luck with that instead unless you have a different suggestion?
I'm not sure what you mean when you say an already-compiled example of OpenNi
from depthjs.
@mairead
The demo app will actually not show anything on screen.. it's just an
example of the API.
You should be able to see stuff in the Javascript console though.
The OpenNI examples are indeed "glview" and the likes of that.
Roy.
On Mon, Jan 9, 2012 at 11:37 AM, mairead <
[email protected]
wrote:
Thanks, will remove the deprecated libs. For clarification when I am
trying to run the demo app I have already connected the kinnect and
successfully run both the glview app and the chrome extension that displays
the first and second blob views. These are all working. It is only the demo
page in the developers API I can't see. I was going to try building the
safari extension, to see if I had more luck with that instead unless you
have a different suggestion?I'm not sure what you mean when you say an already-compiled example of
OpenNi
Reply to this email directly or view it on GitHub:
#24 (comment)
from depthjs.
Related Issues (20)
- Where is the dir CV
- Safari build fails in Xcode Version 4.3.2
- raw depth map HOT 4
- unhandled exception inside plugin DLL
- Chrome Extension Crashes Chome HOT 7
- Chrome extension manifest version warning HOT 11
- blobs not showing up in any page. HOT 1
- Not Working with Asus Xtion HOT 2
- Nothing Works HOT 1
- "Hand not in view" and inline script error- chrome ex. HOT 10
- Can't Compile Source HOT 2
- DepthJS can't find kinect in Chrome (26.0.1410.65) Mac (OS 10.7.5)
- Chrome Extension: Object #<HTMLEmbedElement> has no method 'InitDepthJS' HOT 1
- Failed to build plugin on OSX HOT 8
- ome
- nothing happens
- Doesn't work anything HOT 1
- Direct plug in on windows giving trouble
- Linking reference erros Linux x86
- Is depthjs still maintained ? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from depthjs.