diff --git a/3rdparty/Frame b/3rdparty/Frame index 0a3b2aa..2e0124b 160000 --- a/3rdparty/Frame +++ b/3rdparty/Frame @@ -1 +1 @@ -Subproject commit 0a3b2aa8b9fd0789e120351a887954c7d583069f +Subproject commit 2e0124bf33ccf905dd7f912b4c28ee395aa51c69 diff --git a/ObjectDetector_interface_C++_library_v1.5.1.pdf b/ObjectDetector_interface_C++_library_v1.6.1.pdf similarity index 64% rename from ObjectDetector_interface_C++_library_v1.5.1.pdf rename to ObjectDetector_interface_C++_library_v1.6.1.pdf index 79652fa..aa3f877 100644 Binary files a/ObjectDetector_interface_C++_library_v1.5.1.pdf and b/ObjectDetector_interface_C++_library_v1.6.1.pdf differ diff --git a/README.md b/README.md index c80e595..8354957 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # **ObjectDetector interface C++ library** -**v1.5.1** +**v1.6.1** @@ -64,6 +64,7 @@ | 1.4.0 | 24.09.2023 | - Updated encode(...) and decode(...) methods of ObjectDetectorParams.
- Added decodeAndExecuteCommand(...) method.
- Added example of object detector implementation. | | 1.5.0 | 26.09.2023 | - Signature of getParams(...) method changed. | | 1.5.1 | 13.11.2023 | - Frame class updated. | +| 1.6.1 | 14.12.2023 | - Virtual destructor added.
- Frame class updated. | @@ -109,6 +110,9 @@ class ObjectDetector { public: + /// Class destructor. + virtual ~ObjectDetector(); + /// Get string of current library version. static std::string getVersion(); @@ -175,7 +179,7 @@ std::cout << "ObjectDetector class version: " << ObjectDetector::getVersion() << Console output: ```bash -ObjectDetector class version: 1.4.0 +ObjectDetector class version: 1.6.1 ``` diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3e8c40e..4c22fc9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.13) ## LIBRARY-PROJECT ## name and version ############################################################################### -project(ObjectDetector VERSION 1.5.0 LANGUAGES CXX) +project(ObjectDetector VERSION 1.6.1 LANGUAGES CXX) diff --git a/src/ObjectDetector.cpp b/src/ObjectDetector.cpp index d22cc1e..5767dd3 100644 --- a/src/ObjectDetector.cpp +++ b/src/ObjectDetector.cpp @@ -3,6 +3,13 @@ +cr::detector::ObjectDetector::~ObjectDetector() +{ + +} + + + std::string cr::detector::ObjectDetector::getVersion() { return OBJECT_DETECTOR_VERSION; diff --git a/src/ObjectDetector.h b/src/ObjectDetector.h index cad522f..6c15cd7 100644 --- a/src/ObjectDetector.h +++ b/src/ObjectDetector.h @@ -291,6 +291,11 @@ class ObjectDetector { public: + /** + * @brief Class destructor. + */ + virtual ~ObjectDetector(); + /** * @brief Get string of current library version. * @return String of current library version. diff --git a/src/ObjectDetectorVersion.h b/src/ObjectDetectorVersion.h index 51c8680..4bf7bf0 100644 --- a/src/ObjectDetectorVersion.h +++ b/src/ObjectDetectorVersion.h @@ -1,7 +1,7 @@ #pragma once #define OBJECT_DETECTOR_MAJOR_VERSION 1 -#define OBJECT_DETECTOR_MINOR_VERSION 5 -#define OBJECT_DETECTOR_PATCH_VERSION 0 +#define OBJECT_DETECTOR_MINOR_VERSION 6 +#define OBJECT_DETECTOR_PATCH_VERSION 1 -#define OBJECT_DETECTOR_VERSION "1.5.0" +#define OBJECT_DETECTOR_VERSION "1.6.1"