Ocean
Loading...
Searching...
No Matches
TestQRCodeDecoder.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#pragma once
9
11
12namespace Ocean
13{
14
15/// Forward declaration
16class RandomGenerator;
17
18namespace Test
19{
20
21namespace TestCV
22{
23
24namespace TestDetector
25{
26
27namespace TestQRCodes
28{
29
30/**
31 * This class implements tests for the QR code features
32 * @ingroup testcvdetectorqrcodes
33 */
34class OCEAN_TEST_CV_DETECTOR_QRCODES_EXPORT TestQRCodeDecoder
35{
36 public:
37
38 /**
39 * Tests the QR code functions.
40 * @param testDuration Number of seconds for each test, range: (0, infinity)
41 * @return True, if succeeded
42 */
43 static bool test(const double testDuration);
44
45
46 /**
47 * Tests encoding (generation) of QR codes
48 * @param testDuration The duration in seconds for which this test will be run, range: (0, infinity)
49 * @return True, if succeeded
50 */
51 static bool testQRCodeDecoding(const double testDuration);
52};
53
54} // namespace TestQRCodes
55
56} // namespace TestDetector
57
58} // namespace TestCV
59
60} // namespce Test
61
62} // namespace Ocean
This class implements a generator for random numbers.
Definition RandomGenerator.h:42
This class implements tests for the QR code features.
Definition TestQRCodeDecoder.h:35
static bool test(const double testDuration)
Tests the QR code functions.
static bool testQRCodeDecoding(const double testDuration)
Tests encoding (generation) of QR codes.
Namespace of the CV Detector QR Codes Test library.
Definition TestAlignmentPatternDetector.h:25
Namespace of the CV Detector Test library.
Definition LineDetectorHough.h:28
Namespace of the CV Test library.
Definition LineDetectorHough.h:28
Namespace of the Test library.
Definition LineDetectorHough.h:28
The namespace covering the entire Ocean framework.
Definition Accessor.h:15