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 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.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15