Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-81
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2022-81
2022-81
Commits
6a536b6f
Commit
6a536b6f
authored
Oct 09, 2022
by
ranthilina99
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify changes
parent
99894a3a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
106 additions
and
3 deletions
+106
-3
.idea/vcs.xml
.idea/vcs.xml
+6
-0
app/.gitignore
app/.gitignore
+2
-1
app/build.gradle
app/build.gradle
+54
-1
app/google-services.json
app/google-services.json
+39
-0
build.gradle
build.gradle
+3
-0
gradle.properties
gradle.properties
+2
-1
No files found.
.idea/vcs.xml
0 → 100644
View file @
6a536b6f
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
""
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
app/.gitignore
View file @
6a536b6f
/build
/build
/src/main/assets
\ No newline at end of file
app/build.gradle
View file @
6a536b6f
plugins
{
plugins
{
id
'com.android.application'
id
'com.android.application'
id
'com.google.gms.google-services'
id
'com.chaquo.python'
}
}
android
{
android
{
compileSdkVersion
31
compileSdkVersion
31
buildToolsVersion
"30.0.3"
defaultConfig
{
defaultConfig
{
applicationId
"com.example.eketha"
applicationId
"com.example.eketha"
...
@@ -13,6 +16,37 @@ android {
...
@@ -13,6 +16,37 @@ android {
versionName
"1.0"
versionName
"1.0"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
ndk
{
abiFilters
"armeabi-v7a"
,
"x86"
}
python
{
buildPython
"C:/python/python.exe"
pip
{
install
"opencv-contrib-python-headless"
install
"pillow"
install
"numpy"
install
"fastapi"
install
"matplotlib"
install
"dlib"
install
"imutils"
install
"argparse"
install
"scipy"
}
}
sourceSets
{
main
{
python
.
srcDir
"src/main/python"
}
}
}
lintOptions
{
checkReleaseBuilds
false
}
}
buildTypes
{
buildTypes
{
...
@@ -25,14 +59,33 @@ android {
...
@@ -25,14 +59,33 @@ android {
sourceCompatibility
JavaVersion
.
VERSION_1_8
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
}
aaptOptions
{
noCompress
"tflite"
//noCompress "lite"
}
}
}
dependencies
{
dependencies
{
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
implementation
'com.android.support:appcompat-v7:26.1.0'
implementation
'androidx.appcompat:appcompat:1.4.1'
implementation
'androidx.appcompat:appcompat:1.4.1'
implementation
'com.google.android.material:material:1.5.0'
implementation
'com.google.android.material:material:1.5.0'
implementation
'com.android.support:support-annotations:27.1.1'
implementation
'com.android.support:cardview-v7:26.1.0'
implementation
'com.android.support:cardview-v7:26.1.0'
implementation
'androidx.constraintlayout:constraintlayout:2.1.3'
implementation
'androidx.constraintlayout:constraintlayout:2.1.3'
implementation
'com.google.firebase:firebase-firestore:23.0.3'
implementation
'com.google.firebase:firebase-auth:21.0.1'
implementation
'org.tensorflow:tensorflow-lite-support:0.1.0'
implementation
'org.tensorflow:tensorflow-lite-metadata:0.1.0'
implementation
'com.squareup.retrofit2:retrofit:2.3.0'
implementation
'com.squareup.retrofit2:converter-gson:2.3.0'
implementation
(
'org.tensorflow:tensorflow-lite:0.0.0-nightly'
)
{
changing
=
true
}
implementation
(
'org.tensorflow:tensorflow-lite-gpu:0.0.0-nightly'
)
{
changing
=
true
}
implementation
(
'org.tensorflow:tensorflow-lite-support:0.0.0-nightly'
)
{
changing
=
true
}
//Tensorflow Lite Dependencies
implementation
'org.tensorflow:tensorflow-lite:+'
testImplementation
'junit:junit:4.+'
testImplementation
'junit:junit:4.+'
androidTestImplementation
'androidx.test.ext:junit:1.1.3'
androidTestImplementation
'androidx.test.ext:junit:1.1.3'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.4.0'
...
...
app/google-services.json
0 → 100644
View file @
6a536b6f
{
"project_info"
:
{
"project_number"
:
"298794319825"
,
"project_id"
:
"e-ketha-1d78c"
,
"storage_bucket"
:
"e-ketha-1d78c.appspot.com"
},
"client"
:
[
{
"client_info"
:
{
"mobilesdk_app_id"
:
"1:298794319825:android:655562d35cdefc6beb2af0"
,
"android_client_info"
:
{
"package_name"
:
"com.example.eketha"
}
},
"oauth_client"
:
[
{
"client_id"
:
"298794319825-ggpi5ip7rblgnrtjd45agcgpta9vosfu.apps.googleusercontent.com"
,
"client_type"
:
3
}
],
"api_key"
:
[
{
"current_key"
:
"AIzaSyDUT3ASDvnYO9wWONGaXq8VceXfKTgYYGY"
}
],
"services"
:
{
"appinvite_service"
:
{
"other_platform_oauth_client"
:
[
{
"client_id"
:
"298794319825-ggpi5ip7rblgnrtjd45agcgpta9vosfu.apps.googleusercontent.com"
,
"client_type"
:
3
}
]
}
}
}
],
"configuration_version"
:
"1"
}
\ No newline at end of file
build.gradle
View file @
6a536b6f
...
@@ -3,9 +3,12 @@ buildscript {
...
@@ -3,9 +3,12 @@ buildscript {
repositories
{
repositories
{
google
()
google
()
mavenCentral
()
mavenCentral
()
maven
{
url
"https://chaquo.com/maven"
}
}
}
dependencies
{
dependencies
{
classpath
"com.android.tools.build:gradle:4.2.2"
classpath
"com.android.tools.build:gradle:4.2.2"
classpath
'com.google.gms:google-services:4.3.13'
classpath
"com.chaquo.python:gradle:9.1.0"
// NOTE: Do not place your application dependencies here; they belong
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// in the individual module build.gradle files
...
...
gradle.properties
View file @
6a536b6f
...
@@ -15,3 +15,4 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
...
@@ -15,3 +15,4 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# Android operating system, and which are packaged with your app"s APK
# Android operating system, and which are packaged with your app"s APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX
=
true
android.useAndroidX
=
true
android.enableJetifier
=
true
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment