What is the difference between the Kinect V2 for Windows and XB1 Kinect?

Does V2 have better hardware?