Skip to content

segmentation fault running the textdetection.py under text module #872

Closed
@MinghuaJiang

Description

@MinghuaJiang
System information (version)
  • OpenCV => 3.1
  • Operating System / Platform => Ubuntu 16.04
Detailed description

I tried to run the sample textdetection.py, but notice this line of code would cause segment fault on my computer no matter what kind of image I use.
regions = cv2.text.detectRegions(channel,er1,er2)

p.s. Something not related to this issue. I am curious why the er1 and er2 got initialized within the loop. Can I put it outside the loop?

Steps to reproduce

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