打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Py之dlib:Python库之dlib库的简介、安装、使用方法详细攻略
userphoto

2023.01.08 辽宁

关注
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__
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
Dlib人脸检测
Python基础学习笔记之(一)
python函数中的参数(关键字参数,默认参数,位置参数,不定长参数)
C++雾中风景16:std::make_index_sequence, 来试一试新的黑魔法吧
Selenium2+python自动化56
Face recognition使用
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服