Skip to content

EdgeDrawing segmentation fault #3429

Open
@cole-dda

Description

@cole-dda

System Information

opencv-contrib-python-headless 4.6.0.66
Operating System / Platform: mac 12.6.2
Python Version: 3.9 - 3.11

Detailed description

[1] 45704 segmentation fault

Steps to reproduce

def test(file:str):
    import cv2
    import numpy as np
    img = cv2.imread(file)
    img2=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
    ed = cv2.ximgproc.createEdgeDrawing()
    ed.detectEdges(img2)
    #when import rich library
    #throw segmentation fault
    #pip install rich
    import rich.console
    lines = ed.detectLines()

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions