4047db17d3b4922026f31d9fced3c1c3ccd9853e
[platform/core/api/mediavision.git] / mv_machine_learning / image_classification / include / image_classification_type.h
1 /**
2  * Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __IMAGE_CLASSIFICATION_TYPE_H__
18 #define __IMAGE_CLASSIFICATION_TYPE_H__
19
20 #include <string>
21
22 #include <mv_common.h>
23 #include <mv_inference_type.h>
24
25 namespace mediavision
26 {
27 namespace machine_learning
28 {
29 struct image_classification_input_s {
30         mv_source_h inference_src;
31         std::string model_file;
32         std::string meta_file;
33         std::string label_file;
34 };
35
36 /**
37  * @brief The object detection result structure.
38  * @details Contains object detection 3d result.
39  */
40 struct image_classification_result_s {
41         std::string label;
42 };
43
44 enum class image_classification_task_type_e {
45         IMAGE_CLASSIFICATION_TASK_NONE = 0,
46         // TODO
47 };
48
49 }
50 }
51
52 #endif /* __IMAGE_CLASSIFICATION_TYPE_H__ */