JThinkFreedom is a framework for mapping behaviors (detected through any source, from camera to audio, to EEG) to reactions (e.g., from a computer click to... pulling a lever).
JThinkFreedom runs on OpenCV (Open source Computer Vision). JavaCV is a Java implementation of OpenCV.
- Java, cmake, and ant required
- apt-get install openjdk-7-*
- apt-get install cmake
- apt-get install ant
- Set the JAVA_HOME variable for your environment
- nano $HOME/.bashrc
- Add the following line: export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
- Download OpenCV (This guide will assume version 2.4.5)
- http://opencv.org/downloads.html
- tar -xzvf opencv-2.4.5.tar.gz
- Build OpenCV with Java support
- cd opencv-2.4.5/
- cmake cmake -D BUILD_SHARED_LIBS=OFF .
- make
- sudo make install
- ffmpeg libraries are not needed in this implementation
- For convenience, here are the libraries you're going to need
- https://www.dropbox.com/sh/scn4pcz3hw46e1w/AAAf1PmuuaJkTMDfWCOkUACea