Skip to content

Commit

Permalink
[ADD]#30 tflite 관련 파일 및 모델 연결 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
nrj022 committed Feb 20, 2024
1 parent 6a3eb65 commit d4b01fb
Show file tree
Hide file tree
Showing 16 changed files with 1,929 additions and 47 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ android {
}

dependencies {

implementation("org.tensorflow:tensorflow-lite:2.4.0")
implementation("org.tensorflow:tensorflow-lite-support:0.1.0")

// Serialization
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2"

Expand Down
15 changes: 15 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

<uses-permission android:name="android.permission.INTERNET" />

<uses-feature
android:name="android.hardware.camera"
android:required="true" />

<uses-permission android:name="android.permission.CAMERA" />

<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
Expand All @@ -15,6 +21,15 @@
android:theme="@style/Theme.COMMA"
android:usesCleartextTraffic="true"
tools:targetApi="31">
<activity
android:name=".ui.camera.CameraActivity"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.card.SelectCardActivity"
android:exported="false" />
Expand Down
Loading

0 comments on commit d4b01fb

Please sign in to comment.