C API
The C API is a high-level API for running algorithms and evaluating results.
In order to provide a high-level interface that is usable from the command line and callable from other programming languages, the API is designed to operate at the "file system" level. In other words, arguments to many functions are file paths that specify either a source of input or a desired output. File extensions are relied upon to determine how files should be interpreted in the context of the function being called. The C++ Plugin API should be used if more fine-grained control is required.
Important API Considerations
Using the API
To use the API in your project include the following file:
#include <openbr/openbr.h>
CMake developers may wish to the cmake configuration file found at:
share/openbr/cmake/OpenBRConfig.cmake
Please see the tutorials section for examples.