From b6638037ab0ba18afcd69ef0037d16e1307faa29 Mon Sep 17 00:00:00 2001 From: kalwalt Date: Wed, 23 Sep 2026 23:17:47 +0200 Subject: [PATCH] chore: bump version to 0.9.0 A minor bump, as defined in WebARKitConfig.cpp ("additions to the API, or other significant backwards-compatible changes in runtime functionality"): #71 added VisualDatabase::matches() / image_match_t, and kpmMatching now reports one result per matched page instead of only the best one. Updates WEBARKIT_HEADER_VERSION_STRING and _MINOR, and the two gtest assertions that pin the version string. Co-Authored-By: Claude Opus 5.5 --- .../WebARKitOpticalTracking/WebARKitConfig.cpp | 4 ++-- tests/webarkit_test.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WebARKit/WebARKitTrackers/WebARKitOpticalTracking/WebARKitConfig.cpp b/WebARKit/WebARKitTrackers/WebARKitOpticalTracking/WebARKitConfig.cpp index 1cf6e1e..ec348da 100644 --- a/WebARKit/WebARKitTrackers/WebARKitOpticalTracking/WebARKitConfig.cpp +++ b/WebARKit/WebARKitTrackers/WebARKitOpticalTracking/WebARKitConfig.cpp @@ -21,7 +21,7 @@ extern const cv::Size blurSize(3, 3); extern const double ransac_thresh = 2.5f; extern cv::RNG rng( 0xFFFFFFFF ); extern const double m_pi = 3.14159265358979323846; -extern const std::string WEBARKIT_HEADER_VERSION_STRING = "0.8.0"; +extern const std::string WEBARKIT_HEADER_VERSION_STRING = "0.9.0"; /*@ The MAJOR version number defines non-backwards compatible changes in the ARToolKit API. Range: [0-99]. @@ -33,7 +33,7 @@ extern const int WEBARKIT_HEADER_VERSION_MAJOR = 0; API, or (occsasionally) other significant backwards-compatible changes in runtime functionality. Range: [0-99]. */ -extern const int WEBARKIT_HEADER_VERSION_MINOR = 8; +extern const int WEBARKIT_HEADER_VERSION_MINOR = 9; /*@ The TINY version number defines bug-fixes to existing diff --git a/tests/webarkit_test.cc b/tests/webarkit_test.cc index 7ac2964..a155306 100644 --- a/tests/webarkit_test.cc +++ b/tests/webarkit_test.cc @@ -38,7 +38,7 @@ TEST(WebARKitConfigTest, TestConfigValues) { EXPECT_EQ(maxLevel, 3); EXPECT_EQ(featureDetectPyramidLevel, 1.05f); EXPECT_EQ(featureBorder, 8); - EXPECT_EQ(WEBARKIT_HEADER_VERSION_STRING, "0.8.0"); + EXPECT_EQ(WEBARKIT_HEADER_VERSION_STRING, "0.9.0"); } TEST(WebARKitConfigTest, TestWinSize) { @@ -136,7 +136,7 @@ TEST(WebARKitTest, CheckWebARKitVersion) { // Init the manager with the Akaze tracker manager.initialiseBase(webarkit::TRACKER_TYPE::AKAZE_TRACKER, 640, 480); // Check if the WebARKit version is correct - EXPECT_STREQ(manager.getWebARKitVersion().c_str(), "0.8.0"); + EXPECT_STREQ(manager.getWebARKitVersion().c_str(), "0.9.0"); } // Check cameraProjectionMatrix from manager