Openkinect

Advanced game related topics
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Openkinect

Post by langinagel »

Howdy,

has anyone checked Openkinect (openkinect.org) so far?
Are there already experiences?
Is it already worth considering for game development?

Greetings from Munich
Thorsten
https://www.doerpsoft.org

Boost. Work. Efficiency.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Openkinect

Post by IdeasVacuum »

...Did not even know OpenKinect even existed. Looks to have huge potential, not just for games, the Kinect device is a brilliant bit of kit. I heard that Microsoft will be adding support for Kinect in Windows 8. Would be very interesting to see an OpenKinect wrapper defined for PB.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
dige
Addict
Addict
Posts: 1420
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Openkinect

Post by dige »

Yes, its great and works very well. It's pretty damn cool to control Windows
via gestures. :D

Connecting the kinect sensor to the PC is now very easy. Just
install OpenNI, NITE and SensorKinect and it rocks!

Lot of nice kinecthacks you can find here: http://kinecthacks.net/

Currently I still use KinEmote ( http://www.kinemote.net ) to control
the Sensor, because there is no wrapper for VB or PB..
"Daddy, I'll run faster, then it is not so far..."
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Openkinect

Post by IdeasVacuum »

I think Kinect is going to be of tremendous use in practically all fields of software.

There is a Beta SDK available:

http://www.microsoft.com/Presspass/pres ... SDKPR.mspx

So all we need now is a wrapper for PB.........
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
IceSoft
Addict
Addict
Posts: 1699
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Openkinect

Post by IceSoft »

IdeasVacuum wrote: So all we need now is a wrapper for PB.........
Not easy:

Code: Select all

System requirements

Hardware
Kinect for Xbox 360 sensor
Computer with a dual-core, 2.66-GHz or faster processor
Windows 7–compatible graphics card that supports DirectX® 9.0c capabilities
2-GB RAM (4-GB RAM recommended)

Software
Windows 7 (x86 or x64)
Visual Studio 2010 Express (or other 2010 edition)
Microsoft .NET Framework 4.0
For additional requirements for samples, see the Readme file
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
dige
Addict
Addict
Posts: 1420
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Openkinect

Post by dige »

I use the CodeLaboraties SDK for now. -> http://codelaboratories.com/nui/
Its very easy to use, if you only need the rgb and depth image.
"Daddy, I'll run faster, then it is not so far..."
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: Openkinect

Post by jesperbrannmark »

I received a XTION PRO last week.

Actually - stop spending any time with Kinect - XTION is ASUS answer to kinect and it has basicly the same hardware

Not only has it better update frequency - it also can be used in commercial development (kinect development you will always be a slave under Mr. Gates).
There are stuff you can download, google OpenNI and FAAST - they are compatible with both kinect and xtion pro.

If someone gets a wrapper in PB let me know, I've been thinking of doing a UDP stream to localhost with the data i need (body angles, i dont need hand position etc) and let PB be the server...
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Openkinect

Post by IdeasVacuum »

....not convinced of XTION PRO's chances in the market place. There is a history of the best gadgets/apps failing for one reason or another. In this case, Microsoft have a big lead in the race...........
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
dige
Addict
Addict
Posts: 1420
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Openkinect

Post by dige »

Hi, there already some news? I still use the (now somewhat elderly CLNUI driver). Unfortunately, theres no gesture recognition. I think about to write my own...
"Daddy, I'll run faster, then it is not so far..."
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: Openkinect

Post by jesperbrannmark »

I did exactly what I said I was gonna do: Use .net code that sits by itself and sends angles as UDP to localhost and let Purebasic pick it up (with Xtion pro, not Kinect). BUT there are some issues to be worked on. Look at this image
Image

to me, my left shoulder (to the right in the image) is much higher and the angle should be the opposite - well it turns out they dont give a flying crap so that have to be solved manually anyway (detecting pixels, decreasing Y, until we hit grey)
dige
Addict
Addict
Posts: 1420
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Openkinect

Post by dige »

Wow! That's more than I dare to dream. Do you think about to share your solution?
"Daddy, I'll run faster, then it is not so far..."
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Openkinect

Post by IdeasVacuum »

The latest Microsoft SDK: http://www.microsoft.com/download/en/de ... n&id=27876
to me, my left shoulder (to the right in the image) is much higher and the angle should be the opposite
That is a really minor issue. I think you should be worrying about being florescent green - maybe you live too near to a Nuclear Plant..... :shock:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: Openkinect

Post by jesperbrannmark »

Just to follow up on this. The new version (it might not be so new by now) has support for Kinect. I posted a topic on OSC which is the communications protocol that could be used to pick up stuff in PB from Kinect and other devices with Glovepie as a middleware
Glovepie http://glovepie.org/
My post http://www.purebasic.fr/english/viewtop ... 13&t=49178
Post Reply