Difference between revisions of "Manual"

From BoofCV
Jump to navigationJump to search
(Updated building instructions)
Line 19: Line 19:


Ant build scripts are also provided in boofcv/integration and boofcv/examples.
Ant build scripts are also provided in boofcv/integration and boofcv/examples.
=== Gradle Build ===
Starting in 0.17 Gradle will be the preferred way to build BoofCV.  Complete instructions are contained in the [https://github.com/lessthanoptimal/BoofCV/blob/master/README.md boofcv/README.md].  To compile BoofCV and output all of its jars simply do the following:
<pre>
cd boofcv
gradle createLibraryDirectory
</pre>
After it downloads all the dependencies it will output the gars to boofcv/libraries directory.  It will also include dependencies for classes in 'main'.  Dependencies for 'integration' are omitted since they can be quite large.


== Support ==
== Support ==

Revision as of 20:30, 11 June 2014

Welcome to BoofCV! BoofCV is an open source Java computer vision library intended for developers. The following manual provides an introduction to development with BoofCV. It is assumed that the reader is familiar with development in the Java programming language and the basics of computer vision. This manual primarily takes the form of example code and tutorials.

Getting Started

Before you can do anything with BoofCV you will need to download it. The download page provides instructions on how to download pre-compiled jars, source code, add a Maven dependency, and checkout the latest source code. After you obtain the jar files browse through the examples below to get ideas on how you can use BoofCV.

Build

If you are compiling BoofCV from source code Ant and Maven scripts are provided. You can also build it inside your favorite IDE, but will need to configure it yourself.

Ant and Maven build instructions:

  1. Download or checkout source code.
  2. To run either script from the command-line, switch to the boofcv/main directory.
  3. Then type "ant" or "mvn package"
  4. Copy the compiled jar file to an appropriate location
    • Location Ant: boofcv/lib/BoofCV.jar.
    • Location Maven: boofcv/main/target/boofcv-XX.jar

Ant build scripts are also provided in boofcv/integration and boofcv/examples.

Gradle Build

Starting in 0.17 Gradle will be the preferred way to build BoofCV. Complete instructions are contained in the boofcv/README.md. To compile BoofCV and output all of its jars simply do the following:

cd boofcv
gradle createLibraryDirectory

After it downloads all the dependencies it will output the gars to boofcv/libraries directory. It will also include dependencies for classes in 'main'. Dependencies for 'integration' are omitted since they can be quite large.

Support

Support is provided in the form of the documentation on this website and through its message board. See the left navigation board for a link to the message board. Please read through the documentation and FAQ (see below) first before posting a question there. You are much more likely to get a good response if you demonstrate due diligence.

http://boofcv.org/index.php?title=FAQ

If you find any mistakes in the documentation or library itself please submit a bug report or post a message about it! If you don't let us know about it we can't fix it.

Propaganda

Did you find BoofCV useful and use it on your project/work/research/thesis? Well let others know about it through your blog, twitter, or status message! Academics, please cite BoofCV in your papers and checkout the papers page to see if the specific algorithm you are using is mentioned there.

BoofCV Papers and Tech Report

Examples and Tutorial

A few tutorials and examples are provided to provide the basic concepts of development with BoofCV. Data files used in these examples are stored in a separate GIT repository from the main code. See boofcv/examples/readme.txt or https://github.com/lessthanoptimal/BoofCV-Data

Tutorials

  1. Quick Start
  2. Images in BoofCV
  3. Videos and Webcams
  4. Android Support
  5. Camera Calibration
  6. 3D Computer Vision / Structure from Motion
  7. Kinect RGB-D Sensor

Example Code

List of simple examples which demonstrate a single capability of BoofCV.

Other resources