PARP Research Group University of Murcia, Spain


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.

Classes

class  UserInteract

Functions

int main (int argc, char *argv[])


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 worker in a QVPolyline object.

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

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 of the program.

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 
See section Video source identifier URL formats for further info about the format and types of source video identifier strings.

Author:
PARP Research Group. University of Murcia, Spain.

Definition in file userIO.cpp.




QVision framework. PARP research group, copyright 2007, 2008.