Closed AkkuAg closed 5 years ago
Did your problem solved?
Yes. Typecasted the values to integer
Can you tell me where exactly?
or Can you please upload the updated selectinWindow.py
?
Can you tell me where exactly? or Can you please upload the updated
selectinWindow.py
? in drawSelectMarkers for top leftcv2.rectangle(image, (int(dragObj.outRect.x - dragObj.sBlk), int(dragObj.outRect.y - dragObj.sBlk)), (int(dragObj.outRect.x - dragObj.sBlk + dragObj.sBlk * 2), int(dragObj.outRect.y - dragObj.sBlk + dragObj.sBlk * 2)), (0, 255, 0), 2)
Similarly for all others it needs to be done in drawSelectMarkers
Can you tell me where exactly? or Can you please upload the updated
selectinWindow.py
? in drawSelectMarkers for top leftcv2.rectangle(image, (int(dragObj.outRect.x - dragObj.sBlk), int(dragObj.outRect.y - dragObj.sBlk)), (int(dragObj.outRect.x - dragObj.sBlk + dragObj.sBlk * 2), int(dragObj.outRect.y - dragObj.sBlk + dragObj.sBlk * 2)), (0, 255, 0), 2)
Similarly for all others it needs to be done in drawSelectMarkers
Damn! that's time consuming. Can you please share your updated selectinWindow.py
file?
Thanks a lot man!
The program crashes after some time while trying to resize or move the rectangle Using the script example provided. Any way this can be solved
Did your problem solved?