Kinext is an Elixir wrapper for the OpenKinect library. OpenKinect allows access to the XBOX 360 Kinect peripheral. Since the Kinect has a proprietary connector, you will need a USB adapter to connect your computer to the Kinect.
This project is currently in functioning state. I have no current plans to actually use the library for anything specific, it was more of an exercize for me to learn NIFs and have some fun. If you are using this library in your own project, I would love any feedback you have about it, and would be happy to dive deeper, just open a Github issue.
The Kinext library can be installed by adding kinext
to your list of dependencies in mix.exs
:
def deps do
[
{:kinext, "~> 0.2.0"}
]
end
You will also need to install OpenKinect.
On OSX this might be as simple as running brew install libfreenect
. I also found I needed to brew cask install quartz
.
The docs can be found at https://hexdocs.pm/kinext.