Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

th2=cv2.adaptiveThreshold(img, 255 ,cv2.ADAPTIVE_THRESH_MEAN_C, cv2.THRESH_BINARY, 11 # no of block size , 2 #c)

Precious Pygmy answered on December 20, 2021 Popularity 2/10 Helpfulness 8/10

Contents


More Related Answers

  • cv2.error: OpenCV(4.5.5) /io/opencv/modules/imgproc/src/thresh.cpp:1555: error: (-2:Unspecified error) in function 'double cv::threshold(cv::InputArray, cv::OutputArray, double, double, int)' > THRESH_OTSU mode: > 'src_type == CV_8UC1 || src_type == C
  • OpenCV(3.4.11) Error: Assertion failed (_img.rows * _img.cols == vecSize) in CvCascadeImageReader::PosReader::get
  • OpenCV(3.4.11) Error: Assertion failed (_img.rows * _img.cols == vecSize) in CvCascadeImageReader::PosReader::get
  • OpenCV(3.4.11) Error: Assertion failed (_img.rows * _img.cols == vecSize) in CvCascadeImageReader::PosReader::get

  • th2=cv2.adaptiveThreshold(img, 255 ,cv2.ADAPTIVE_THRESH_MEAN_C, cv2.THRESH_BINARY, 11 # no of block size , 2 #c)

    1
    Popularity 2/10 Helpfulness 8/10 Language python
    Source: Grepper
    Tags: block python size
    Link to this answer
    Share Copy Link
    Contributed on Dec 20 2021
    Precious Pygmy
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.