MouseTrap Classes

From Foss2Serve
(Difference between revisions)
Jump to: navigation, search
(Created page with " == Classes == === app === ==== main.py ==== * Loads the Image Detection Module (idm) * ==== commons.py ==== * Stores global variables for Ocvfw * cv: OpenCV related variab...")
 
 
Line 31: Line 31:
  
 
=== addons ===
 
=== addons ===
 +
 +
[[Category:Gnome_MouseTrap]]

Latest revision as of 22:49, 17 April 2013

Contents

Classes

app

main.py

  • Loads the Image Detection Module (idm)

commons.py

  • Stores global variables for Ocvfw
 * cv: OpenCV related variables
 * hg: OpenCV.highgui related variables. Set in ocvfw/idm/ color.py to be used in the creation of the Window and Trackbar
 * abs_path: the absolute path to the commons file
 * haar_cds: array with the haar xml file paths
 * colors: array with the types of colors the image can appear in
 * singleton: class instance to be passed through program globally
  • Methods:
 get_ch(color): returns channel corresponding to the color given (rgb, bgr, gray)

environment.py

debug.py

  • This is used to display messages to the command line
  • Very helpful to troubleshoot

ui

main.py

lib

addons

Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox