Package pyopencv :: Module pyopencvext :: Class HOGDescriptor
[hide private]
[frames] | no frames]

Class HOGDescriptor

 object --+    
          |    
??.instance --+
              |
             HOGDescriptor

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
checkDetectorSize(...)
checkDetectorSize( (HOGDescriptor)arg1) -> bool :
 
compute(...)
compute( (HOGDescriptor)inst, (Mat)img [, (Size2i)winStride=Size2i(width=0, height=0) [, (Size2i)padding=Size2i(width=0, height=0) [, (Mat)locations=Mat()]]]) -> object :
 
computeGradient(...)
computeGradient( (HOGDescriptor)arg1, (Mat)img, (Mat)grad, (Mat)angleOfs [, (Size2i)paddingTL=Size2i(width=0, height=0) [, (Size2i)paddingBR=Size2i(width=0, height=0)]]) -> None :
 
detect(...)
detect( (HOGDescriptor)inst, (Mat)img [, (object)hitThreshold=0 [, (Size2i)winStride=Size2i(width=0, height=0) [, (Size2i)padding=Size2i(width=0, height=0) [, (Mat)searchLocations=Mat()]]]]) -> object :
 
detectMultiScale(...)
detectMultiScale( (HOGDescriptor)inst, (Mat)img [, (object)hitThreshold=0 [, (Size2i)winStride=Size2i(width=0, height=0) [, (Size2i)padding=Size2i(width=0, height=0) [, (object)scale=1.05 [, (object)groupThreshold=2]]]]]) -> object :
 
getDescriptorSize(...)
getDescriptorSize( (HOGDescriptor)arg1) -> int :
 
getWinSigma(...)
getWinSigma( (HOGDescriptor)arg1) -> float :
 
load(...)
load( (HOGDescriptor)arg1, (object)filename [, (object)objname='']) -> bool :
 
save(...)
save( (HOGDescriptor)arg1, (object)filename [, (object)objname='']) -> None :
 
setSVMDetector(...)
setSVMDetector( (HOGDescriptor)inst, (Mat)_svmdetector) -> None :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
Mat :
getDefaultPeopleDetector()
C++ signature :...
Class Variables [hide private]
  L2Hys = 0
  __instance_size__ = 104
Properties [hide private]
  L2HysThreshold
  blockSize
  blockStride
  cellSize
  derivAperture
  gammaCorrection
  histogramNormType
  nbins
  svmDetector
  this
  winSigma
  winSize

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (Size2i)_winSize, (Size2i)_blockSize, (Size2i)_blockStride, (Size2i)_cellSize, (object)_nbins [, (object)_derivAperture=1 [, (object)_winSigma=-1 [, (object)_histogramNormType=0 [, (object)_L2HysThreshold=0.20000000000000001 [, (bool)_gammaCorrection=False]]]]]) -> None :

    C++ signature :
        void __init__(_object*,cv::Size_<int>,cv::Size_<int>,cv::Size_<int>,cv::Size_<int>,int [,int=1 [,double=-1 [,int=0 [,double=0.20000000000000001 [,bool=False]]]]])

__init__( (object)arg1, (object)filename) -> None :

    C++ signature :
        void __init__(_object*,std::string)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

checkDetectorSize(...)

 

checkDetectorSize( (HOGDescriptor)arg1) -> bool :

    C++ signature :
        bool checkDetectorSize(cv::HOGDescriptor {lvalue})

compute(...)

 

compute( (HOGDescriptor)inst, (Mat)img [, (Size2i)winStride=Size2i(width=0, height=0) [, (Size2i)padding=Size2i(width=0, height=0) [, (Mat)locations=Mat()]]]) -> object :
    
    Argument 'descriptors':
        C/C++ type: ::std::vector< float > &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).
        Output argument: omitted from the function's calling sequence, and is 
        returned along with the function's return value (if any).
    Argument 'locations':
        C/C++ type: ::std::vector< cv::Point_<int> > const &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).

    C++ signature :
        boost::python::api::object compute(cv::HOGDescriptor,cv::Mat [,cv::Size_<int>=Size2i(width=0, height=0) [,cv::Size_<int>=Size2i(width=0, height=0) [,cv::Mat=Mat()]]])

computeGradient(...)

 

computeGradient( (HOGDescriptor)arg1, (Mat)img, (Mat)grad, (Mat)angleOfs [, (Size2i)paddingTL=Size2i(width=0, height=0) [, (Size2i)paddingBR=Size2i(width=0, height=0)]]) -> None :

    C++ signature :
        void computeGradient(cv::HOGDescriptor {lvalue},cv::Mat,cv::Mat {lvalue},cv::Mat {lvalue} [,cv::Size_<int>=Size2i(width=0, height=0) [,cv::Size_<int>=Size2i(width=0, height=0)]])

