3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-13 10:45:54 +00:00
Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

32 lines
816 B
C++

//
// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include "Types.hpp"
#include "DetectedObject.hpp"
#include "IDetectionResultDecoder.hpp"
namespace od
{
class SSDResultDecoder : public IDetectionResultDecoder
{
public:
/**
* Constructs MobileNet ssd v1 inference results decoder.
*
* @param ObjectThreshold object score threshold
*/
SSDResultDecoder(float ObjectThreshold);
DetectedObjects Decode(const common::InferenceResults<float>& results,
const common::Size& outputFrameSize,
const common::Size& resizedFrameSize,
const std::vector<std::string>& labels) override;
private:
float m_objectThreshold;
};
}// namespace od