[PaddlePaddle Hackathon4 No.185] Add PaddleDetection Models Deployment Java Examples (#1782)

* add java examples

* fix detail

* fix pre-config

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
This commit is contained in:
hjyp
2023-04-10 21:23:44 +08:00
committed by GitHub
parent fc15124800
commit cc4bbf2163
18 changed files with 700 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class InferDemo */
#ifndef EXAMPLES_APPLICATION_JAVA_YOLOV8_CPP_INFER_DEMO_H_
#define EXAMPLES_APPLICATION_JAVA_YOLOV8_CPP_INFER_DEMO_H_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: InferDemo
* Method: infer
* Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_InferDemo_infer
(JNIEnv *env, jobject thiz, jstring modelPath, jstring imagePath);
#ifdef __cplusplus
}
#endif
#endif // EXAMPLES_APPLICATION_JAVA_YOLOV8_CPP_INFER_DEMO_H_