Creating an OpenCV Template Application

To create an OpenCV template application:

  1. Select New > Application Project. The New Project wizard opens and displays the Application Project page.

  2. In the OS Platform drop-down box, select Linux.
  3. In the Processor Type drop-down box, select the processor of any ARM core.
  4. Select the C++ radio button under Target Software.
  5. Click Next.
    The Templates page opens.
  6. 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.

  7. Click Finish. SDK creates an OpenCV example application. You can edit and change this application as required.
  8. You can add additional header files. To do this:
    1. 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.

    2. Add header files by clicking the Add button:
    3. Exclude header file paths by clicking the Delete button:
    4. Add library paths in the Libraries settings page.