Open
Description
I think I'm having object memory issues. I'm using opencv_dart to find contours and store them in an object as cv.Contours. I then pass it to a CustomPainter to draw them on an image. I verified that the contours contain points, but at a later time they are empty, so nothing is drawn. Also, the application crashes randomly. I think I'm handling cv.Contours incorrectly. Am I not supposed to use them directly when drawing? Should I be copying any opencv_dart objects into Dart/Flutter objects? It's not clear to me how I should be managing the memory for opencv_dart objects.