This class is a wrapper around the OpenCV cascade detectior.
|
__init__(self,
cascade_name=' /Users/qdb/Dropbox (ORNL)/git/pyvision/src/pyvision/config/ha ... ,
orig_size=None,
min_size=( 60, 60) ,
image_scale=1.3,
haar_scale=1.2,
min_neighbors=2,
haar_flags=0)
Init the detector and create the cascade classifier |
source code
|
|
|
__call__(self,
im)
This function is the same as detect. |
source code
|
|
|
__getstate__(self)
Function required to save and load the state from pickel. |
source code
|
|
|
__setstate__(self,
state)
Function required to save and load the state from pickel. |
source code
|
|
|
|
|
detect(self,
im)
Runs the cascade classifer on an image. |
source code
|
|