blob: 801cff392a2a6e0e76647c17e020212ccde8b28b [file] [log] [blame]
Éanna Ó Catháin919c14e2020-09-14 17:36:49 +01001//
2// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <cstddef>
9#include <cstdint>
10#include <vector>
11#include <tuple>
12#include <armnn/BackendId.hpp>
13
14namespace od
15{
16
17struct Size
18{
19
20 uint32_t m_Width;
21 uint32_t m_Height;
22
23 Size() : Size(0, 0) {}
24
25 Size(uint32_t width, uint32_t height) :
26 m_Width{width}, m_Height{height} {}
27
28 Size(const Size& other)
29 : Size(other.m_Width, other.m_Height) {}
30
31 ~Size() = default;
32
33 Size &operator=(const Size& other) = default;
34};
35
36struct BBoxColor
37{
38 std::tuple<int, int, int> colorCode;
39};
40
41struct ODPipelineOptions
42{
43 std::string m_ModelName;
44 std::string m_ModelFilePath;
45 std::vector<armnn::BackendId> m_backends;
46};
47
48using InferenceResult = std::vector<float>;
49using InferenceResults = std::vector<InferenceResult>;
50}