PARP Research Group Universidad de Murcia


examples/userIO/userIO.cpp File Reference

Example application showing how to let the user interact with the application, through the GUI. More...

Go to the source code of this file.


Detailed Description

Example application showing how to let the user interact with the application, through the GUI.

This example lets the user to play with the ROI selector of the QVImageCanvas widget, marking the selected region in the output image with a dark square in the image canvas. Also the user can select a set of points in the image with the canvas, which will be linked by the block in a QVPolyline object.

At last, the GUI includes a button to show how to create a trigger in the block.

You must specify a valid input video source to execute the application. Then, clicking on the ROI selector button:

qvimagecanvas_roi.png

You can select a ROI that will be painted darker in the output image by the application.

Usage

Once installed the QVision, compile using the qmake and make tools:

 # qmake; make 

Execute the application with the following line:

 ./userIO --URL=<source video identifier string> 

For example:

 ./userIO --URL=http://perception.inf.um.es/public_data/videos/misc/minuto.avi 
Parameters:
URL Video source identification string. See section QVMPlayerURLFormat for further info about its format.
Author:
PARP Research Group. University of Murcia, Spain.

Definition in file userIO.cpp.




QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010, 2011.