Commit Graph

44 Commits

Author SHA1 Message Date
DefTruth
13842e6be4 [Doc] Update RuntimeOption API docs (#813)
[Android] Update RuntimeOption API docs
2022-12-07 13:21:54 +08:00
Winter
8b2f2314ca [Android] change welcome page. (#792)
* Remove redundant code for segmentation.

* Classification Documentation and example improvement.

* Ocr Documentation and example improvement.

* 1.detection、face、seg module add "svPreview.enableCamera();".
2.java/android add fastdepolyUi module.

* examples/vision/ to add OCRv3.

* Modify UI directory name.

* Refresh examples\vision,change OCR README.md

* Update ui module

* Update ui module

* [Android] add enableCamera method.

* [Android] add welcome page.

* [Android] add text:“Power by EasyEdge”.

* [Android] change welcome page.

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2022-12-05 10:55:31 +08:00
Winter
0d53ebb060 [Android] add app welcome page (#766)
* Remove redundant code for segmentation.

* Classification Documentation and example improvement.

* Ocr Documentation and example improvement.

* 1.detection、face、seg module add "svPreview.enableCamera();".
2.java/android add fastdepolyUi module.

* examples/vision/ to add OCRv3.

* Modify UI directory name.

* Refresh examples\vision,change OCR README.md

* Update ui module

* Update ui module

* [Android] add enableCamera method.

* [Android] add welcome page.

* [Android] add text:“Power by EasyEdge”.

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2022-12-01 14:55:12 +08:00
DefTruth
63f60aa35c [Android] Add PP-OCRv3 int8 docs and fix NULL cls result error (#762)
* [Android] Update ppseg jni via new api and optimize jni vis funcs

* delete local refs

* [Android] Add PPTinyPose jni and java api

* [Android] Update gradle download tasks info

* [Android] Add PPTinyPose Android app example

* update app build.gradle

* [Android] Add PP-OCRv3 int8 docs and fix NULL cls result error
2022-12-01 11:16:40 +08:00
DefTruth
8e4a38ce21 [Android] Support PPTinyPose on Android (#746)
* [Android] Update ppseg jni via new api and optimize jni vis funcs

* delete local refs

* [Android] Add PPTinyPose jni and java api

* [Android] Update gradle download tasks info

* [Android] Add PPTinyPose Android app example

* update app build.gradle
2022-11-30 16:29:20 +08:00
DefTruth
d7c4d72972 [Doc] Update java/android README.md (#753) 2022-11-30 13:54:15 +08:00
Winter
298a4084c2 [Android] Update ui module structure. (#706)
* Remove redundant code for segmentation.

* Classification Documentation and example improvement.

* Ocr Documentation and example improvement.

* 1.detection、face、seg module add "svPreview.enableCamera();".
2.java/android add fastdepolyUi module.

* examples/vision/ to add OCRv3.

* Modify UI directory name.

* Refresh examples\vision,change OCR README.md

* Update ui module

* Update ui module

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2022-11-29 21:48:02 +08:00
DefTruth
bfffbc7712 [Android] Update ppseg jni via new api and optimize jni vis func (#734)
* [Android] Update ppseg jni via new api and optimize jni vis funcs

* delete local refs
2022-11-29 09:34:34 +08:00
DefTruth
205ead8f68 [Doc] Update Android SDK usage docs (#727)
* [Doc] Update Android Usage docs

* [Doc] Update Android en build docs

* fix typos
2022-11-28 18:46:14 +08:00
DefTruth
2a7705d7e8 [Bug Fix] fix libomp.so not found error (#715)
* [Android] Add VisSegmentation NEON support

* [ARM] change vqaddq_u8 -> vaddq_u8

* [ARM] change vqaddq_u8 -> vaddq_u8

* [Bug Fix] add FDASSERT

* update assert info

* add QuantizeBlendingWeight8

* Update QuantizeBlendingWeight8

* Update VisSegmentation

* [Visualize] add DefaultVisualizeType and EnableFastVisuzlie

* fix typos

* fix typo

* Update VisSegmentation

* [Android] Add omp parallel support for Android

* Add omp schedule(static)

* [Bug Fix] fix libomp.so not found error
2022-11-28 13:32:28 +08:00
DefTruth
e53838c475 [Bug Fix] add enableCamera method to fix app crash (#696)
* [Android] Add CxxBuffer to native PaddleSegModel

* [Android] Add PaddleSeg android app example

* [Android] Add SCRFD android app example

* [Doc] fix typos

* [Android] revert camera setting changes

* [Bug Fix] fixed ppdet postprocess empty result error

* [Android] add enableCamera method to fix app crash
2022-11-25 09:01:35 +08:00
DefTruth
c2714000b5 [Android] Add SCRFD android app example (#682)
* [Android] Add CxxBuffer to native PaddleSegModel

* [Android] Add PaddleSeg android app example

* [Android] Add SCRFD android app example

* [Doc] fix typos

* [Android] revert camera setting changes
2022-11-23 21:08:27 +08:00
DefTruth
ff5fb248ff [Android] Add CxxBuffer to native and Java PaddleSegModel (#677)
[Android] Add CxxBuffer to native PaddleSegModel
2022-11-23 16:10:11 +08:00
DefTruth
cd5cc98ba3 [Doc] Update paddledetection/android app example (#663)
* [Bug Fix] fix android app detail page errors

* [Android] fix realtime camera mode and shutter

* [Bug Fix] fix AllocateSegmentationResultFromJava error

* [Bug Fix] fix camera preview size setting problem

* [Model] use uint8 buffer instead of fp32 in ppseg postprocess

* [Model] revert changes in ppseg

* [Model] revert postprocess changes in ppseg

* [Android] add fastdeploy android sdk download task

* [Bug Fix] fix yolov5face scale error in small image

* [Doc] Update Android SDK docs

* [Doc] Update Android SDK usage docs

* [Android] Update paddledetection/android app example
2022-11-22 19:41:03 +08:00
DefTruth
efc800adec [Doc] Update Android SDK usage docs (#657)
* [Bug Fix] fix android app detail page errors

* [Android] fix realtime camera mode and shutter

* [Bug Fix] fix AllocateSegmentationResultFromJava error

* [Bug Fix] fix camera preview size setting problem

* [Model] use uint8 buffer instead of fp32 in ppseg postprocess

* [Model] revert changes in ppseg

* [Model] revert postprocess changes in ppseg

* [Android] add fastdeploy android sdk download task

* [Bug Fix] fix yolov5face scale error in small image

* [Doc] Update Android SDK docs

* [Doc] Update Android SDK usage docs
2022-11-22 17:00:07 +08:00
DefTruth
823b3f7015 [Bug Fix] fix yolov5face scale error in small image (#649)
* [Bug Fix] fix android app detail page errors

* [Android] fix realtime camera mode and shutter

* [Bug Fix] fix AllocateSegmentationResultFromJava error

* [Bug Fix] fix camera preview size setting problem

* [Model] use uint8 buffer instead of fp32 in ppseg postprocess

* [Model] revert changes in ppseg

* [Model] revert postprocess changes in ppseg

* [Android] add fastdeploy android sdk download task

* [Bug Fix] fix yolov5face scale error in small image
2022-11-21 21:11:52 +08:00
Winter
04566e5fe4 [Android] Remove redundant code for segmentation app (#642)
Remove redundant code for segmentation.

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2022-11-21 18:44:37 +08:00
DefTruth
7ceb082077 [Android] add fastdeploy android sdk download task (#646)
* [Bug Fix] fix android app detail page errors

* [Android] fix realtime camera mode and shutter

* [Bug Fix] fix AllocateSegmentationResultFromJava error

* [Bug Fix] fix camera preview size setting problem

* [Model] use uint8 buffer instead of fp32 in ppseg postprocess

* [Model] revert changes in ppseg

* [Model] revert postprocess changes in ppseg

* [Android] add fastdeploy android sdk download task
2022-11-21 15:22:28 +08:00
DefTruth
10ac610df6 [Bug Fix] fix camera preview size setting problem (#638)
* [Bug Fix] fix android app detail page errors

* [Android] fix realtime camera mode and shutter

* [Bug Fix] fix AllocateSegmentationResultFromJava error

* [Bug Fix] fix camera preview size setting problem

* [Model] use uint8 buffer instead of fp32 in ppseg postprocess

* [Model] revert changes in ppseg

* [Model] revert postprocess changes in ppseg
2022-11-21 10:52:11 +08:00
DefTruth
1609ce1bab [Bug Fix] fix AllocateFaceDetectionResultFromJava error (#628)
* [Bug Fix] fix android app detail page errors

* [Android] fix realtime camera mode and shutter

* [Bug Fix] fix AllocateSegmentationResultFromJava error
2022-11-18 11:12:16 +08:00
DefTruth
c19dcce77c [Bug Fix] fix realtime camera mode and shutter (#625)
* [Bug Fix] fix android app detail page errors

* [Android] fix realtime camera mode and shutter
2022-11-17 23:46:59 +08:00
DefTruth
595375e70c [Bug Fix] fix android app detail page errors (#624) 2022-11-17 21:37:58 +08:00
Winter
a4904269d5 [Android] Configure face recognition and segmentation details page (#619)
* 1.Classification Code submission;
2.Specification code format.

* Specification code format.

* Update strings.xml

* 1.Display ocr, detection and classification results.
2.Specification code format.

* Configure face recognition and semantic segmentation details page.

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2022-11-17 19:18:47 +08:00
DefTruth
3c5e8cd95d [Android] Add PaddleSeg Android app example (#620)
[Android] Add PaddleSeg Android app example
2022-11-17 16:12:07 +08:00
DefTruth
bd53d48f9a [Bug Fix] fix CopyShutterBitmap and async camera pause (#617)
* [Backend] fix lite backend save model error

* [Backend] fixed typos

* [FlyCV] optimize the integration of FlyCV

* [cmake] close some tests options

* [cmake] close some test option

* [FlyCV] remove un-need warnings

* [FlyCV] remove un-need GetMat method

* [FlyCV] optimize FlyCV codes

* [cmake] remove un-need cmake function in examples/CMakelists

* [cmake] support gflags for Android

* [Android] Run button shutter in sub Ui Thread

* [Android] Update CameraSurfaceView

* [Android] Update Android SDK usage docs

* [Android] Add facedet Android app example

* [cmake] fix FastDeploy.cmake.in errors for Android

* [Doc] update SetProcLibCpuNumThreads API doc

* [Bug Fix] fix CopyShutterBitmap and async camera pause
2022-11-17 10:59:47 +08:00
DefTruth
ac805c26d9 [Bug Fix] fix FastDeploy.cmake.in errors for Android (#616)
* [Backend] fix lite backend save model error

* [Backend] fixed typos

* [FlyCV] optimize the integration of FlyCV

* [cmake] close some tests options

* [cmake] close some test option

* [FlyCV] remove un-need warnings

* [FlyCV] remove un-need GetMat method

* [FlyCV] optimize FlyCV codes

* [cmake] remove un-need cmake function in examples/CMakelists

* [cmake] support gflags for Android

* [Android] Run button shutter in sub Ui Thread

* [Android] Update CameraSurfaceView

* [Android] Update Android SDK usage docs

* [Android] Add facedet Android app example

* [cmake] fix FastDeploy.cmake.in errors for Android

* [Doc] update SetProcLibCpuNumThreads API doc
2022-11-16 22:33:04 +08:00
DefTruth
606494a571 [Android] Add facedet Android app example (#614)
* [Backend] fix lite backend save model error

* [Backend] fixed typos

* [FlyCV] optimize the integration of FlyCV

* [cmake] close some tests options

* [cmake] close some test option

* [FlyCV] remove un-need warnings

* [FlyCV] remove un-need GetMat method

* [FlyCV] optimize FlyCV codes

* [cmake] remove un-need cmake function in examples/CMakelists

* [cmake] support gflags for Android

* [Android] Run button shutter in sub Ui Thread

* [Android] Update CameraSurfaceView

* [Android] Update Android SDK usage docs

* [Android] Add facedet Android app example
2022-11-16 17:56:18 +08:00
DefTruth
fd5328239d [Doc] Update Android SDK usage docs (#605)
* [Backend] fix lite backend save model error

* [Backend] fixed typos

* [FlyCV] optimize the integration of FlyCV

* [cmake] close some tests options

* [cmake] close some test option

* [FlyCV] remove un-need warnings

* [FlyCV] remove un-need GetMat method

* [FlyCV] optimize FlyCV codes

* [cmake] remove un-need cmake function in examples/CMakelists

* [cmake] support gflags for Android

* [Android] Run button shutter in sub Ui Thread

* [Android] Update CameraSurfaceView

* [Android] Update Android SDK usage docs
2022-11-16 11:11:02 +08:00
DefTruth
7084a94bdc [Android] Run button shutter in sub Ui Thread (#598)
* [Backend] fix lite backend save model error

* [Backend] fixed typos

* [FlyCV] optimize the integration of FlyCV

* [cmake] close some tests options

* [cmake] close some test option

* [FlyCV] remove un-need warnings

* [FlyCV] remove un-need GetMat method

* [FlyCV] optimize FlyCV codes

* [cmake] remove un-need cmake function in examples/CMakelists

* [cmake] support gflags for Android

* [Android] Run button shutter in sub Ui Thread

* [Android] Update CameraSurfaceView
2022-11-15 18:59:42 +08:00
Winter
a24004ac8d [Android] Add classification app examples (#590)
* 1.Classification Code submission;
2.Specification code format.

* Specification code format.

* Update strings.xml

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2022-11-15 12:53:26 +08:00
DefTruth
8c79183ea4 [Android] fix JNI OCRResult allocate errors (#588)
* [FlyCV] Add global SetProcLibCpuNumThreads method

* [Android] Support segmentation and facedet in Android

* [Android] add JNI instance check to j_runtime_option_obj

* [Model] fixed ppseg flycv resize error

* [FlyCV] fix FlyCV resize flags

* [cmake] remove un-need lite compile option

* [Android] add PaddleSegModel JNI and fix some bugs

* [Android] bind PaddleSegModel via JNI

* [Android] bind VisSegmentation via JNI

* [Android] bind YOLOv5Face and SCRFD via JNI

* [Android] fix NewJavaFaceDetectionResultFromCxx error

* [Android] remove un-need option in Java RuntimeOption

* [Android] fixed OcrMainActivity setting errors

* [Android] Update Android SDK usage docs

* [Android] Update Android SDK usage docs

* [Android] fix JNI OCRResult allocate errors
2022-11-14 21:33:16 +08:00
DefTruth
9c1bd4d2f0 [Android] Update Android SDK usage docs (#586)
* [FlyCV] Add global SetProcLibCpuNumThreads method

* [Android] Support segmentation and facedet in Android

* [Android] add JNI instance check to j_runtime_option_obj

* [Model] fixed ppseg flycv resize error

* [FlyCV] fix FlyCV resize flags

* [cmake] remove un-need lite compile option

* [Android] add PaddleSegModel JNI and fix some bugs

* [Android] bind PaddleSegModel via JNI

* [Android] bind VisSegmentation via JNI

* [Android] bind YOLOv5Face and SCRFD via JNI

* [Android] fix NewJavaFaceDetectionResultFromCxx error

* [Android] remove un-need option in Java RuntimeOption

* [Android] fixed OcrMainActivity setting errors

* [Android] Update Android SDK usage docs

* [Android] Update Android SDK usage docs
2022-11-14 19:31:20 +08:00
DefTruth
8c6b1935c2 [Android] fixed OcrMainActivity setting errors (#578)
* [FlyCV] Add global SetProcLibCpuNumThreads method

* [Android] Support segmentation and facedet in Android

* [Android] add JNI instance check to j_runtime_option_obj

* [Model] fixed ppseg flycv resize error

* [FlyCV] fix FlyCV resize flags

* [cmake] remove un-need lite compile option

* [Android] add PaddleSegModel JNI and fix some bugs

* [Android] bind PaddleSegModel via JNI

* [Android] bind VisSegmentation via JNI

* [Android] bind YOLOv5Face and SCRFD via JNI

* [Android] fix NewJavaFaceDetectionResultFromCxx error

* [Android] remove un-need option in Java RuntimeOption

* [Android] fixed OcrMainActivity setting errors
2022-11-14 12:50:15 +08:00
DefTruth
f1ebcf7a13 [Android] remove unnecessary option in Java RuntimeOption (#577)
* [FlyCV] Add global SetProcLibCpuNumThreads method

* [Android] Support segmentation and facedet in Android

* [Android] add JNI instance check to j_runtime_option_obj

* [Model] fixed ppseg flycv resize error

* [FlyCV] fix FlyCV resize flags

* [cmake] remove un-need lite compile option

* [Android] add PaddleSegModel JNI and fix some bugs

* [Android] bind PaddleSegModel via JNI

* [Android] bind VisSegmentation via JNI

* [Android] bind YOLOv5Face and SCRFD via JNI

* [Android] fix NewJavaFaceDetectionResultFromCxx error

* [Android] remove un-need option in Java RuntimeOption
2022-11-14 10:48:02 +08:00
DefTruth
6a368f3448 [Android] Support segmentation and facedet in Android (#567)
* [FlyCV] Add global SetProcLibCpuNumThreads method

* [Android] Support segmentation and facedet in Android

* [Android] add JNI instance check to j_runtime_option_obj

* [Model] fixed ppseg flycv resize error

* [FlyCV] fix FlyCV resize flags

* [cmake] remove un-need lite compile option

* [Android] add PaddleSegModel JNI and fix some bugs

* [Android] bind PaddleSegModel via JNI

* [Android] bind VisSegmentation via JNI

* [Android] bind YOLOv5Face and SCRFD via JNI

* [Android] fix NewJavaFaceDetectionResultFromCxx error
2022-11-13 17:47:50 +08:00
DefTruth
7460b2561d [Android] Update fastdeploy Android app ui module (#531)
Revert "[Android] Revert update fastdeploy Android app ui module (#530)"

This reverts commit 628b2d130d.
2022-11-08 19:13:50 +08:00
DefTruth
628b2d130d [Android] Revert update fastdeploy Android app ui module (#530)
Revert "[Android] Update fastdeploy Android app ui module"
2022-11-08 18:59:25 +08:00
Winter
277c86e612 modify2 2022-11-08 15:36:55 +08:00
DefTruth
09227b2ffc append Merge branch 'develop' into gbd_android 2022-11-08 10:50:01 +08:00
DefTruth
ff24ed6a54 [Other] Add global SetProcLibCpuNumThreads method (#513)
[FlyCV] Add global SetProcLibCpuNumThreads method
2022-11-07 19:45:12 +08:00
WinterGeng
87823173bb specification has submitted code. 2022-11-07 18:50:53 +08:00
WinterGeng
3fd54d6884 1.Move EasyEdge Ui code to fastdeploy;
2.Add photo recognition, real-time recognition, album selection recognition, detail page display and other functions.
2022-11-03 10:32:43 +08:00
DefTruth
04704c8411 [Android] Support PP-OCRv2 & PP-OCRv3 in Android (#445)
* [Android] Add Android build docs and demo (#26)

* [Backend] Add override flag to lite backend

* [Docs] Add Android C++ SDK build docs

* [Doc] fix android_build_docs typos

* Update CMakeLists.txt

* Update android.md

* [Doc] Add PicoDet Android demo docs

* [Doc] Update PicoDet Andorid demo docs

* [Doc] Update PaddleClasModel Android demo docs

* [Doc] Update fastdeploy android jni docs

* [Doc] Update fastdeploy android jni usage docs

* [Android] init fastdeploy android jar package

* [Backend] support int8 option for lite backend

* [Model] add Backend::Lite to paddle model

* [Backend] use CopyFromCpu for lite backend.

* [Android] package jni srcs and java api into aar

* Update infer.cc

* Update infer.cc

* [Android] Update package build.gradle

* [Android] Update android app examples

* [Android] update android detection app

* [Android] Support PP-OCRv2 & PP-OCRv3 in Android

* [Android] bind ORCResult with JNI

* [Android] move static class jni method to instance method

* [Android] bind VisOcr and VisClassification via JNI

* [Android] Add PP-OCRv2 & v3 android demo
2022-10-28 10:56:47 +08:00
DefTruth
a51e5a6e55 [Android] Add android aar package (#416)
* [Android] Add Android build docs and demo (#26)

* [Backend] Add override flag to lite backend

* [Docs] Add Android C++ SDK build docs

* [Doc] fix android_build_docs typos

* Update CMakeLists.txt

* Update android.md

* [Doc] Add PicoDet Android demo docs

* [Doc] Update PicoDet Andorid demo docs

* [Doc] Update PaddleClasModel Android demo docs

* [Doc] Update fastdeploy android jni docs

* [Doc] Update fastdeploy android jni usage docs

* [Android] init fastdeploy android jar package

* [Backend] support int8 option for lite backend

* [Model] add Backend::Lite to paddle model

* [Backend] use CopyFromCpu for lite backend.

* [Android] package jni srcs and java api into aar

* Update infer.cc

* Update infer.cc

* [Android] Update package build.gradle

* [Android] Update android app examples

* [Android] update android detection app
2022-10-26 17:01:14 +08:00