XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 19, 2013, 12:06:55 AM


Login with username, password and session length


Pages: 1 2 »
  Print  
Author Topic: Hacking the Kinect  (Read 37357 times)
SiliconIce
Administrator
Master Hacker
*****
Posts: 226



View Profile WWW
« on: November 06, 2010, 01:33:43 AM »

A $2000 bounty: http://www.adafruit.com/blog/2010/11/04/the-open-kinect-project-the-ok-prize-get-1000-bounty-for-kinect-for-xbox-360-open-source-drivers/

Microsoft is displeased:

http://news.cnet.com/8301-13772_3-20021836-52.html


Quote
But Microsoft isn't taking kindly to the bounty offer. "Microsoft does not condone the modification of its products," a company spokesperson told CNET. "With Kinect, Microsoft built in numerous hardware and software safeguards designed to reduce the chances of product tampering. Microsoft will continue to make advances in these types of safeguards and work closely with law enforcement and product safety groups to keep Kinect tamper-resistant."


ifixit has a teardown with pics posted: http://www.ifixit.com/Teardown/Microsoft-Kinect-Teardown/4066/1

I think I may add a board for Kinect to the Tech forums.

SiliconIce
Logged

-- SiliconIce
SiliconIce
Administrator
Master Hacker
*****
Posts: 226



View Profile WWW
« Reply #1 on: November 06, 2010, 01:39:55 AM »

Someone working on it here:

https://github.com/qdot/libkinect

« Last Edit: November 06, 2010, 02:15:35 AM by SiliconIce » Logged

-- SiliconIce
inspuration
Master Hacker
****
Posts: 184


View Profile
« Reply #2 on: November 06, 2010, 02:09:43 AM »

There is probably some sort of crypto handshake between the 360 and kinect over usb.
Logged
SiliconIce
Administrator
Master Hacker
*****
Posts: 226



View Profile WWW
« Reply #3 on: November 06, 2010, 02:13:30 AM »

Big picture, how it works: http://www.wired.com/gadgetlab/2010/11/tonights-release-xbox-kinect-how-does-it-work/
« Last Edit: November 06, 2010, 02:15:19 AM by SiliconIce » Logged

-- SiliconIce
SiliconIce
Administrator
Master Hacker
*****
Posts: 226



View Profile WWW
« Reply #4 on: November 06, 2010, 02:14:55 AM »

There is probably some sort of crypto handshake between the 360 and kinect over usb.

That sounds like some good speculation; someone will confirm or disprove that shortly I have a feeling.
Logged

-- SiliconIce
danthaman
Hacker
***
Posts: 89


View Profile WWW
« Reply #5 on: November 06, 2010, 10:36:17 AM »

Couldn't be too much crypto(past a handshake) surely as that would contribute to lag. Apparently it's Isochronous using it's own protocol, I bet one packet audio,one packet kinect data (Maybe)
If it's using 360 unmodified USB IO then it couldn't be too wild. In the past they've managed to keep others from manufacturing normal 360 controllers with the M$ HID-ID (AFAIK) Why would they bother (going big-time crypto) when they can probably chase-down 'breaches' (eg; knock-offs) in court.
« Last Edit: November 06, 2010, 10:38:44 AM by danthaman » Logged

AustralianGameMods - We do all mods and repairs
         www.AustralianGameMods.webs.com
yifanlu
Hacker
***
Posts: 93


View Profile
« Reply #6 on: November 06, 2010, 01:54:26 PM »

Is the code for the 360 to interface with the kinect in the kernel, or is it in some random .xex library stored on the HDD/flash?
Logged
inspuration
Master Hacker
****
Posts: 184


View Profile
« Reply #7 on: November 06, 2010, 03:12:57 PM »

Kinect xex's import the files NuiApi.h and NuiApi.lib. I havn't debugged a kinect xex yet, but that would probably yield the information you are looking for.
Logged
52aces
Master Hacker
****
Posts: 147


View Profile
« Reply #8 on: November 06, 2010, 04:23:23 PM »

Does the kinect itself do any converting or processing of the data?
Or does it just spit out the raw data?
as in depth and color.

Does it for example follow the person itself? or does it send data to the xbox which then commands the kinect to move?

Logged

Dream. Mod. Create.
SiliconIce
Administrator
Master Hacker
*****
Posts: 226



View Profile WWW
« Reply #9 on: November 06, 2010, 05:04:49 PM »

Kinect xex's import the files NuiApi.h and NuiApi.lib. I havn't debugged a kinect xex yet, but that would probably yield the information you are looking for.

Any idea what the API provides?
Logged

-- SiliconIce
scopen4
Member
**
Posts: 31


View Profile
« Reply #10 on: November 06, 2010, 09:19:55 PM »

Looks like this guy is actively working on it:

http://twitter.com/joshblake
« Last Edit: November 06, 2010, 09:23:41 PM by scopen4 » Logged
CLK Rebellion
Newbie
*
Posts: 4


