pylsd
pylsd copied to clipboard
Memory Leakage
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.
you can try this
#16