Package pyvision :: Package analysis :: Module gui_tools
[hide private]
[frames] | no frames]

Module gui_tools

source code

Created on Oct 31, 2011


Author: bolme

Classes [hide private]
  CaptureClicks
This object handles the data mangagement and display of the capture clicks window.
  CaptureClicksVideo
This object handles the data mangagement and display of the capture clicks window.
Functions [hide private]
 
null_callback(*args, **kwargs) source code
 
capturePointsFromMouse(im, *args, **kwargs)
This function opens a high gui window that displays the image.
source code
Variables [hide private]
  __package__ = 'pyvision.analysis'
Function Details [hide private]

capturePointsFromMouse(im, *args, **kwargs)

source code 

This function opens a high gui window that displays the image. Any points that are clicked will be returned after the user presses the space bar.

Parameters:
  • im - An image to display.
  • default_points (list of pv.Point) - Some default points to display.
  • keep_window_open - keep the window open after point were captured @type True|False
  • window (string) - The name of the window
Returns:
a list of points that were clicked by the user.