Giter Club home page Giter Club logo

depthjs's People

Contributors

azinman avatar doug avatar kench avatar royshil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

depthjs's Issues

Windows Ready?

Hi @ all,

Before getting started it would be nice to know if the framework is already compatible with windows or not, before running into big issues.

thanks

DepthJS can't find kinect in Chrome (26.0.1410.65) Mac (OS 10.7.5)

All correct drivers are installed. The kinect works fine with the 'Processing' application (when OSCeleton is running in terminal) and in the samples for NITE and OpenNI.

I used 'Pack extension' then 'load unpacked extension' to add the plugin into chrome.

When I go to any webpage the console reports the plugin has loaded and init correctly. Yet when I go to the demo page it finds DepthJS but no kinect.

Thanks for all the help,
Matthew.

IGNORE - REALISED I HAVE TO USE FIREBREATH NO MATTER WHAT.

Build Issue. error LNK2001

Hey Guys; having a few issues with the firebreath plugin build -

I build the script -
C:\Users\John\Downloads\firebreath-FireBreath-firebreath-1.6.0rc2-93-g0da59d6\firebreath-FireBreath-0da59d6\prep2010.cmd . "-DOpenNI_LIBRARY=C:\Program Files\OpenNI\Lib64" "-DNITE_LIBRARY=C:\Program Files\PrimeSense\NITE\Lib64" "-DNITE_INCLUDE_DIR=C:\Program Files\PrimeSense\NITE\Include"

Log-
Using projects in: "C:\Users\John\Downloads\doug-depthjs-a5c3db2\doug-depthjs-a5c3db2\firebreath-plugin"
Generating build files in: "C:\Users\John\Downloads\doug-depthjs-a5c3db2\doug-depthjs-a5c3db2\firebreath-plugin\build"
NOTE: The build files in "C:\Users\John\Downloads\doug-depthjs-a5c3db2\doug-depthjs-a5c3db2\firebreath-plugin\build" should NEVER be modified directly.
When needed, make project changes in cmake files and re-run this script.
Project-specific cmake files are found in [plugin dir]\CMakeLists.txt and
[plugin dir]\Win\projectDef.cmake.
Note that parameters for cmake should be enclosed in double quotes, e.g. "-DVERBOSE=1"
CMAKE parameters: "-DOpenNI_LIBRARY=C:\Program Files\OpenNI\Lib64" "-DNITE_LIBRARY=C:\Program Files\PrimeSense\NITE\Lib64" "-DNITE_INCLUDE_DIR=C:\Program Files\PrimeSense\NITE\Include"

C:\Users\John\Downloads\doug-depthjs-a5c3db2\doug-depthjs-a5c3db2\firebreath-plugin\build>cmake -G "Visual Studio 10" -DFB_PROJECTS_DIR="C:\Users\John\Downloads\doug-depthjs-a5c3db2\doug-depthjs-a5c3db2\firebreath-plugin" "-DOpenNI_LIBRARY=C:\Program Files\OpenNI\Lib64" "-DNITE_LIBRARY=C:\Program Files\PrimeSense\NITE\Lib64" "-DNITE_INCLUDE_DIR=C:\Program Files\PrimeSense\NITE\Include" "C:\Users\John\Downloads\firebreath-FireBreath-firebreath-1.6.0rc2-93-g0da59d6\firebreath-FireBreath-0da59d6"
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10
-- Check for working CXX compiler using: Visual Studio 10 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Visual Studio dir: c:/Program Files (x86)/Microsoft Visual Studio 10.0
-- Found ATL include dir: C:/WinDDK/7600.16385.1/inc/atl71
-- Found ATL lib dir: C:/WinDDK/7600.16385.1/lib/ATL/i386
-- Found MFC include dir: C:/WinDDK/7600.16385.1/inc/mfc42
-- Balanced size/speed optimization
project dir: C:/Users/John/Downloads/doug-depthjs-a5c3db2/doug-depthjs-a5c3db2/firebreath-plugin
Single project: C:/Users/John/Downloads/doug-depthjs-a5c3db2/doug-depthjs-a5c3db2/firebreath-plugin
Generating plugin configuration files in C:/Users/John/Downloads/doug-depthjs-a5c3db2/doug-depthjs-a5c3db2/firebreath-plugin/build/projects/depthjsplugin/gen
-- Try to look here: C:/Program Files/OpenNI/Include/;D:/Program Files/OpenNI/Include/
-- Found OpenNI: C:/Program Files/OpenNI/Lib64
-- OpenNI found in C:/Program Files/OpenNI/Include
-- Try to look here: C:/Program Files/NITE/Include/;D:/Program Files/NITE/Include/
-- Found NITE: C:/Program Files/PrimeSense/NITE/Lib64
-- NITE found in C:/Program Files/PrimeSense/NITE/Include
-- setting output directory for simple_templater to C:/Users/John/Downloads/doug-depthjs-a5c3db2/doug-depthjs-a5c3db2/firebreath-plugin
Configuring C:/Users/John/Downloads/doug-depthjs-a5c3db2/doug-depthjs-a5c3db2/firebreath-plugin/Win/WiX/depthjspluginInstaller.wxs -> C:/Users/John/Downloads/doug-depthjs-a5c3db2/doug-depthjs-a5c3db2/firebreath-plugin/build/projects/depthjsplugin/depthjspluginInstaller.wxs
-- Configuring done
WARNING: Target "depthjsplugin" requests linking to directory "C:/Program Files/OpenNI/Lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "depthjsplugin" requests linking to directory "C:/Program Files/PrimeSense/NITE/Lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "depthjsplugin" requests linking to directory "C:/Program Files/OpenNI/Lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "depthjsplugin" requests linking to directory "C:/Program Files/PrimeSense/NITE/Lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "depthjsplugin" requests linking to directory "C:/Program Files/OpenNI/Lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "depthjsplugin" requests linking to directory "C:/Program Files/PrimeSense/NITE/Lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "depthjsplugin" requests linking to directory "C:/Program Files/OpenNI/Lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "depthjsplugin" requests linking to directory "C:/Program Files/PrimeSense/NITE/Lib64". Targets may link only to libraries. CMake is dropping the item.
-- Generating done
-- Build files have been written to: C:/Users/John/Downloads/doug-depthjs-a5c3db2/doug-depthjs-a5c3db2/firebreath-plugin/build

