pylsd icon indicating copy to clipboard operation
pylsd copied to clipboard

Memory Leakage

Open Wangweilai1 opened this issue 4 years ago • 1 comments

Environment: python:3.6.9 pylsd:ocrd-fork-pylsd == 0.0.3 OS: Linux16.04

from pylsd.lsd import lsd img = cv2.imread("./a.jpg") gray = cv2.cvtColor(img, cv2.COLOR_BGRA2GRAY) lines = lsd(gray)

Memory leaks occur when as above code is used.

Wangweilai1 avatar Jan 21 '21 03:01 Wangweilai1

you can try this

#16

kylewang4929 avatar Feb 09 '21 06:02 kylewang4929