Hi :)
As I promissed I am sharing the source code with you.
You can find the source code and write your issues in http://fingertip.codeplex.com/
Regards,
Vahag
As I promissed I am sharing the source code with you.
You can find the source code and write your issues in http://fingertip.codeplex.com/
Regards,
Vahag
Thanks for sharing your source code. But I have a few questions. Your source code doesn't work with OpenNI1.3.3.6 version. I replaced xn with "OpenNI" and xnv with "NITE" to compile it but it still has some errors. Could you upgrade your code? Which versions of OpenNI and NITE did you use on this project?
ReplyDeleteSorry my poor english
Hello, say truly I am not very sure about the version of OpenNI, which I used in this project, because I published it months ago.
ReplyDeleteI have done some changes in the code and upgraded OpenNI. Project is working normal.If you need it, I can publish it soon with the last version of OpenNI ))
Vahag
Thank you very much. It will help me a lot.
ReplyDeleteI just started kinect programming and there are many things which I don't know. Your work inspired me. Keep going man :)
Hello gd_bilgee.
ReplyDeleteI have installed the lasted stable version of OpenNI. It seems that there are some other problems.
Can you please try to run the sample Boxes.Net, which you can find in the samples folder of Nite.
Default location is "C:\Program Files\PrimeSense\NITE\Samples\Boxes.net".
Vahagn
I tried to run the sample Boxes.net but I got the following error
ReplyDeleteError 3 Assembly 'XnVNITE.net, Version=1.4.2.4, Culture=neutral,
PublicKeyToken=399870656fc6c787' uses 'OpenNI.Net, Version=1.3.4.3,
Culture=neutral, PublicKeyToken=6b43d0c6cf74ee7f' which has a higher
version than referenced assembly 'OpenNI.Net, Version=1.3.3.6, etc
It seems that NITE 1.4.2.4 needs unstable OpenNI 1.3.4.3 or higher edition.
Yes, you are right. So you`ll not be able to run any .NET solution using this stable releases.
ReplyDeleteI have tried to install stable NITE with unstable OpenNI, but Kinect driver stopped to be recognized by OpenNI.
Anyway, I noticed, that in the new version of OpenNI some methods has been changed to Properties and some Delegates has been changed. So, you can just change them, and after, Fingertip detection must start to work fine. (surely with working version of OpenNI and NITE).
This week I`ll try to work on this. If I`ll have any solutions, then will post them here )))
Vahagn
Thanks a lot man. I will try to change the properties and delegates.
ReplyDeletehi sir,,
ReplyDeletei try the program and same error Xnv not be found,,
can you help me,,
thanks before
Hi Ryan,
ReplyDeleteAfter we published this program, OpenNI changed a lot it`s API, so it is very normal that you are getting errors when compiling the code. If you`ll provide some details about your installation (OpenNI version, what sensor do you use) I`ll try to help you as mach as I can.
thanks sir,,,
ReplyDeletei use
nite-win32-1.5.2.21-dev
openni-win32-1.5.4.0-dev
sensor-win32-5.1.2.1-redist
do i need to change this installer sir??
What type of sensor do you use (Kinect, Xtion Pro, Primsense)?
DeleteAlso, have you tried to run .NET samples provided in OpenNI installation directory?
Deletei use primesense sensor sir,,
ReplyDeleteyes it work,,
OK, I think I know where is the issue. Did you downloaded source codes and just build them? If yes, download the executable version and copy all the files from it to debug and release directories of your project. There you will find XnVNITE.net.dll file too. Let me know if this solved your problem?
Deleteyes i download source codes and just build them sir,
Deletei donn't understand about purpose of download the executable version.
do I need to download the latest version primsense sir???
The latest version of PriemSense does not have yet .NET support. Also API there differs a lot from OpenNI v1. Executable version of fingertip recognizer contains the libraries, which you need to run your project (EmguCV and some OpenNI files). Have a look inside it http://fingertip.codeplex.com/downloads/get/246982
DeleteI've been copying all the files in Executableon to debug in my dproject on debug,
Deletefor XNV has been read but xn Unread sir??
so that DepthMetaData and Point3D is unread too,
hai sir after I tried the dll from execuitable directory, finally Xnv and Xn can be read,
Deletebut I found a new error:
Unable to load DLL 'XnVCNite': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
in program
SessionManager = new xnv.SessionManager (senssorContext, "Wave", "RaiseHand");
please helpme sir,,
Hi Ryan,
DeleteXnVNITE.net.dll can be found in http://fingertip.codeplex.com/downloads/get/246982 too.
Please, copy that file to the realise and debug directories of your project. AFIK you can even add it as a reference DLL to your project.
I've been copying all the files from the executable version of the fingertip to the debug folder but in my project folder not have release folder,
Deleteso i can not copying the files in the folder release,,
what should i do sir??
If you don`t have release folder it`s ok. Did you add file XnVNITE.net.dll as a reference to your project? (Right click on your project then "Add Reference..." and choose that file)
DeleteI've tried it sir,
DeleteI also add reference in visual studio but the error is still the same,
the error is
Unable to load DLL 'XnVCNite': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
in program
SessionManager = new xnv.SessionManager (senssorContext, "Wave", "RaiseHand");
Can you give me your email so I can send the picture error sir,,,
Ryan, mail me to nahapetyanvahagn@gmail.com
Delete1 was send you message sir,,
ReplyDeleteplease check it,