代码拉取完成,页面将自动刷新
# encoding: utf-8
# module cv2.cv2
# from C:\ProgramData\Anaconda3\Lib\site-packages\cv2\cv2.pyd
# by generator 1.147
""" Python wrapper for OpenCV. """
# imports
import cv2 # C:\ProgramData\Anaconda3\Lib\site-packages\cv2\__init__.py
import cv2.Error as Error # <module 'cv2.Error'>
import cv2.cuda as cuda # <module 'cv2.cuda'>
import cv2.detail as detail # <module 'cv2.detail'>
import cv2.dnn as dnn # <module 'cv2.dnn'>
import cv2.fisheye as fisheye # <module 'cv2.fisheye'>
import cv2.flann as flann # <module 'cv2.flann'>
import cv2.gapi as gapi # <module 'cv2.gapi'>
import cv2.ipp as ipp # <module 'cv2.ipp'>
import cv2.ml as ml # <module 'cv2.ml'>
import cv2.ocl as ocl # <module 'cv2.ocl'>
import cv2.ogl as ogl # <module 'cv2.ogl'>
import cv2.parallel as parallel # <module 'cv2.parallel'>
import cv2.samples as samples # <module 'cv2.samples'>
import cv2.segmentation as segmentation # <module 'cv2.segmentation'>
import cv2.utils as utils # <module 'cv2.utils'>
import cv2.videoio_registry as videoio_registry # <module 'cv2.videoio_registry'>
import cv2 as __cv2
class dnn_DetectionModel(__cv2.dnn_Model):
# no doc
def detect(self, frame, confThreshold=None, nmsThreshold=None): # real signature unknown; restored from __doc__
"""
detect(frame[, confThreshold[, nmsThreshold]]) -> classIds, confidences, boxes
. @brief Given the @p input frame, create input blob, run net and return result detections.
. * @param[in] frame The input image.
. * @param[out] classIds Class indexes in result detection.
. * @param[out] confidences A set of corresponding confidences.
. * @param[out] boxes A set of bounding boxes.
. * @param[in] confThreshold A threshold used to filter boxes by confidences.
. * @param[in] nmsThreshold A threshold used in non maximum suppression.
"""
pass
def getNmsAcrossClasses(self): # real signature unknown; restored from __doc__
"""
getNmsAcrossClasses() -> retval
. * @brief Getter for nmsAcrossClasses. This variable defaults to false,
. * such that when non max suppression is used during the detect() function, it will do so only per-class
"""
pass
def setNmsAcrossClasses(self, value): # real signature unknown; restored from __doc__
"""
setNmsAcrossClasses(value) -> retval
. * @brief nmsAcrossClasses defaults to false,
. * such that when non max suppression is used during the detect() function, it will do so per-class.
. * This function allows you to toggle this behaviour.
. * @param[in] value The new value for nmsAcrossClasses
"""
pass
def __init__(self, *args, **kwargs): # real signature unknown
pass
@staticmethod # known case of __new__
def __new__(*args, **kwargs): # real signature unknown
""" Create and return a new object. See help(type) for accurate signature. """
pass
def __repr__(self, *args, **kwargs): # real signature unknown
""" Return repr(self). """
pass
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。