-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Open
Description
Detailed description
I just updated the text module to the newest commit and received a SIGSEGV in the ERStat* ERFilterNM::er_tree_filter ( InputArray image, ERStat * stat, ERStat *parent, ERStat *prev )
(erfilter.cpp) function.
Browsing through the commits I found #876 which changes quite a few lines in this function and line 796 causes the error in my case:
region = region(Rect(1, 1, rect.width, rect.height));
Reverting fixed it for me:
rect.width += 2;
rect.height += 2;
region = region(rect);
System information (version)
- OpenCV => 3.3.0
- Operating System / Platform => macOS 10.12.5
- Compiler => clang