19 #ifdef OCEAN_USE_LOCAL_TEST_DATA_COLLECTION
20 #ifndef OCEAN_USE_TEST_DATA_COLLECTION
21 #define OCEAN_USE_TEST_DATA_COLLECTION
34 namespace TestDetector
87 static bool test(
const double testDuration,
Worker& worker);
118 #ifdef OCEAN_USE_TEST_DATA_COLLECTION
Deprecated: use QRCodeDetector2D instead.
Definition: LegacyQRCodeDetector2D.h:49
This class implements a test data collection based on local files.
Definition: TestLegacyQRCodeDetector2D.h:52
size_t size() override
Returns the number of data object objects this collection holds.
std::vector< std::string > filenames_
The filenames of all local images belonging to this test collection.
Definition: TestLegacyQRCodeDetector2D.h:76
SharedTestData data(const size_t index) override
Returns the test data object associated with a specified index.
FileDataCollection(std::vector< std::string > &&imageFilenames)
Creates a new test data collection object.
This class implements a test for the QR code detector.
Definition: TestLegacyQRCodeDetector2D.h:45
static bool testStressTest(const double testDuration, Worker &worker)
Applies a stress test with random input data just ensuring that the detector does not crash.
static bool testDetectQRCodes_0_qrcodes(const double testDuration, Worker &worker, const bool forceFullTest)
Tests the detection of QR codes in images without QR codes (avoid false-positive detections).
static bool test(const double testDuration, Worker &worker)
Invokes all test for the QR code detector.
static bool testDetectQRCodes_1_qrcode(const double testDuration, Worker &worker, const bool forceFullTest)
Tests the detection of QR codes in images.
This class is the base class for all TestDataCollection objects.
Definition: TestDataCollection.h:35
std::vector< ScopedSubscription > ScopedSubscriptions
Definition of a vector holding scoped subscription objects.
Definition: TestDataManager.h:43
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
std::shared_ptr< TestData > SharedTestData
Definition of a shared pointer holding a TestData object.
Definition: TestData.h:29
TestDataManager::ScopedSubscriptions TestLegacyQRCodeDetector2D_registerTestDataCollections()
Registers the data collections for the LegacyQRCodeDetector2D test.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15