1 /*
2  * Copyright (C) 2021 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include "cloud_label_detector.h"
17 #include "image_log.h"
18 
19 #undef LOG_DOMAIN
20 #define LOG_DOMAIN LOG_TAG_DOMAIN_ID_PLUGIN
21 
22 #undef LOG_TAG
23 #define LOG_TAG "CloudLabelDetector"
24 
25 namespace OHOS {
26 namespace PluginExample {
27 using std::string;
28 const string CloudLabelDetector::RESULT_STR = "CloudLabelDetector";
29 
CloudLabelDetector()30 CloudLabelDetector::CloudLabelDetector()
31 {
32     IMAGE_LOGD("call CloudLabelDetector().");
33 }
34 
~CloudLabelDetector()35 CloudLabelDetector::~CloudLabelDetector()
36 {
37     IMAGE_LOGD("call ~CloudLabelDetector().");
38 }
39 
Prepare()40 bool CloudLabelDetector::Prepare()
41 {
42     IMAGE_LOGD("call Prepare().");
43     return true;
44 }
45 
Process()46 string CloudLabelDetector::Process()
47 {
48     IMAGE_LOGD("call Process().");
49     return RESULT_STR;
50 }
51 } // namespace PluginExample
52 } // namespace OHOS
53