Difference between revisions of "Manual"
(Added Maven build instructions) |
m |
||
Line 69: | Line 69: | ||
# Copy the compiled jar file to an appropriate location | # Copy the compiled jar file to an appropriate location | ||
#* Location Ant: boofcv/lib/BoofCV.jar. | #* Location Ant: boofcv/lib/BoofCV.jar. | ||
#* Location Maven: boofcv/main/target/boofcv- | #* Location Maven: boofcv/main/target/boofcv-XX.jar | ||
In Linux building with Ant looks something like this: | In Linux building with Ant looks something like this: |
Revision as of 16:11, 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:
- Quick Start
- Images in BoofCV
- Videos and Webcams
- Android Support
- Camera Calibration
- 3D Computer Vision
Example Code:
- Image Processing
- Feature
- 2D and 3D Structure
- Calibration
Other resources:
Building BoofCV
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.
- To run either script from the command-line, switch to the boofcv/main directory.
- 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-XX.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