opencvdragrect icon indicating copy to clipboard operation
opencvdragrect copied to clipboard

Drag a rectangle on an image window using opencv

Results 7 opencvdragrect issues
Sort by recently updated
recently updated
newest added

It seems the waitkey() in clearCanvasNDraw() of the selectinwindow.py causes the recursive stack. My temporary solution is to comment it out: selectinwindow.py: ``` def clearCanvasNDraw(dragObj): # Draw # ... drawSelectMarkers(tmp,...

If the mouse is moved fast while dragging a rect, the app crashes (on Windows, Python 3.9). The GUI seems to be overloaded. This can be fixed as follows. In...

The callbacks no longer call any drawing/window functions. Since they don't call waitKey, there's no recursion issue. Since they don't destroy the window after a double click, there's no segmentation...

Hi, I'm getting a segmentation fault with the default `script.py` file, and I can't seem to fix it. Can anyone help? I just drag a rectangle and double click in...

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...

Bumps [numpy](https://github.com/numpy/numpy) from 1.19.5 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...

dependencies

Bumps [opencv-python](https://github.com/opencv/opencv-python) from 4.5.1.48 to 4.8.1.78. Release notes Sourced from opencv-python's releases. 4.8.1.78 OpenCV 4.8.1 release. Important changes: WebP security update for CVE-2023-4863 4.8.0.76 Adds cv2.typing to package. Close #869...

dependencies