examples/canvasInteract/canvasInteract.cpp File Reference

Example application showing how to interact with an QVImageCanvas object. More...

Go to the source code of this file.

Classes

class  MyWorker

Functions

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


Detailed Description

Example application showing how to interact with an QVImageCanvas object.

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.

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:
 ./roroscoper --URL=<source video identifier string> 
For example:
 ./roroscoper --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 canvasInteract.cpp.