| 1 | /* |
| 2 | * Copyright 2024 KylinSoft Co., Ltd. |
| 3 | * |
| 4 | * This program is free software: you can redistribute it and/or modify it under |
| 5 | * the terms of the GNU General Public License as published by the Free Software |
| 6 | * Foundation, either version 3 of the License, or (at your option) any later |
| 7 | * version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 11 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
| 12 | * details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License along with |
| 15 | * this program. If not, see <https://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | #ifndef __KYLIN_AI_CORE_AI_VISION_CONFIG_H__ |
| 19 | #define __KYLIN_AI_CORE_AI_VISION_CONFIG_H__cxx . . $ `include/kylin-ai/coreai/vision/config.h:19:9`! |
| 20 | |
| 21 | #include <kylin-ai/common/enums.h> |
| 22 | #include <kylin-ai/common/macros.h> |
| 23 | |
| 24 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 25 | extern "C" { |
| 26 | #endif |
| 27 | |
| 28 | typedef struct _TextRecognitionModelConfigcxx . . $ _TextRecognitionModelConfig# TextRecognitionModelConfig; |
| 29 | |
| 30 | AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`! |
| 31 | TextRecognitionModelConfig *text_recognition_model_config_create(); |
| 32 | |
| 33 | AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`! |
| 34 | void text_recognition_model_config_destroy(TextRecognitionModelConfig **config); |
| 35 | |
| 36 | AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`! |
| 37 | void text_recognition_model_config_set_name(TextRecognitionModelConfig *config, |
| 38 | const char *name); |
| 39 | |
| 40 | AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`! |
| 41 | void text_recognition_model_config_set_deploy_type( |
| 42 | TextRecognitionModelConfig *config, ModelDeployTypecxx . . $ ModelDeployType# type); |
| 43 | |
| 44 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 45 | } |
| 46 | #endif |
| 47 | |
| 48 | #endif // __KYLIN_AI_CORE_AI_VISION_CONFIG_H__ |