arccoder/opencvdragrect

Segmentation Fault too!

swrdZWJ opened this issue · 0 comments

I get the problem of ‘Segmentation fault (core dumped)’ when I debug the code after

  _if pointInRect(eX, eY, dragObj.outRect.x, dragObj.outRect.y, dragObj.outRect.w, dragObj.outRect.h):
        dragObj.returnflag = True
        cv2.destroyWindow(dragObj.wname)_

I use the same opencv and numpy version as you. How to solve the problem? Thanks :)