Connecting Microsoft Kinect To Mac

For the second part of my thesis, after messing around with various background subtraction algorithms in in openCV, I thought about what else I could do to add some value to this open ended research. I managed to get my hands on a Microsoft Kinect Camera which incorporated a normal camera and an infra-red camera.

The first issue I had, the Microsoft Kinect Camera I got wasn’t the developer version and it had a proprietary connector which doesn’t connect straight to a usb port. Good thing in this modern age is finding cheap adapters off ebay, but cheap sometimes also means waiting a while before I got the adapter and sometimes they don’t work… Fortunately, it wasn’t a complete waste as I needed part of the cable and following this guide I managed to make my own complete adapter.

The second issue was that I was trying to use the Kinect camera in MacOS with Python so it wasn’t natively supported as it would under Windows, but fortunately, the Libfreenect library┬áprovided drivers and wrappers to use make the Kinect work. Simply downloading the directory and navigating to the python folder in the wrappers folder and installing the files with

python install

To ensure that it is installed,

pip list

If libfreenect is listed then it is installed.


Setting up OpenCV3 with Python on MacOS

OpenCV is an open source library with many useful functions for manipulating images and arrays. For my thesis, I had to research of Background Subtraction techniques, a category within Computer vision which forms the basis for detecting objects in video streams. In order to complete my research, I had to test the performance and complexity of various Background Subtraction techniques. My initial attempts involved using MATLAB to complete my research, but after learning about this useful API, I decided to test it out but it would have been way too time consuming to set OpenCV with more traditional programming languages like C so I decided to test it out with python… Continue reading “Setting up OpenCV3 with Python on MacOS”