Then when I build it I get the following issue -

10> Creating library C:/Users/John/Downloads/doug-depthjs-a5c3db2/doug-depthjs-a5c3db2/firebreath-plugin/build/projects/depthjsplugin/Debug/npdepthjsplugin.lib and object C:/Users/John/Downloads/doug-depthjs-a5c3db2/doug-depthjs-a5c3db2/firebreath-plugin/build/projects/depthjsplugin/Debug/npdepthjsplugin.exp
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnContextRelease
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall XnVCircleDetector::SetMinRadius(float)" (_imp?SetMinRadius@XnVCircleDetector@@QAEIM@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __thiscall XnVCircleDetector::RegisterCircle(void _,void (_stdcall)(float,int,struct XnVCircle const _,void *))" (_imp?RegisterCircle@XnVCircleDetector@@QAEPAXPAXP6GXMHPBUXnVCircle@@0@Z@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVCircleDetector::OnPrimaryPointDestroy(unsigned int)" (_imp?OnPrimaryPointDestroy@XnVCircleDetector@@uaexi@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVCircleDetector::OnPrimaryPointUpdate(struct XnVHandPointContext const *)" (_imp?OnPrimaryPointUpdate@XnVCircleDetector@@UAEXPBUXnVHandPointContext@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVCircleDetector::OnPrimaryPointCreate(struct XnVHandPointContext const *,struct XnVector3D const &)" (_imp?OnPrimaryPointCreate@XnVCircleDetector@@UAEXPBUXnVHandPointContext@@ABUXnVector3D@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall XnVCircleDetector::~XnVCircleDetector(void)" (_imp??1XnVCircleDetector@@UAE@XZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall XnVCircleDetector::XnVCircleDetector(char const *)" (_imp??0XnVCircleDetector@@QAE@PBD@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall XnVMessageGenerator::AddListener(class XnVMessageListener *)" (_imp?AddListener@XnVMessageGenerator@@QAEIPAVXnVMessageListener@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnOSMalloc
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnForceShutdown
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall XnVSessionManager::SessionStop(void)" (_imp?SessionStop@XnVSessionManager@@MAEXXZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVSessionManager::ClearQueue(void)" (_imp?ClearQueue@XnVSessionManager@@UAEXXZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall XnVSessionManager::TrackPoint(struct XnVector3D const &)" (_imp?TrackPoint@XnVSessionManager@@UAEIABUXnVector3D@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall XnVSessionManager::ForceSession(struct XnVector3D const &)" (_imp?ForceSession@XnVSessionManager@@UAEIABUXnVector3D@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall XnVSessionManager::EndSession(void)" (_imp?EndSession@XnVSessionManager@@UAEIXZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall XnVSessionManager::LosePoints(void)" (_imp?LosePoints@XnVSessionManager@@UAEIXZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall XnVSessionManager::LosePoint(unsigned int)" (_imp?LosePoint@XnVSessionManager@@UAEII@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVSessionManager::Update(class XnVMessage *)" (_imp?Update@XnVSessionManager@@UAEXPAVXnVMessage@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVSessionManager::Update(class xn::Context const *)" (_imp?Update@XnVSessionManager@@UAEXPBVContext@xn@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall XnVSessionManager::Initialize(class xn::Context *,char const *,char const *,class xn::HandsGenerator *,class xn::GestureGenerator *,class xn::GestureGenerator *)" (_imp?Initialize@XnVSessionManager@@QAEIPAVContext@xn@@PBD1PAVHandsGenerator@3@PAVGestureGenerator@3@3@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall XnVSessionManager::~XnVSessionManager(void)" (_imp??1XnVSessionManager@@UAE@XZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall XnVSessionManager::XnVSessionManager(char const *)" (_imp??0XnVSessionManager@@QAE@PBD@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnEnumerationErrorsAllocate
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnOSFree
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __thiscall XnVPointControl::RegisterNoPoints(void *,void (_stdcall)(void _))" (_imp?RegisterNoPoints@XnVPointControl@@QAEPAXPAXP6GX0@Z@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::Update(class XnVMessage *)" (_imp?Update@XnVPointControl@@UAEXPAVXnVMessage@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::Update(class XnVMultipleHands const &)" (_imp?Update@XnVPointControl@@UAEXABVXnVMultipleHands@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall XnVPointControl::~XnVPointControl(void)" (_imp??1XnVPointControl@@UAE@XZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall XnVPointControl::XnVPointControl(char const *)" (_imp??0XnVPointControl@@QAE@PBD@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnRegisterToGestureIntermediateStageCompleted
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnUSBInit
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnProductionNodeRelease
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnInitFromXmlFileEx
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnConvertRealWorldToProjective
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnFindExistingRefNodeByType
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnEnumerationErrorsToString
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall XnVFlowRouter::OpenNewSession(void)" (_imp?OpenNewSession@XnVFlowRouter@@MAEXXZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall XnVFlowRouter::CloseOldSession(void)" (_imp?CloseOldSession@XnVFlowRouter@@MAEXXZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVFlowRouter::ClearQueue(void)" (_imp?ClearQueue@XnVFlowRouter@@UAEXXZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVFlowRouter::Update(class XnVMessage *)" (_imp?Update@XnVFlowRouter@@UAEXPAVXnVMessage@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall XnVFlowRouter::SetActive(class XnVMessageListener *)" (_imp?SetActive@XnVFlowRouter@@QAEIPAVXnVMessageListener@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall XnVFlowRouter::~XnVFlowRouter(void)" (_imp??1XnVFlowRouter@@UAE@XZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall XnVFlowRouter::XnVFlowRouter(char const *)" (_imp??0XnVFlowRouter@@QAE@PBD@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnContextAddRef
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall XnVSwipeDetector::SetMotionSpeedThreshold(float)" (_imp?SetMotionSpeedThreshold@XnVSwipeDetector@@QAEXM@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __thiscall XnVSwipeDetector::RegisterSwipeRight(void *,void (_stdcall)(float,float,void _))" (_imp?RegisterSwipeRight@XnVSwipeDetector@@QAEPAXPAXP6GXMM0@Z@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __thiscall XnVSwipeDetector::RegisterSwipeLeft(void *,void (_stdcall)(float,float,void _))" (_imp?RegisterSwipeLeft@XnVSwipeDetector@@QAEPAXPAXP6GXMM0@Z@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __thiscall XnVSwipeDetector::RegisterSwipeDown(void *,void (_stdcall)(float,float,void _))" (_imp?RegisterSwipeDown@XnVSwipeDetector@@QAEPAXPAXP6GXMM0@Z@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __thiscall XnVSwipeDetector::RegisterSwipeUp(void *,void (_stdcall)(float,float,void _))" (_imp?RegisterSwipeUp@XnVSwipeDetector@@QAEPAXPAXP6GXMM0@Z@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVSwipeDetector::OnPrimaryPointDestroy(unsigned int)" (_imp?OnPrimaryPointDestroy@XnVSwipeDetector@@uaexi@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVSwipeDetector::OnPrimaryPointReplace(unsigned int,struct XnVHandPointContext const *)" (_imp?OnPrimaryPointReplace@XnVSwipeDetector@@UAEXIPBUXnVHandPointContext@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVSwipeDetector::OnPrimaryPointUpdate(struct XnVHandPointContext const *)" (_imp?OnPrimaryPointUpdate@XnVSwipeDetector@@UAEXPBUXnVHandPointContext@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVSwipeDetector::OnPrimaryPointCreate(struct XnVHandPointContext const *,struct XnVector3D const &)" (_imp?OnPrimaryPointCreate@XnVSwipeDetector@@UAEXPBUXnVHandPointContext@@ABUXnVector3D@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall XnVSwipeDetector::~XnVSwipeDetector(void)" (_imp??1XnVSwipeDetector@@UAE@XZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall XnVSwipeDetector::XnVSwipeDetector(int,char const *)" (_imp??0XnVSwipeDetector@@QAE@HPBD@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnUSBCloseDevice
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnRegisterGestureCallbacks
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall XnVSessionGenerator::SessionMidGesture(char const *,struct XnVector3D const &,float)" (_imp?SessionMidGesture@XnVSessionGenerator@@MAEXPBDABUXnVector3D@@m@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall XnVSessionGenerator::SessionStart(struct XnVector3D const &)" (_imp?SessionStart@XnVSessionGenerator@@MAEXABUXnVector3D@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall XnVSessionGenerator::RegisterSession(void *,void (_stdcall)(struct XnVector3D const &,void _),void (_stdcall)(void _),void (_stdcall)(char const _,struct XnVector3D const &,float,void *))" (_imp?RegisterSession@XnVSessionGenerator@@QAEIPAXP6GXABUXnVector3D@@0@ZP6GX0@ZP6GXPBD1M0@Z@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnSetTrackingSmoothing
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnRegisterToGestureReadyForNextIntermediateStage
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnContextUnregisterFromShutdown
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnProductionNodeAddRef
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __thiscall XnVPushDetector::RegisterPush(void *,void (_stdcall)(float,float,void *))" (_imp?RegisterPush@XnVPushDetector@@QAEPAXPAXP6GXMM0@Z@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPushDetector::OnPrimaryPointUpdate(struct XnVHandPointContext const *)" (_imp?OnPrimaryPointUpdate@XnVPushDetector@@UAEXPBUXnVHandPointContext@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPushDetector::OnPrimaryPointCreate(struct XnVHandPointContext const *,struct XnVector3D const &)" (_imp?OnPrimaryPointCreate@XnVPushDetector@@UAEXPBUXnVHandPointContext@@ABUXnVector3D@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall XnVPushDetector::~XnVPushDetector(void)" (_imp??1XnVPushDetector@@UAE@XZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall XnVPushDetector::XnVPushDetector(char const *)" (_imp??0XnVPushDetector@@QAE@PBD@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnEnumerationErrorsFree
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVMessageListener::ClearQueue(void)" (_imp?ClearQueue@XnVMessageListener@@UAEXXZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVMessageListener::HandleCCMessages(class XnVMessage *)" (_imp?HandleCCMessages@XnVMessageListener@@UAEXPAVXnVMessage@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnContextRegisterForShutdown
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnGetRefContextFromNodeHandle
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnGetStatusString
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnWaitOneUpdateAll
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnUSBSendControl
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnStartGeneratingAll
10>openni_backend.obj : error LNK2001: unresolved external symbol __imp__xnUSBOpenDevice
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::OnNoPoints(void)" (_imp?OnNoPoints@XnVPointControl@@UAEXXZ)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::OnPrimaryPointDestroy(unsigned int)" (_imp?OnPrimaryPointDestroy@XnVPointControl@@uaexi@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::OnPrimaryPointReplace(unsigned int,struct XnVHandPointContext const *)" (_imp?OnPrimaryPointReplace@XnVPointControl@@UAEXIPBUXnVHandPointContext@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::OnPrimaryPointUpdate(struct XnVHandPointContext const *)" (_imp?OnPrimaryPointUpdate@XnVPointControl@@UAEXPBUXnVHandPointContext@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::OnPrimaryPointCreate(struct XnVHandPointContext const *,struct XnVector3D const &)" (_imp?OnPrimaryPointCreate@XnVPointControl@@UAEXPBUXnVHandPointContext@@ABUXnVector3D@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::OnPointDestroy(unsigned int)" (_imp?OnPointDestroy@XnVPointControl@@uaexi@Z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::OnPointUpdate(struct XnVHandPointContext const *)" (_imp?OnPointUpdate@XnVPointControl@@UAEXPBUXnVHandPointContext@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVPointControl::OnPointCreate(struct XnVHandPointContext const *)" (_imp?OnPointCreate@XnVPointControl@@UAEXPBUXnVHandPointContext@@@z)
10>openni_backend.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall XnVMessageListener::Activate(int)" (_imp?Activate@XnVMessageListener@@UAEXH@Z)
10>C:\Users\John\Downloads\doug-depthjs-a5c3db2\doug-depthjs-a5c3db2\firebreath-plugin\build\bin\depthjsplugin\Debug\npdepthjsplugin.dll : fatal error LNK1120: 89 unresolved externals

raw depth map

Hi, is there a way to get the full raw depth map (640x480) ?

and how can I get the rgb and filtered raw depth map from js?

thanks

plugin errors after openni backend thread

I built the plugin without a problem, loaded it up manually in chrome and tried to inspect the popup. This is what i'm getting:
error, and the popup just shows up as crashed plugin. Any clue? Thanks!

Linking reference erros Linux x86

Hi,

I am trying to compile the chrome extension for linux 32bits.

Every thing looks find but when the linker starts working throws a lot of reference problems:

Linking CXX shared library ../../bin/depthjsplugin/npdepthjsplugin.so
CMakeFiles/depthjsplugin.dir/openni_backend.cpp.o: En la función OpenNIBackend::setKinectAngle()': openni_backend.cpp:(.text+0x68d): referencia axnUSBInit' sin definir
openni_backend.cpp:(.text+0x6ae): referencia a xnGetStatusString' sin definir openni_backend.cpp:(.text+0x6fe): referencia axnGetStatusString' sin definir
openni_backend.cpp:(.text+0x7b7): referencia a xnUSBOpenDevice' sin definir openni_backend.cpp:(.text+0x7d8): referencia axnGetStatusString' sin definir
openni_backend.cpp:(.text+0x828): referencia a xnGetStatusString' sin definir openni_backend.cpp:(.text+0x906): referencia axnUSBSendControl' sin definir
openni_backend.cpp:(.text+0x927): referencia a xnGetStatusString' sin definir openni_backend.cpp:(.text+0x977): referencia axnGetStatusString' sin definir
openni_backend.cpp:(.text+0xa10): referencia a xnUSBCloseDevice' sin definir openni_backend.cpp:(.text+0xa31): referencia axnGetStatusString' sin definir
openni_backend.cpp:(.text+0xa81): referencia a xnGetStatusString' sin definir CMakeFiles/depthjsplugin.dir/openni_backend.cpp.o: En la funciónOpenNIBackend::init()':
openni_backend.cpp:(.text+0xced): referencia a getResourcesDirectory()' sin definir openni_backend.cpp:(.text+0xee1): referencia axnGetStatusString' sin definir
openni_backend.cpp:(.text+0xf31): referencia a xnGetStatusString' sin definir openni_backend.cpp:(.text+0x1003): referencia axnGetStatusString' sin definir
openni_backend.cpp:(.text+0x1053): referencia a `xnGetStatusString' sin definir

...

There is a missing library but I don't know if it is from the system, OpenNI or NITE.

Can you help me?

Thanks,

Iñigo

Compilation problem

hi i'm having one problem, you could say to me where i can make the download of the lib "zmq.h" and "zmq.hpp", Sorry for my English.

In file included from ocv_freenect.cpp:12:
zhelpers.hpp: In function ‘bool s_sendmore(zmq::socket_t&, const std::string&)’:
zhelpers.hpp:82: error: ‘ZMQ_SNDMORE’ was not declared in this scope
ocv_freenect.cpp: At global scope:
ocv_freenect.cpp:87: error: no matching function for call to ‘zmq::context_t::context_t(int)’
/usr/include/zmq.hpp:180: note: candidates are: zmq::context_t::context_t(const zmq::context_t&)
/usr/include/zmq.hpp:163: note: zmq::context_t::context_t(int, int, int)
ocv_freenect.cpp: In function ‘int main(int, char*)’:
ocv_freenect.cpp:405: warning: comparison between signed and unsigned integer expressions
ocv_freenect.cpp:411: warning: comparison between signed and unsigned integer expressions
ocv_freenect.cpp:470: warning: comparison between signed and unsigned integer expressions
make: *
* [ocv_freenect.o] Error 1

unhandled exception inside plugin DLL

I have OpenNI and NITE installed and working fine - the demos load fine.

I tried installing DepthJS as an unpacked Chrome extension and it looks like the chrome pieces are loading fine but I'm getting an "unhandled exception error" which I assume is from the DLL plugin crashing.

I'm using OpenNI 1.5.4 NITE 1.5.2 - would I have to rebuild the plugin DLL against these versions or is something else wrong?

I don't have a non-express version of Visual Studio so I'm also not clear on how to potentially debug the DLL further.

Thanks

chrome and safari installation

Hi people,
I'm trying to get this working on a snowLeopard machine, with safari and chrome. The chrome version seems to be installed properly but after 3 second the blob windows is get freeze. I'm trying now the safari version, I have installed the extension but I can't find how to launch it and still don't get what to do with webkit webplugin.
I know that you are working on many things but a little help on figurate how this work would be very appreciate.
cheers
husk

Simple jQuery-Plugin as API

Dear folks at the MIT,
it is really a great work you did until now!
Would be nice to see a fully working jQuery-Plugin to work with, as a DeptJS API, like it is now (more or less) in event_handlers.js and depthose.js:

[code]
$(window).bind('kinect_handopen', function(e){ ... code ... })
[/code]

and so on... if possible also for a support for the left and right hand or even fingers like:

[code]
$(window).bind('kinect_swiperight', function(e){ if(e.type === 'left') alert('left hand just swiped to the right side!'); })
[/code]

... this would be awesome to work with!

Is depthjs still maintained ?

I was trying to get this up and running but I found that most tutorials on setting up OpenNI are outdated and have broken links and installing it on my Ubuntu 13 so far has not been successful. Looks like you guys were working on a one click installer, any news with that ?
@doug , I was wondering if the repository is still maintained and would get support if I used it.

Trying to install

I am a developer and just trying to get this all installed.

I was able to run the backend / cv / extension with code from december, but couldn't actually get the demos to work. it seems like everything is talking to everything else, but not sure how to actually get started.

I can also run the current code, and load it as a chrome extension, it opens the first / second / blob windows, but when I click the extension icon in the toolbar, I get a webpage not found error.

I'd love to get started, and I'd even love to help out if it wouldn't take much to get you guys to the next place.

Compilation of webkit-plugin-mac on Lion / Xcode 4.2

Hi!

I am trying to build the webkit plugin on Lion and I am getting :

  1. Is it possible to compile the webkit plugin on OS X 10.7.2 (Lion) with Xcode 4.2?
  2. How can I get the versions of OpenNI and NITE, that are mentioned in the readme?
    Should the compilation it also work with newer builds of those?

Right now (Nov 25, 2011), I can only find:

  • nite-bin-macosx-v1.5.0.2.tar.bz2
  • openni-bin-dev-macosx-v1.4.0.2.tar.bz2

on OpenNI.org

First I ran into this in guesture_engine.cpp:

Taking the address of a temporary object of type 'CvMat' (aka 'CvMat') at 6 places:

312: classifier.train(&((CvMat)dataAfterPCA), &((CvMat)labelMat));
392: cvLogPolar(&((IplImage)blobEdge), &((IplImage)logPolar), Point2f(blb[0],blb[1]), 80.0);
652: classifier.find_nearest(&((CvMat)samplesAfterPCA), 1, &((CvMat)results));

then this:

ld: warning: ignoring file /Users/[...]/Desktop/3rdParty/nite-bin-macosx-v1.5.0.1/Bin/libXnVNite_1_4_1.so,
file was built for unsupported file format which is not the architecture being linked (i386), which is strange, since Nite is supposed to be 32/64 bit.

Working very well on Chrome, but I need some specific Safari hardware acceleration features.
Is it possible to obtain a pre-compiled webkit plugin?
I really would love this to work :-). Any ideas are very welcome!

Thanks lots!
Tobi.

installation docs

I want to get this going but need a little more info in the form of installation notes.

Also the notes on the coding for custom hand gestures woudl be useful.
I want to hook this up to a webgl 3d world and so the hand gestures woudl be very different.

Unable to build Chrome Extension in Snow Leopard (10.6.7)

I used homebrew to install the dependencies and modified the build-mac shell script slightly to use the 10.6 developer SDK's... now I can almost build... here is the log:

Assuming homebrew install of libusb and libfreenect
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

Undefined symbols for architecture i386:
"freenect_find_video_mode", referenced from:
Freenect::FreenectDevice::getVideoBufferSize() in ccnagzxR.o
Freenect::FreenectDevice::FreenectDevice(freenect_context, int)in ccnagzxR.o
DepthJSDevice::DepthJSDevice(freenect_context, int)in ccnagzxR.o
initFreenect() in ccQLBedv.o
rgb_cb(freenect_device, void
, unsigned int)in ccQLBedv.o
"_freenect_get_current_depth_mode", referenced from:
Freenect::FreenectDevice::getDepthBufferSize() in ccnagzxR.o
"_freenect_set_video_mode", referenced from:
Freenect::FreenectDevice::FreenectDevice(freenect_context, int)in ccnagzxR.o
initFreenect() in ccQLBedv.o
"freenect_find_depth_mode", referenced from:
Freenect::FreenectDevice::FreenectDevice(freenect_context, int)in ccnagzxR.o
DepthJSDevice::DepthJSDevice(freenect_context, int)in ccnagzxR.o
initFreenect() in ccQLBedv.o
depth_cb(freenect_device, void
, unsigned int)in ccQLBedv.o
"_freenect_set_depth_mode", referenced from:
Freenect::FreenectDevice::FreenectDevice(freenect_context, int)in ccnagzxR.o
initFreenect() in ccQLBedv.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

Little help?

Install

I have no programming experience at all but i really want to use this, is there any update on when will the simple install will be ready

Direct plug in on windows giving trouble

Hey,
Love the project and the video! Would like to use it. I am a newbie at building applications on windows or programming in general. I was hoping that the pre compiled extension pack would work. I went to chrome://extensions chose load unpacked extension and pointed it to the /chrome-extension folder.
This comes there and an orande D icon appears too. I don't know if it got installed properly or how to begin to use it.

image

When I click on background.html, this is the output. I don't think it has installed properly.

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".
background.html:1
background.html Starting DepthJS root.js:20
Initing background.html message handling message_routing.js:1
DepthJS Loading Chrome shit chrome.js:2
Starting DepthJS... init_plugin.js:4
Initing DepthJS background root.js:39
DepthJS: Initing Chrome background chrome.js:5
DepthJS: Initing port listener chrome.js:10
Connecting to Backend root.js:43
Uncaught TypeError: Object # has no method 'InitDepthJS' backend.js:142

Is it possible to do something about this? I just want to use a webpage and click around on it. I tried reading up on installing cmake and firebird but since I am new to this it is not very intuitive to me. If you could help me get this extension working that would be great.

Where is the dir CV

Hello,

I am French, so sorry for my spelling.
Here I try to set up depthjs but I can not find the famous CV file to "make" and lack of doc does not help me. can you tell me if there is a report with the file "new_cv" ...
The top one day you would faissiez a video that shows how to install it from A to Z on a machine virgin.

PS GLView ... everything is ok on my side. and I'm on this tutorial: http://info.abril.com.br/noticias/blogs/zonalivre/desenvolvimento/um-guia-para-hackear-o-kinect/ Thank you in advance.

How can I listen to the events?

Hi folks,

I have all the back-end working with both Chrome/Safari extension installed. The original demos in the extension are working but I want to write my own application. I don't know how to listen to the event from the back-end. Could anyone help me? Thank you.

Build issue MSB3073

I pulled the changes and now I'm getting this:
looks like I need to move the bat file somewhere?

Error   13  error MSB3073: The command "setlocal
cd C:\firebreath-1.6\projects\firebreath-plugin
if %errorlevel% neq 0 goto :cmEnd
C:
if %errorlevel% neq 0 goto :cmEnd
call copy_binary_win32.bat Debug
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets   113 6   depthjsplugin

"Hand not in view" and inline script error- chrome ex.

Hi,

I am having a problem getting the hand to show up in the basic demo file. Everything is connected and working but the hand status says "no hand in view", but when I open NITE I can see the motion just fine. When I inspect background.html I get this error:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".

I know that you can't have inline script but I don't know what/how to fix it.

thanks!

InitDepthJS function is missing in Safari Extension

Hi,
Signed the app and installed the safari extension. When I click "Inspect Global Page" in the Extensions Builder I am getting a TypeError on line 142 of backend.js:

var success = DepthJS.pluginObj.InitDepthJS();

Im not sure if there is an issue, but this line is coming from the // NPAPI PLUGIN BASED BACKEND -------- section of backend.js. Is this expected?

Errors while compiling cv module

On ubuntu 10.10, with the specified packages installed, I get errors when running 'make':

In file included from ocv_freenect.cpp:12:
zhelpers.hpp: In function ‘bool s_sendmore(zmq::socket_t&, const std::string&)’:
zhelpers.hpp:82: error: ‘ZMQ_SNDMORE’ was not declared in this scope
ocv_freenect.cpp: At global scope:
ocv_freenect.cpp:87: error: no matching function for call to ‘zmq::context_t::context_t(int)’

nothing happens

Dear all,

Please help me.
I have already finished every steps for the setting up.

but no thing happens on chrome. and the red light on kinect is not on too....

here is the js console log:
"
DepthJS: Loading Root root.js:19
DepthJS: Loading Depthose depthose.js:3
DepthJS: loading zflow zflow.js:11
DepthJS: Loading Panner panner.js:3
DepthJS: Loading SelectorBox selector_box.js:3
DepthJS: Loading event handlers event_handlers.js:28
DepthJS: Loading Event Link event_link.js:3
DepthJS Loading Chrome shit chrome.js:2
["Initing DepthJS", Object]
init.js:5
Initing selector box selector_box.js:8
DepthJS: Event link init event_link.js:6
Initting Depthose depthose.js:8
Finished initing, sticking in logo init.js:11
[img#popup_closebtn, img, img, img, img, img, img, img, img.pop, img, img, img, img, img, img, img, img, img, img, img, img, img, img, selector: "img", context: document, init: function, selector: "", jquery: "1.4.4"…]
init.js:19
I think I reloaded, redoing init. init.js:28
DepthJS: Unimplemented for chrome: readdContentScriptListeners chrome.js:230
I think I reloaded, redoing init. init.js:28
DepthJS: Unimplemented for chrome: readdContentScriptListeners chrome.js:230
I think I reloaded, redoing init. init.js:28
DepthJS: Unimplemented for chrome: readdContentScriptListeners
"

can anyone tell me what is wrong with it?

Thx!!!!

Nothing Works

Installed OpenNI, NITE, CMake, Firesheath and everything I can think of. Not sure what to do next. Probably going to give up and go to Windows now at this point and use the Microsoft SDK.
Screen Shot 2013-01-17 at 4 51 11 PM

On Mountain Lion 10.8.

blobs not showing up in any page.

i have installed the plugin on chorme (22.0) on mac(10.7.4). The kinect works find on the OpenNI samples, and when i got to the test page http://steventking.com/gesture_interface_site/BasicDemo.html it shows both kinect and plugin are in place. but no hand in view.

The blob is not showing up on any page. when i check the background.html it gives me this error:


Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".

Depthjs seems to be running,


depthjspluginAPI: start DepthJS backend.js:142
depthjsplugin::RunDepthJS backend.js:142
depthjsplugin::RunDepthJS - thread running? backend.js:142
Successfully acquired Kinect event monitor from plugin! backend.js:145
Init complete root.js:48
OpenNIBackend: start openni backend thread undefined:1
event port connected chrome.js:14

But i keep getting this assertion failed error, which is kinda beyond my understanding.


Assertion failed: chrome.js:13
(anonymous function) chrome.js:13
chrome.Event.dispatchToListener event_bindings:379
chrome.Event.dispatch_ event_bindings:365
chrome.Event.dispatch event_bindings:385
chromeHidden.Port.dispatchOnConnect

I have the feeling that the kinect is working as the red light is on (just like it does when i run those openNI samples) but as the blobs not showing up i cannot trace my hand or do anything. Anyone has similar issue here?

Run depthjs in ubuntu chrome

Hi,
I m trying to run depthjs for chrome in ubuntu 11.10. but is not able to make it function.
i compiled the files in npapi_plugin and when i m loading the manifest.json from the chrome browser to run the extension.. it get installed but it is not functional... it doesn't detect the kinect or show any blobs n all.

Can any one please tell me the exact procedure to be followed to make it run in chrome in ubuntu oneiric.

Thanks in advance

problems on ubuntu10.04

I build the chrome extension under chrome-extention-mac on ubuntu,
but when running in chromium-browser, i just find the plugin is not stable and sometimes can not start properly.
have you tested the extension on linux?

btw, i tried to build the npapi plugin on mac with build-mac.sh, but failed...

Doesn't work anything

I tried with MacOS, Linux and Windows and nothing... at least provide some guidelines. e.g. for Mac, do this, for Linux do this, for Windows do this. Nothing works, nothing compiles :(

Compilation problem

Hi,

When I try to compile CV, I got this error :

ocv_freenect.cpp: In function ‘void doHist(cv::Mat&, cv::Mat&)’:
ocv_freenect.cpp:231: error: no match for ‘operator-’ in ‘depthf - minVal’

I think it may come from my OpenCV version, which version are you using to compile? Thanks

Windows 7 64 Bit Support

Hello,

I am trying to get the depthjs plugin to work with Windows 7 64 bit and have installed all the OpenNI modules, but I get:

-- Could NOT find OpenNI (missing: OpenNI_LIBRARY)
-- Can't find OpenNI!

I have no problem with NITE, but I cannot get OpenNI to work. Does depthjs work on 64 bit Windows 7?

Can't Compile Source

Hey guys,

I'm trying to create a webapp for creating sounds using Kinect. I've spent the last two days trying to compile the source with firebreath. It compiles nicely until

Linking CXX shared library ../../bin/depthjsplugin/npdepthjsplugin.so

Then I get a big list with undefined references

I would be very thankfull if somebody can help me.
Thanks

Safari build fails in Xcode Version 4.3.2

The build fails, this is the first error:

openni_backend.cpp
Lexical or Preprocessor Issue
'XnOpenNi.h' file not found

I cannot find XnOpenNi.h anywhere on my system. I have the prerequisites installed and the OpenNI samples work, so I know the Kinect driver works.

Also, will it be possible to provide this as a pre-compiled Safari/Chrome extension? Xcode is a nightmare for those of us that don't use it regularly. If I can't figure out how to compile this, I can't imagine how end-users will ever be able to.

Chrome Extension: Object #<HTMLEmbedElement> has no method 'InitDepthJS'

I have the Chrome extension installed on Chrome version 25.0.1364.36 (OS X 10.8.3). OpenNI, SensorKinect and NiTE are installed and NiTE demos are working. The Firebreath plugin was built without errors.

I've set up the simple DepthJS demo page and it says "Hand not in view" but none of the blobs open up. Error console for that page:

  • DepthJS: Loading Root
  • DepthJS: Loading Depthose
  • DepthJS: loading zflow
  • DepthJS: Loading Panner
  • DepthJS: Loading SelectorBox
  • DepthJS: Loading event handlers
  • DepthJS: Loading Event Link
  • DepthJS Loading Chrome shit
  • ["Initing DepthJS", Object]
  • Initing selector box
  • DepthJS: Event link init
  • DepthJS: Registering eventPort on DepthJS supported web page
  • Initting Depthose
  • Finished initing, sticking in logo
  • [img, selector: "img", context: document, init: function, selector: "", jquery: "1.4.4"…]
  • ------Tue Apr 16 2013 19:02:42 GMT+0300 (EEST)
  • [" 1 KinectInit; last = ", "DepthJS: event KinectInit"]

Digging deeper, here's the error console for background.html:

  • background.html Starting DepthJS
  • Initing background.html message handling
  • DepthJS Loading Chrome shit
  • Starting DepthJS...
  • Initing DepthJS background
  • DepthJS: Initing Chrome background
  • DepthJS: Initing port listener
  • Connecting to Backend
  • Uncaught TypeError: Object # has no method 'InitDepthJS'
  • event port connected
  • thumbnails port connected
  • event port disconnected on tab 11
  • thumbnails port disconnected on tab 11
  • for all ports on this tab
  • event port connected
  • thumbnails port connected

There was also an error about Content Security Policy directive: "script-src 'self' chrome-extension-resource:" but I got around that by removing jQuery script tag from background.html. JQuery is included on the DepthJS demo site that I'm trying to use so removing it from the extension didn't have any noticeable effect.

I'm not sure what the problem is here. There was an issue here in Github two years ago about the same problem on Safari, but it's closed as it was apparently fixed by a software update.

Does the API recognize events on multiple DOM elements

Hi, i am wondering how the API works.

I would like to have in the webpage multiple elements which respond individually to the gesture recognition.

Is that possible with the current version, or on the other hand, the API fires the specific events globally.

Thanks and congratulations for the job.

Not Working with Asus Xtion

I tried using your pre-built plug-in in chrome/mac and even compiled it myself and am unable to connect to the camera. I'm running the latest unstable builds from OpenNI

OpenNI Unstable Build for MacOSX 10.7 Universal x86/x64 (32/64-bit) v1.5.4.0
PrimeSense NITE Unstable Build for MacOSX 10.7 Universal x86/x64 (32/64-bit) v1.5.2.21
PrimeSensor Module Unstable Build for MacOSX 10.7 Universal x86/x64 (32/64-bit) v5.1.2.1

Questions: Does this project support the Asus Xtion? If so, what is the best way to debug the issue?

Thanks!

How do I use it?....

So, I've installed all of the drivers for Kinect from OpenKinect (I needed those, right?), and I have the DepthJS extension installed. However, whenever I try to use the DepthJS software, it won't recognize that my Kinect is plugged in. The extension works fine, but the options to "Connect to Kinect" are grayed out. Help?

Chrome extension manifest version warning

I have installed the chrome extension on Windows 7. However I cannot get it to work. After adding the extension to chrome it shows this warning (I am translating it from italian, therefore it might be a bit different than original english one): We are phasing out support for version 1 of the manifest file. Please upgrade to version 2.

The extension gets added and I can see the icon on the top right of my browser, but it does not do anything. Also when I click on the icon it gives me this error: Error 6 (net::ERR_FILE_NOT_FOUND): Impossible to find file or directory.

Any suggestions? Did I do something wrong for installing?

Chrome Extension Crashes Chome

I really hope this works - we hope to use it for our magazine launch early September. It would be awesome if it did.

So, I have installed OpenNI and NITE, and have successfully built the Chrome Extension in Firebreath, compiled it in Visual Studio, and upload it to the Chrome Extension - or at least there have not been any red flags (I worked through a number of them).

But once installed in Chrome, unfortunately, it's doesn't do anything, except crash the app. The error comes from the .dll file, according to the Chrome error log. Any ideas? I saw that some folks had to remove pieces from the Visual Studio build.

I'm using a Windows Vista 32-bit (unfortunately).

Demo html/js not working

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?

Install. Got stuck with PKG_CONFIG_PATH

Hello,

I tried to install everything for chrome and tried build-mac.sh and all I get is the following error:

Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found

I tried to reconfigure PKG_CONFIG_PATH by doing this:

export PKG_CONFIG_PATH = .....

But it doesn't work.

I'm no expert with this so I'm doing something wrong. Maybe you could give me a hint on how to solve this?

Thanks in advance

import zmq error

Hey all.

I'm having some problems with trying to get zeromq to work with the python backend. when i run python, i get:

Traceback (most recent call last):
  File "Backend.py", line 1, in [module]
     import zmq
ImportError: No module named zmq

I think i'm having some library linking problems or something. Do you have any idea how I can get my zeromq libraries set up correctly? i installed it according to http://www.zeromq.org/intro:get-the-software
and ran ldconfig.

Failed to build plugin on OSX

I'm getting a build error in the post build steps when trying to compile the plugin for chrome.

=== BUILD NATIVE TARGET depthjsplugin OF PROJECT FireBreath WITH THE DEFAULT CONFIGURATION (Debug) ===
Check dependencies

PhaseScriptExecution "CMake PostBuild Rules" /Users/nickhs/sandpit/depthjs/firebreath-plugin/build/projects/depthjsplugin/FireBreath.build/Debug/depthjsplugin.build/Script-39CD5B19FF39447FA38D1A24.sh
    cd /Users/nickhs/Downloads/firebreath-FireBreath-b73d799
    /bin/sh -c /Users/nickhs/sandpit/depthjs/firebreath-plugin/build/projects/depthjsplugin/FireBreath.build/Debug/depthjsplugin.build/Script-39CD5B19FF39447FA38D1A24.sh
cd /Users/nickhs/sandpit/depthjs/firebreath-plugin && /Users/nickhs/sandpit/depthjs/firebreath-plugin/simple_templater ../chrome-extension/manifest.json.MACOSX !!PRODUCT_NAME!! DepthJSPlugin ../chrome-extension/manifest.json
found token in line.
cd /Users/nickhs/sandpit/depthjs/firebreath-plugin && cp -R /Users/nickhs/sandpit/depthjs/firebreath-plugin/build/projects/depthjsplugin/Debug/DepthJSPlugin.plugin ../chrome-extension/plugin/
cp: /Users/nickhs/sandpit/depthjs/firebreath-plugin/build/projects/depthjsplugin/Debug/DepthJSPlugin.plugin: No such file or directory
make: *** [depthjsplugin_buildpart_0] Error 1


** BUILD FAILED **


The following build commands failed:
    PhaseScriptExecution "CMake PostBuild Rules" 

Note that the directory actually looks like this:

projects/depthjsplugin/Debug
└── npdepthjsplugin.plugin
    └── Contents
        ├── Info.plist
        ├── MacOS
        │   └── npdepthjsplugin
        └── Resources
            ├── English.lproj
            │   ├── InfoPlist.strings
            │   └── Localized.rsrc
            └── Sample-Tracking.xml

5 directories, 5 files

It would appear that its attempting to copy across DepthJSPlugin.plugin when the plugin has been named npdepthjsplugin.plugin by make? Any ideas?

Depthjs extension in not working in every page

I've build and installed the depthjs extension.

In some pages the plugin starts automatically and starting tracking my hand. But in some pages it dosen't. What i have to do to get it working in a specific page?

Running the Basic Demo on Chrome

The code that registers the event port on a DephJS supported page seems to be missing on the Chrome plugin. I managed to make it work by copying the body of the function "DepthJS.eventLink.initPort = function()" from the extension common files (extension-common/content_script/event_link.js) to the Chrome version (chrome-extension-mac/event_link.js).

Building Code

Hi, I am trying to build the code to test the example, After 3 days of work, I have almost everything working.

I think libfreenect has change a bit, not I am using the last version and the source code that you have for ocv_freenect.cpp is not building anymore.

ocv_freenect.cpp: In function ‘void depth_cb(freenect_device_, void_, uint32_t)’:
ocv_freenect.cpp:56: error: ‘FREENECT_DEPTH_SIZE’ was not declared in this scope
ocv_freenect.cpp: At global scope:
ocv_freenect.cpp:63: error: ‘freenect_pixel’ has not been declared
ocv_freenect.cpp: In function ‘void rgb_cb(freenect_device_, int_, uint32_t)’:
ocv_freenect.cpp:68: error: ‘FREENECT_RGB_SIZE’ was not declared in this scope
ocv_freenect.cpp: In function ‘int initFreenect()’:
ocv_freenect.cpp:125: error: ‘freenect_set_rgb_callback’ was not declared in this scope
ocv_freenect.cpp:126: error: ‘FREENECT_FORMAT_RGB’ was not declared in this scope
ocv_freenect.cpp:126: error: ‘freenect_set_rgb_format’ was not declared in this scope
ocv_freenect.cpp:127: error: ‘FREENECT_FORMAT_11_BIT’ was not declared in this scope
ocv_freenect.cpp:130: error: ‘freenect_start_rgb’ was not declared in this scope
ocv_freenect.cpp: In function ‘int main(int, char*)’:
ocv_freenect.cpp:321: error: ‘freenect_set_rgb_callback’ was not declared in this scope
ocv_freenect.cpp:322: error: ‘FREENECT_FORMAT_RGB’ was not declared in this scope
ocv_freenect.cpp:322: error: ‘freenect_set_rgb_format’ was not declared in this scope
ocv_freenect.cpp:323: error: ‘FREENECT_FORMAT_11_BIT’ was not declared in this scope
ocv_freenect.cpp:326: error: ‘freenect_start_rgb’ was not declared in this scope
ocv_freenect.cpp:401: warning: comparison between signed and unsigned integer expressions
ocv_freenect.cpp:407: warning: comparison between signed and unsigned integer expressions
ocv_freenect.cpp:466: warning: comparison between signed and unsigned integer expressions
make: *
* [ocv_freenect.o] Error 1

Can anyone help me out? or at least point me to the right libfreenect distribution/version.

Thanks,

Wilmar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.