Using the OpenCV Template Application
OpenCV (Open Source Computer Vision Library) is a library of programming functions mainly aimed at real-time computer. The library is cross-platform. It focuses mainly on real-time image processing. If the library finds Intel's integrated Performance Primitives on the system, it will use these proprietary optimized routines to accelerate itself. SDK provides a facility to develop OpenCV application as part of this it provides a template application (which reverses an image). User can create his own applications. SDK also provides all the required openCV libraries with SDK install (OpenCV install path
) and template application is having all openCV path set for building the template application. SDK supports only for Linux OS only. It supports only for ARM processor.
Creating an OpenCV Template Application
To create an OpenCV template application:
New > Application Project.
The New Project wizard opens and displays the Application Project page.
drop-down box, select the processor of any ARM core.
drop-down box, select
The Templates page opens.
Select the template type
OpenCV Example Application.
SDK creates an OpenCV example application. You can edit and change this application as required.
You can add additional header files. To do this:
Right-click on the project name and select
C/C++ Build Settings.
The Properties dialog box opens, with the C/C++ Build > Settings pane selected.
Add header files by clicking the
Exclude header file paths by clicking the
Add library paths in the Libraries settings page.
Running an OpenCV Application on a Target
To run an OpenCV application on a target:
Build your application and prepare the Linux kernel image.
Run > Debug Configurations
to open the Debug Configurations page for your application.
Commands to execute before application
field, set the OpenCV libraries in the LD_LIBRARY_PATH.
OpenCV libraries are located in the
folder of your SDK installation.
Copyright © 1995-2014 Xilinx, Inc. All rights reserved.