View Profile
« Reply #11 on: November 07, 2010, 08:29:40 PM »

http://www.engadget.com/2010/11/07/kinect-does-hackers-bidding-but-not-for-fortune-or-fame-video/
Logged
scopen4
Member
**
Posts: 31


View Profile
« Reply #12 on: November 08, 2010, 10:23:41 AM »

Color/Depth sensors working under Windows 7 : http://www.youtube.com/watch?v=18vSblw5SNk&feature=player_embedded
Logged
jowadmax
Hacker
***
Posts: 67


View Profile
« Reply #13 on: November 08, 2010, 03:27:44 PM »

Color/Depth sensors working under Windows 7 : http://www.youtube.com/watch?v=18vSblw5SNk&feature=player_embedded

this video looks fake because the camera man is moving towards kinect while kinect sees standing man that is not moving.
Logged
scopen4
Member
**
Posts: 31


View Profile
« Reply #14 on: November 08, 2010, 04:01:49 PM »

Color/Depth sensors working under Windows 7 : http://www.youtube.com/watch?v=18vSblw5SNk&feature=player_embedded

this video looks fake because the camera man is moving towards kinect while kinect sees standing man that is not moving.

The same guy in the video is also the guy who created the driver for the PS3 Eye-Toy. Source Below.

Source: http://nuigroup.com/forums/viewthread/11154/
« Last Edit: November 08, 2010, 05:55:17 PM by scopen4 » Logged
scopen4
Member
**
Posts: 31


View Profile
« Reply #15 on: November 09, 2010, 11:47:51 AM »

Update:

Color and 3D Depth sensing

http://www.youtube.com/watch?v=EPUkueinGK4&feature=player_embedded

Quote
After a great response from the community we have started a fund to open source our research related to the Microsoft’s new Xbox Kinect device. You can learn more on the project overview page or join the discussion. We started a $10,000 fund to complete driver specifications and software for the Xbox Kinect Audio, Color/Depth Cameras and Motor/Accelerometer.

We want to help the community and accelerate Kinect support on Linux/Mac/Windows as well as provide clear documentation. We see huge potential of the Kinect’s influence on robotics and computer vision and upon completion we will release our code with an open source license (Considering BSD/LGPL/MIT). We hope the fund completes quickly and if not we still have plans on releasing a Free Windows Driver and SDK just like we have done in the past with the PS3 Eye devices.

According to this Adafruit blog article there is already $3000 available and we will work with them and see if we can make something happen. We are not looking to make money but believe a properly funded project will bring us great results and help us all faster access the full capabilities of the sensors as well as foster future developments such as 3D mapping/tracking.

Stay tuned to our project page for updates...

Help fund this project by donating...
View the latest progress...

-AlexP
Logged
neonpolaris
Xbox Hacker
*****
Posts: 1051


View Profile
« Reply #16 on: November 09, 2010, 12:43:07 PM »

This seems to be progressing pretty rapidly.

I have one question, though.  What purpose would an accelerometer have in the Kinect?  Perhaps it was put in there being forward thinking (for future use), but I can't come up with anything more useful than being able to sense if were mounted upside to flip the camera image.  This alone would be accomplished at a lower cost by using a simple switch, like the sensor inside the 360 itself.  Anyone have an idea for a use of this?
Logged

leorimolo
Master Hacker
****
Posts: 148


View Profile
« Reply #17 on: November 09, 2010, 03:10:53 PM »

Wow, I am really exited to get this on a NXT robot! f*** imagine being able to actually see where you are going, and be able to detect humans etc...
Logged
dschu012
Member
**
Posts: 34


View Profile
« Reply #18 on: November 09, 2010, 11:00:16 PM »

This seems to be progressing pretty rapidly.

I have one question, though.  What purpose would an accelerometer have in the Kinect?  Perhaps it was put in there being forward thinking (for future use), but I can't come up with anything more useful than being able to sense if were mounted upside to flip the camera image.  This alone would be accomplished at a lower cost by using a simple switch, like the sensor inside the 360 itself.  Anyone have an idea for a use of this?
When using Kinect if you pick it up and move it, or if it is on a surface that vibrates, Kinect will notify you of such things happening. They likely use the accelerometer for purposes like that.
Logged
scopen4
Member
**
Posts: 31


View Profile
« Reply #19 on: November 11, 2010, 12:43:03 PM »

Quote
LibFreenect - Open Source PC Drivers for Kinect

Marcan released the first Open Source Drivers for Kinect:

Horribly hacky first take at a Kinect Camera driver. Does RGB and Depth.

main.c implements a simple OpenGL visualization. Hopefully it should be mostly self-explanatory... You pretty much just open the USB device, call cams_init(dev, depthimg, rgbimg), and your depthimg and rgbimg callbacks getcalled as libusb processes events.

Download: http://git.marcansoft.com/?p=libfreenect.git
Logged
Pages: 1 2 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM