PARP Research Group | Universidad de Murcia |
examples/canvasInteract/canvasInteract.cpp File ReferenceExample application showing how to interact with a QVImageCanvas object. More... Go to the source code of this file. Detailed DescriptionExample application showing how to interact with a 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. It also allows the program to get a list of points from user input clicks. In both cases the user must select the adequate buttons from the bottom row of the QVImageCanvas widget. Finally, this example also shows how to perform custom drawings in a QVImageCanvas by subclassing it and reimplementing the QVImageCanvas custom_viewer() method. UsageOnce installed the QVision, compile using the qmake and make tools: # qmake; make
Execute the application with the following line: ./canvasInteract --URL=<source video identifier string>
For example: ./canvasInteract --URL=http://perception.inf.um.es/public_data/videos/misc/minuto.avi
See section QVMPlayerURLFormat for further info about the format and types of source video identifier strings. Definition in file canvasInteract.cpp. |