FRC-Vision: Ilite 2015
2015 Vision code for the Battlefield High School Ilite team.
- Gradle: This project uses gradle to compile and generate eclipse workspaces. Gradle can be found at: https://gradle.org/
- You can also get gradle at it's eclipse plugin site http://dist.springsource.com/release/TOOLS/update/e4.4/ . Go to the install menu in eclipse (help -> install new software) and add a plugin site. Install the plugin and restart eclipse. You can now import gradle projects into your workspace via file -> import -> gradle.
- OpenCV: Download OpenCV: http://docs.opencv.org/doc/tutorials/introduction/desktop_java/java_dev_intro.html Put openCV into libraries directory, with root of opencv named "opencv"
gradle build eclipse
This will compile the project and generate Eclipse project.
gradle jar Update the java library path to include a path to the opencv java library. For example: opencv/build/java/x64/This can be set as a runtime argument: -Djava.library.path=opencv/build/java/x64
In order to connect to the axis camera, you need to copy opencv/sources/3rdparty/ffmgeg/opencv_ffmpeg_64.dll to c:\windows\system32\opencv_ffmpeg2410_64.dll. Link to this update can be found here: http://answers.opencv.org/question/44366/opencv-an-axis-camera-cannot-open-connection/