Banuba SDK
libs
recognizer
bnb
recognizer
interfaces
feature.hpp
Go to the documentation of this file.
1
/// \file
2
/// \addtogroup Recognizer
3
/// @{
4
///
5
// AUTOGENERATED FILE - DO NOT MODIFY!
6
// This file generated by Djinni from recognizer.djinni
7
8
#pragma once
9
10
#include "
bnb/types/interfaces/frame_data.hpp
"
11
#include <bnb/utils/defs.hpp>
12
#include <cstdint>
13
#include <memory>
14
#include <string>
15
16
namespace
bnb {
namespace
interfaces {
17
18
class
BNB_EXPORT
feature
{
19
public
:
20
virtual
~
feature
() {}
21
22
/**must return unique id (e.g. a feature pointer or a true random number(most likely) satisfies this criteria) */
23
virtual
int64_t
id
() = 0;
24
25
virtual
std::string name() = 0;
26
27
virtual
bool
requires_main_thread() = 0;
28
29
virtual
void
clean() = 0;
30
31
virtual
void
process(
const
std::shared_ptr<::bnb::interfaces::frame_data> &
frame_data
) = 0;
32
};
33
34
} }
// namespace bnb::interfaces
35
/// @}
36
frame_data.hpp
bnb::interfaces::feature::id
virtual int64_t id()=0
must return unique id (e.g.
bnb::interfaces::feature
Definition:
feature.hpp:18
bnb::interfaces::frame_data
getters throw exceptions when data are not available android NNs usually output gpu masks
Definition:
frame_data.hpp:37
Generated by
1.8.20