-
Notifications
You must be signed in to change notification settings - Fork 475
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
[Android] Add classification and ocr app examples #676
Conversation
# Conflicts: # java/android/app/src/main/java/com/baidu/paddle/fastdeploy/app/examples/segmentation/SegmentationMainActivity.java
ec4d690
to
8ec70be
Compare
8ec70be
to
1851eb9
Compare
@@ -30,7 +30,7 @@ | |||
|
|||
| APP 图标 | APP 效果 | APP设置项 | |||
| --- | --- | --- | | |||
|  |  |  | | |||
|  |  |  | |
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.
每个文档中的NDK说明删掉吧,以及文档最后的文档链接需要参考最新的examples/vision/detection/paddledetection/android中的文档来修改
- 修改 `app/src/main/res/values/strings.xml` 中模型路径的默认值,如: | ||
```xml | ||
<!-- 将这个路径指修改成您的模型,如 models/picodet_l_320_coco_lcnet --> | ||
<string name="DETECTION_MODEL_DIR_DEFAULT">models</string> |
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.
这里不是‘DETECTION_XXX’,应该修改成OCR对应的字段,包括注释也需要作相应的修改
implementation 'com.android.support.constraint:constraint-layout:1.1.3' | ||
implementation 'com.android.support:design:28.0.0' | ||
implementation 'org.jetbrains:annotations:15.0' | ||
// implementation project(path: ':fastdeploy') |
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.
这句删掉
implementation 'com.android.support:appcompat-v7:28.0.0' | ||
//noinspection GradleDependency | ||
implementation 'com.android.support.constraint:constraint-layout:1.1.3' | ||
implementation 'com.android.support:design:28.0.0' | ||
implementation 'org.jetbrains:annotations:15.0' | ||
// implementation project(path: ':fastdeploy') |
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.
这句注释删掉
990be69
to
2681453
Compare
8c1dc29
to
40f4ea9
Compare
40f4ea9
to
f2cacaf
Compare
* Remove redundant code for segmentation. * Classification Documentation and example improvement. * Ocr Documentation and example improvement. Co-authored-by: DefTruth <[email protected]>
Classification and Ocr's Documentation and example improvement.