MouseTrap Classes

From Foss2Serve
Revision as of 22:49, 17 April 2013 by Hislop (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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