From 2ecaadbdef172afd51c946ea0efc11ce6dc38b18 Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Mon, 21 Aug 2023 14:18:02 +0800 Subject: [PATCH] =?UTF-8?q?cv::unload=20=E6=9A=82=E5=8F=AA=E5=9C=A8windows?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E6=8F=90=E4=BE=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/image_process.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hgdriver/hgdev/image_process.cpp b/hgdriver/hgdev/image_process.cpp index fbf086e..7bbf9e4 100644 --- a/hgdriver/hgdev/image_process.cpp +++ b/hgdriver/hgdev/image_process.cpp @@ -230,7 +230,9 @@ namespace hg_imgproc ~imgproc() { free_auto_txt_hanld(); +#ifdef FREE_GLOBAL_OBJECTS cv::unload(); +#endif } // load data