MouseTrap Classes
From Foss2Serve
(Difference between revisions)
Heidi.ellis (Talk | contribs) (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