-
Notifications
You must be signed in to change notification settings - Fork 648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JAVA Detector API #287
JAVA Detector API #287
Conversation
Codecov Report
@@ Coverage Diff @@
## dev-v0.5.0 #287 +/- ##
==============================================
+ Coverage 62.62% 63.11% +0.48%
==============================================
Files 219 212 -7
Lines 7291 7170 -121
Branches 1120 1108 -12
==============================================
- Hits 4566 4525 -41
+ Misses 2402 2322 -80
Partials 323 323
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* add postprocessing_masks gpu version * default device cpu * pre-commit fix Co-authored-by: hadoop-basecv <[email protected]>
csrc/apis/java/CMakeList.txt
Outdated
endif () | ||
endmacro() | ||
|
||
mmdeploy_java_add_module(detector) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Miss the definition of macro mmdeploy_java_add_module
.
If the target is a Module
, how it can be used, by loading a dynamic library or others?
csrc/apis/java/CMakeList.txt
Outdated
endif () | ||
endmacro() | ||
|
||
mmdeploy_java_add_module(detector) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Miss the definition of macro mmdeploy_java_add_module
.
If the target is a Module
, how it can be used, by loading a dynamic library or others?
…es list is passed (open-mmlab#310)
* fix formatter * relax GCC version requirement
* fix show * lint * remove redundant codes * resolve comment * type hint
* docs(build): add missing build option * docs(build): add onnx install * style(doc): trim whitespace * docs(build): revert install onnx * docs(build): add ncnn LD_LIBRARY_PATH * docs(build): fix path error
Merge remote-tracking branch 'upstream/dev-v0.5.0' into java_api
@hanrui1sensetime Can we provide an example showing how to use mmdeploy Java API as #388 did? |
Missing:
|
fed2c8f
to
f05a82c
Compare
endif () | ||
foreach (TASK ${TASK_LIST}) | ||
set(TARGET_NAME mmdeploy_${TASK}_javaapis) | ||
mmdeploy_add_module(${TARGET_NAME} SHARED ${TASK}.cpp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mmdeploy_add_library(${PROJECT_NAME} SHARED EXCLUDE ${TASK}.cpp)
Reimplement this feature in the other PR #563 |
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily receiving feedbacks. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Add JNI JAVA api for ncnn android demo.
Modification
Add JAVA detector api.
BC-breaking (Optional)
None.
Use cases (Optional)
Call the java api for the apk development.
Checklist