Difference between revisions of "Manual"

From BoofCV
Jump to navigationJump to search
m
(Added Maven build instructions)
Line 62: Line 62:
= Building BoofCV =
= Building BoofCV =


The easiest way to build the library from source is using the provided ant scripts.
The easiest way to build the library from source is using the provided Ant or Maven scripts.


# Download source code. See the [[Main Page]] for where to download it from.
# Download source code. See the [[Main Page]] for where to download it from.
# Run the ant script inside the boofcv/main directory.
# To run either script from the command-line, switch to the boofcv/main directory.
# Copy the BoofCV.jar from boofcv/lib.
# Then type "ant" or "mvn package"
# Copy the compiled jar file to an appropriate location
#* Location Ant: boofcv/lib/BoofCV.jar.
#* Location Maven: boofcv/main/target/boofcv-0.12.jar


In Linux it looks something like this:
In Linux building with Ant looks something like this:
<pre>
<pre>
$ cd boofcv/main/
$ cd boofcv/main/

Revision as of 17:10, 5 December 2012

Development with BoofCV

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 tutorials. However, before going through the tutorials one should be familiar with coding standards use in BoofCV. Once these are understood one will be able to efficiently search the library or even guess the names of classes which are needed.

Click here for Coding Standards.

Frequently Asked Questions

Take a look at the FAQ page if you have any problems before posting a question.

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

List of 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

Example Code:


Other resources:

Building BoofCV

The easiest way to build the library from source is using the provided Ant or Maven scripts.

  1. Download source code. See the Main Page for where to download it from.
  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-0.12.jar

In Linux building with Ant looks something like this:

$ cd boofcv/main/
$ ant
---- lots of text -----
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 15 warnings

jar:
      [jar] Building jar: /home/pja/projects/boofcv/main/jar/BoofCV_IO.jar

main:
      [jar] Building jar: /home/pja/projects/boofcv/lib/BoofCV.jar

main:

BUILD SUCCESSFUL
Total time: 7 seconds