computeGradient( (HOGDescriptor)arg1, (Mat)img, (Mat)grad, (Mat)angleOfs [, (Size2i)paddingTL=Size2i(width=0, height=0) [, (Size2i)paddingBR=Size2i(width=0, height=0)]]) -> None :

    C++ signature :
        void computeGradient(HOGDescriptor_wrapper {lvalue},cv::Mat,cv::Mat {lvalue},cv::Mat {lvalue} [,cv::Size_<int>=Size2i(width=0, height=0) [,cv::Size_<int>=Size2i(width=0, height=0)]])

detect(...)

 

detect( (HOGDescriptor)inst, (Mat)img [, (object)hitThreshold=0 [, (Size2i)winStride=Size2i(width=0, height=0) [, (Size2i)padding=Size2i(width=0, height=0) [, (Mat)searchLocations=Mat()]]]]) -> object :
    
    Argument 'foundLocations':
        C/C++ type: ::std::vector< cv::Point_<int> > &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).
        Output argument: omitted from the function's calling sequence, and is 
        returned along with the function's return value (if any).
    Argument 'searchLocations':
        C/C++ type: ::std::vector< cv::Point_<int> > const &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).

    C++ signature :
        boost::python::api::object detect(cv::HOGDescriptor,cv::Mat [,double=0 [,cv::Size_<int>=Size2i(width=0, height=0) [,cv::Size_<int>=Size2i(width=0, height=0) [,cv::Mat=Mat()]]]])

detectMultiScale(...)

 

detectMultiScale( (HOGDescriptor)inst, (Mat)img [, (object)hitThreshold=0 [, (Size2i)winStride=Size2i(width=0, height=0) [, (Size2i)padding=Size2i(width=0, height=0) [, (object)scale=1.05 [, (object)groupThreshold=2]]]]]) -> object :
    
    Argument 'foundLocations':
        C/C++ type: ::std::vector< cv::Rect_<int> > &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).
        Output argument: omitted from the function's calling sequence, and is 
        returned along with the function's return value (if any).

    C++ signature :
        boost::python::api::object detectMultiScale(cv::HOGDescriptor,cv::Mat [,double=0 [,cv::Size_<int>=Size2i(width=0, height=0) [,cv::Size_<int>=Size2i(width=0, height=0) [,double=1.05 [,int=2]]]]])

getDefaultPeopleDetector()
Static Method

 
    C++ signature :
        cv::Mat getDefaultPeopleDetector()

Returns: Mat :

getDescriptorSize(...)

 

getDescriptorSize( (HOGDescriptor)arg1) -> int :

    C++ signature :
        unsigned int getDescriptorSize(cv::HOGDescriptor {lvalue})

getWinSigma(...)

 

getWinSigma( (HOGDescriptor)arg1) -> float :

    C++ signature :
        double getWinSigma(cv::HOGDescriptor {lvalue})

load(...)

 

load( (HOGDescriptor)arg1, (object)filename [, (object)objname='']) -> bool :

    C++ signature :
        bool load(cv::HOGDescriptor {lvalue},std::string [,std::string=''])

load( (HOGDescriptor)arg1, (object)filename [, (object)objname='']) -> bool :

    C++ signature :
        bool load(HOGDescriptor_wrapper {lvalue},std::string [,std::string=''])

save(...)

 

save( (HOGDescriptor)arg1, (object)filename [, (object)objname='']) -> None :

    C++ signature :
        void save(cv::HOGDescriptor {lvalue},std::string [,std::string=''])

save( (HOGDescriptor)arg1, (object)filename [, (object)objname='']) -> None :

    C++ signature :
        void save(HOGDescriptor_wrapper {lvalue},std::string [,std::string=''])

setSVMDetector(...)

 

setSVMDetector( (HOGDescriptor)inst, (Mat)_svmdetector) -> None :
    
    Argument '_svmdetector':
        C/C++ type: ::std::vector< float > const &.
        Python type: Mat.
        Invoke asMat() to convert a 1D Python sequence into a Mat, e.g. 
        asMat([0,1,2]) or asMat((0,1,2)).

    C++ signature :
        void setSVMDetector(cv::HOGDescriptor {lvalue},cv::Mat)


Property Details [hide private]

L2HysThreshold

Get Method:
unreachable(...)
Set Method:
unreachable(...)

blockSize

Get Method:
unreachable(...)
Set Method:
unreachable(...)

blockStride

Get Method:
unreachable(...)
Set Method:
unreachable(...)

cellSize

Get Method:
unreachable(...)
Set Method:
unreachable(...)

derivAperture

Get Method:
unreachable(...)
Set Method:
unreachable(...)

gammaCorrection

Get Method:
unreachable(...)
Set Method:
unreachable(...)

histogramNormType

Get Method:
unreachable(...)
Set Method:
unreachable(...)

nbins

Get Method:
unreachable(...)
Set Method:
unreachable(...)

svmDetector

Get Method:
unreachable(...)

this

Get Method:
unreachable(...)

winSigma

Get Method:
unreachable(...)
Set Method:
unreachable(...)

winSize

Get Method:
unreachable(...)
Set Method:
unreachable(...)