Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5af0cad
[Android] Add Android build docs and demo (#26)
DefTruth Oct 23, 2022
041f684
Merge branch 'PaddlePaddle:develop' into fastdeploy_jar_dev
DefTruth Oct 23, 2022
e919fe0
[Android] init fastdeploy android jar package
DefTruth Oct 23, 2022
e669b0a
Merge branch 'fastdeploy_jar_dev' of https://github.com/DefTruth/Fast…
DefTruth Oct 23, 2022
4197da9
[Backend] support int8 option for lite backend
DefTruth Oct 24, 2022
13bd1a1
Merge branch 'PaddlePaddle:develop' into fastdeploy_jar_dev
DefTruth Oct 24, 2022
3246c25
Merge branch 'fastdeploy_jar_dev' of https://github.com/DefTruth/Fast…
DefTruth Oct 24, 2022
abf0c63
[Model] add Backend::Lite to paddle model
DefTruth Oct 24, 2022
2f2fb3a
[Backend] use CopyFromCpu for lite backend.
DefTruth Oct 25, 2022
4683099
Merge branch 'develop' into fastdeploy_jar_dev
DefTruth Oct 25, 2022
fc513c8
[Android] package jni srcs and java api into aar
DefTruth Oct 25, 2022
fc48b21
Merge branch 'fastdeploy_jar_dev' of https://github.com/DefTruth/Fast…
DefTruth Oct 25, 2022
dae4b03
Merge branch 'PaddlePaddle:develop' into fastdeploy_jar_dev
DefTruth Oct 26, 2022
b610586
Update infer.cc
DefTruth Oct 26, 2022
1eaf943
Update infer.cc
DefTruth Oct 26, 2022
682e5bd
[Android] Update package build.gradle
DefTruth Oct 26, 2022
d9d5cc2
Merge branch 'fastdeploy_jar_dev' of https://github.com/DefTruth/Fast…
DefTruth Oct 26, 2022
0685099
[Android] Update android app examples
DefTruth Oct 26, 2022
2b2e1de
[Android] update android detection app
DefTruth Oct 26, 2022
95ff3d6
Merge branch 'develop' into fastdeploy_jar_dev
DefTruth Oct 26, 2022
642f30e
Merge branch 'PaddlePaddle:develop' into fastdeploy_jar_dev
DefTruth Oct 27, 2022
109d1c0
[Android] Support PP-OCRv2 & PP-OCRv3 in Android
DefTruth Oct 27, 2022
c63cc5e
Merge branch 'fastdeploy_jar_dev' of https://github.com/DefTruth/Fast…
DefTruth Oct 27, 2022
c2c8752
[Android] bind ORCResult with JNI
DefTruth Oct 27, 2022
43ca5aa
[Android] move static class jni method to instance method
DefTruth Oct 27, 2022
10a8300
Merge branch 'develop' into fastdeploy_jar_dev
DefTruth Oct 27, 2022
129954c
[Android] bind VisOcr and VisClassification via JNI
DefTruth Oct 27, 2022
c491c79
Merge branch 'fastdeploy_jar_dev' of https://github.com/DefTruth/Fast…
DefTruth Oct 27, 2022
efdc7ba
[Android] Add PP-OCRv2 & v3 android demo
DefTruth Oct 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions java/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.baidu.paddle.fastdeploy.app.examples.detection">
package="com.baidu.paddle.fastdeploy.app.examples">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
Expand All @@ -11,18 +11,18 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:label="@string/ocr_app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name="com.baidu.paddle.fastdeploy.app.examples.detection.MainActivity">
<activity android:name="com.baidu.paddle.fastdeploy.app.examples.ocr.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity
android:name="com.baidu.paddle.fastdeploy.app.examples.detection.SettingsActivity"
android:name="com.baidu.paddle.fastdeploy.app.examples.ocr.SettingsActivity"
android:label="Settings">
</activity>
</application>
Expand Down
94 changes: 94 additions & 0 deletions java/android/app/src/main/assets/labels/en_dict.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
0
1
2
3
4
5
6
7
8
9
:
;
<
=
>
?
@
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_
`
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
{
|
}
~
!
"
#
$
%
&
'
(
)
*
+
,
-
.
/
Loading