Creating an OpenCV Template Application
To create an OpenCV template application:
- Select New > Application Project. The New Project wizard
opens and displays the Application Project page.
- In the OS Platform drop-down box, select Linux.
- In the Processor Type drop-down box, select the processor of any ARM core.
- Select the C++ radio button under Target Software.
-
Click Next.
The Templates page opens.
-
Select the template type OpenCV Example Application.
Note: The OpenCV Example Application option is available only if you select the C++ Language option in the Target Software pane.
- Click Finish. 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 Add button:
-
Exclude header file paths by clicking the Delete button:
-
Add library paths in the Libraries settings page.
-
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.