Agora C++ API Reference for All Platforms

content_inspect_device_i.h
1 //
2 // Agora RTC/MEDIA SDK
3 //
4 // Created by Ning Huang in 2022-06.
5 // Copyright (c) 2022 Agora.io. All rights reserved.
6 //
7 #pragma once // NOLINT(build/header_guard)
8
9 #include "AgoraRefPtr.h"
10 #include "AgoraMediaBase.h"
11
12 namespace agora {
13 namespace rtc {
14 // I420
15
16 class ContentInspectExtension : public RefCountInterface {
17 public:
18 virtual ~ContentInspectExtension() {};
19
20 virtual bool Init() = 0;
21 virtual bool Process(media::base::VideoFrame &image, float score[3]) = 0;
22 };
23
24 } // namespace rtc
25 } // namespace agora
agora::media::base::VideoFrame
Definition: AgoraMediaBase.h:963
agora::rtc::ContentInspectExtension
Definition: content_inspect_device_i.h:16
agora::rtc::ContentInspectExtension::~ContentInspectExtension
virtual ~ContentInspectExtension()
Definition: content_inspect_device_i.h:18
agora
Definition: AgoraAtomicOps.h:21
agora::RefCountInterface
Definition: AgoraRefPtr.h:31
agora::rtc::ContentInspectExtension::Process
virtual bool Process(media::base::VideoFrame &image, float score[3])=0
rtc
Definition: video_node_i.h:28
agora::rtc::ContentInspectExtension::Init
virtual bool Init()=0