mv_machine_learning: use DEFAULT_MODEL_NAME for landmark detection task group
[platform/core/api/mediavision.git] / mv_machine_learning / landmark_detection / include / mv_landmark_detection_config.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 __MEDIA_VISION_LANDMARK_DETECTION_CONFIG_H__
18 #define __MEDIA_VISION_LANDMARK_DETECTION_CONFIG_H__
19
20 /**
21  * @brief Defines #MV_LANDMARK_DETECTION_MODEL_DEFAULT_PATH
22  *        to set the landmark detection default path.
23  *
24  * @since_tizen 7.5
25  */
26 #define MV_LANDMARK_DETECTION_MODEL_DEFAULT_PATH "MODEL_DEFAULT_PATH"
27
28 /**
29  * @brief Defines #MV_LANDMARK_DETECTION_MODEL_FILE_PATH
30  *        to set the landmark detection model file path.
31  *
32  * @since_tizen 7.5
33  */
34 #define MV_LANDMARK_DETECTION_MODEL_FILE_PATH "MODEL_FILE_NAME"
35
36 /**
37  * @brief Defines #MV_LANDMARK_DETECTION_DEFAULT_MODEL_NAME
38  *        to set the landmark detection default model name.
39  *
40  * @since_tizen 8.0
41  */
42 #define MV_LANDMARK_DETECTION_DEFAULT_MODEL_NAME "DEFAULT_MODEL_NAME"
43
44 /**
45  * @brief Defines #MV_LANDMARK_DETECTION_MODEL_META_FILE_PATH to set inference
46  *        models's metadata file attribute of the engine configuration.
47  * @details The file includes inference model's metadata such as input and output
48  *          node names, input tensor's width and height,
49  *          mean and standard deviation values for pre-processing.
50  *
51  * @since_tizen 7.5
52  */
53 #define MV_LANDMARK_DETECTION_MODEL_META_FILE_PATH "META_FILE_NAME"
54
55 #define MV_LANDMARK_DETECTION_LABEL_FILE_NAME "LABEL_FILE_NAME"
56
57 /**
58  * @brief Defines #MV_LANDMARK_DETECTION_BACKEND_TYPE
59  *        to set inference backend engine type. In default, tensorflow lite is used.
60  *
61  * @since_tizen 7.5
62  */
63 #define MV_LANDMARK_DETECTION_BACKEND_TYPE "BACKEND_TYPE"
64
65 /**
66  * @brief Defines #MV_LANDMARK_DETECTION_TARGET_DEVICE_TYPE
67  *        to set inference target device type. In default, CPU device is used.
68  *
69  * @since_tizen 7.5
70  */
71 #define MV_LANDMARK_DETECTION_TARGET_DEVICE_TYPE "TARGET_DEVICE_TYPE"
72
73 #define MV_LANDMARK_DETECTION_CONFIDENCE_THRESHOLD "CONFIDENCE_THRESHOLD"
74
75 #endif /* __MEDIA_VISION_LANDMARK_DETECTION_CONFIG_H__ */