help(dlib.get_frontal_face_detector())
Help on fhog_object_detector in module dlib.dlib object:
class fhog_object_detector(Boost.Python.instance)
| This object represents a sliding window histogram-of-oriented-gradients based object detector.
|
| Method resolution order:
| fhog_object_detector
| Boost.Python.instance
| builtins.object
|
| Methods defined here:
|
| __call__(...)
| __call__( (fhog_object_detector)arg1, (object)image [, (int)upsample_num_times=0]) -> rectangles :
| requires
| - image is a numpy ndarray containing either an 8bit grayscale or RGB
| image.
| - upsample_num_times >= 0
| ensures
| - This function runs the object detector on the input image and returns
| a list of detections.
| - Upsamples the image upsample_num_times before running the basic
| detector.
|
| __getstate__(...)
| __getstate__( (fhog_object_detector)arg1) -> tuple
|
| __init__(...)
| __init__( (object)arg1) -> None
|
| __init__( (object)arg1, (str)arg2) -> object :
| Loads an object detector from a file that contains the output of the
| train_simple_object_detector() routine or a serialized C++ object of type
| object_detector<scan_fhog_pyramid<pyramid_down<6>>>.
|
| __reduce__ = <unnamed Boost.Python function>(...)
|
| __setstate__(...)
| __setstate__( (fhog_object_detector)arg1, (tuple)arg2) -> None
|
| run(...)
| run( (fhog_object_detector)arg1, (object)image [, (int)upsample_num_times=0 [, (float)adjust_threshold=0.0]]) -> tuple :
| requires
| - image is a numpy ndarray containing either an 8bit grayscale or RGB
| image.
| - upsample_num_times >= 0
| ensures
| - This function runs the object detector on the input image and returns
| a tuple of (list of detections, list of scores, list of weight_indices).
| - Upsamples the image upsample_num_times before running the basic
| detector.
|
| save(...)
| save( (fhog_object_detector)arg1, (str)detector_output_filename) -> None :
| Save a simple_object_detector to the provided path.
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| run_multiple(...)
| run_multiple( (list)detectors, (object)image [, (int)upsample_num_times=0 [, (float)adjust_threshold=0.0]]) -> tuple :
| requires
| - detectors is a list of detectors.
| - image is a numpy ndarray containing either an 8bit grayscale or RGB
| image.
| - upsample_num_times >= 0
| ensures
| - This function runs the list of object detectors at once on the input image and returns
| a tuple of (list of detections, list of scores, list of weight_indices).
| - Upsamples the image upsample_num_times before running the basic
| detector.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __instance_size__ = 160
|
| __safe_for_unpickling__ = True
|
| ----------------------------------------------------------------------
| Methods inherited from Boost.Python.instance:
|
| __new__(*args, **kwargs) from Boost.Python.class
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from Boost.Python.instance:
|
| __dict__
|
| __weakref__
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。