mv_machine_learning: add async API for face detection task group
[platform/core/api/mediavision.git] / include / mv_face_detection_type.h
1 /*
2  * Copyright (c) 2022 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 __TIZEN_MEDIAVISION_MV_FACE_DETECTION_TYPE_H__
18 #define __TIZEN_MEDIAVISION_MV_FACE_DETECTION_TYPE_H__
19
20 #include <mv_common.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif /* __cplusplus */
25
26 /**
27  * @file   mv_face_detection_type.h
28  * @brief  This file contains the face recognition handle for Mediavision.
29  */
30
31 /**
32  * @addtogroup CAPI_MEDIA_VISION_FACE_DETECT_MODULE
33  * @{
34  */
35
36 /**
37  * @brief The face detection object handle.
38  *
39  * @since_tizen 8.0
40  */
41 typedef void *mv_face_detection_h;
42
43 typedef void (*mv_completion_cb)(mv_face_detection_h handle, void *user_data);
44
45 /**
46  * @}
47  */
48
49 #ifdef __cplusplus
50 }
51 #endif /* __cplusplus */
52
53 #endif /* __TIZEN_MEDIAVISION_MV_FACE_DETECTION_TYPE_H__ */