Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Deconstructor of an SVM object

$
0
0
This question might apply to other objects as well. I need to deconstruct a CvSVM object because I fear the risk of memory leakage. I know that in opencv Mat objects can be explicitly destroyed using the `myMat.release()` method. However I'm unsure how to do it for other objects like for example `CvSVM`. Can I just call CvSVM SVM; delete SVM; or is there another way? I couldn't find any deconstructor method in the source code of CvSVM.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>