Skip to content

Conversation

@WinterGeng
Copy link
Contributor

Classification and Ocr's Documentation and example improvement.

@WinterGeng WinterGeng force-pushed the gbd_android branch 2 times, most recently from ec4d690 to 8ec70be Compare November 23, 2022 07:49
@DefTruth DefTruth changed the title Gbd android [Android] Add classification and ocr app examples Nov 23, 2022
@DefTruth DefTruth self-requested a review November 23, 2022 08:30
| APP 图标 | APP 效果 | APP设置项
| --- | --- | --- |
| ![app_pic ](https://user-images.githubusercontent.com/31974251/197170082-a2bdd49d-60ea-4df0-af63-18ed898a746e.jpg) | ![app_res](https://user-images.githubusercontent.com/31974251/197339363-ae7acd5d-88b8-4365-aea5-b27826c6a25f.jpg) | ![app_setup](https://user-images.githubusercontent.com/31974251/197339378-bb30b108-2d77-4b30-981d-d687b6fca8f6.jpg) |
| ![app_pic ](https://user-images.githubusercontent.com/14995488/203484427-83de2316-fd60-4baf-93b6-3755f9b5559d.jpg) | ![app_res](https://user-images.githubusercontent.com/14995488/203494666-16528cb3-0ce2-48fc-9f9e-37da17b2c2f6.jpg) | ![app_setup](https://user-images.githubusercontent.com/14995488/203484436-57fdd041-7dcc-4e0e-b6cb-43e5ac1e729b.jpg) |
Copy link
Member

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>
Copy link
Member

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')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这句删掉

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')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这句注释删掉

@WinterGeng WinterGeng force-pushed the gbd_android branch 2 times, most recently from 990be69 to 2681453 Compare November 24, 2022 06:47
@WinterGeng WinterGeng force-pushed the gbd_android branch 2 times, most recently from 8c1dc29 to 40f4ea9 Compare November 24, 2022 07:20
@DefTruth DefTruth merged commit 0d68d8a into PaddlePaddle:develop Nov 24, 2022
felixhjh pushed a commit to felixhjh/FastDeploy that referenced this pull request Dec 26, 2022
* Remove redundant code for segmentation.

* Classification Documentation and example improvement.

* Ocr Documentation and example improvement.

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants