team-healthc / healthc_android Goto Github PK
View Code? Open in Web Editor NEWHealthC, an application that utilizes OCR and object recognition to detect potential allergens.
License: MIT License
HealthC, an application that utilizes OCR and object recognition to detect potential allergens.
License: MIT License
presentation ๊ธฐ๋ฅ๋ผ๋ฆฌ package ํตํฉ
๋ชจ๋ ๊ตฌ์กฐ
ํ๋ฉด ์ฌ์ง ์ฒ๋ฆฌ ๊ณผ์ ์์ ๋ก๋ฉ ํ๋ฉด ๊ตฌํํ๊ธฐ
์๋ฌ์ง ์์ ๊ฒ์์ด ์์ด๋ง ์ง์ํจ. ํ์ฌ ํ๊ธ, ์์ด ๋ชจ๋ ์์ฑ ๊ฐ๋ฅํจ
- ํ๊ธ๋ก ๊ฒ์์ ๋น์ฐํ ์ค๋ฅ
- ๊ฒ์์ฐฝ ์ญ์ ๋ฐ ๋ฒํผ์ผ๋ก ๊ฒ์ํ ์ ์๋๋ก ์ ๋
๊ฒ์ ์ ๊ฐ์ฒด์ ๋งคํํ ์ํ๋ก ๊ฒ์์ด ์ ๋ฌํจ.
- ๊ฒ์์ด๋ง ์ ๋ฌํ๋๋ก ์์
์ํ ๊ฒ์์ serving response number ๊ฐ Double
์นด๋ฉ๋ผ ์ดฌ์ ๋ฐ ์ ์ฅ ๊ธฐ๋ฅ ๊ตฌํ
Repository lib version update
์คํ๋์ฌ ์คํฌ๋ฆฐ ๊ตฌํ
๊ณต๊ณต๋ฐ์ดํฐ๋ฅผ ํ์ฉํ ๊ฐ๊ณต์ํ ๊ฒ์ ๊ธฐ๋ฅ ๊ตฌํ ๋ฐ ์์ฌ๋ฃ์ ๊ธฐ๋ฐํ ์๋ฌ์ง ํ์ ๊ตฌํ
ํ๋ก์ ํธ ์ด๊ธฐ ์ธํ
์์ข์์ข!!
์๋ ๋ก๊ทธ์ธ ๋ฐ ๋ก๊ทธ์์ ๊ตฌํ
ํ๊ตญ์ด ๊ฐ๊ณต์ํ, ํด์ธ ๊ฐ๊ณต์ํ ๊ฒ์์ฐฝ ํต์ผ, ๊ฐ๊ฐ ์ํ List ์ถ๊ฐ๋ก ํ๋ฉด ๊ตฌํ ๋ฐ Ui ์์
๋ฐ๋ก ๊ฒ์ ๋ฒํผ์ ๋์ง ์๊ณ ํค๋ณด๋์ ๊ฒ์ ๋ฒํผ ์ถ๊ฐํ๊ธฐ
์๋ฌ์ง ์ฌ๋ฃ๊ฐ ํฌํจ๋ ์์์ ์๊ฐํ๋ ๋ฐฑ๊ณผ์ฌ์ ๊ตฌํ
Readme์ ์ฌ์ฉํ ๋ณ๊ฒฝ๋ ์ด๋ฏธ์ง ์
๋ก๋
negative dialog ๋ด์ฉ bug fix
ํ๋ฌ๊ทธ์ธ import ์์
์ํ ๋ฐ ์ฌ๋ฃ ๊ฒ์ํ ๋ ๋ก๋ฉ ํ๋ฉด ๊ตฌํ ๋ฐ ๊ฒ์ ๊ฒฐ๊ณผ ์์ ๋ ์๋ต ํ๋ฉด ๊ตฌํ
Retrofit ์ฌ์ฉ io dispatcher ์๊ฑฐ
ํจ์๋ช - ๋ค์ค ์์ ๊ฐ์ ธ์ฌ ์ s -> list
Firebase ๋ก์ง ๋ค data๋ก ์ฎ๊ธฐ๊ธฐ
domain : UseCase ๊ตฌ์ฑ
presentation์์ repository method -> usecase
viewModel Event ์์ , LiveData -> StateFlow
์ธ์๋ ์์์ ๋ฐ๋ผ ์ฌ๋ฃ ์ถ์ถ ๋ก์ง ๊ตฌํ
์ธ์๋ ๋ค์ค ์์ - ๋ฆฌ์ฌ์ดํด ๋ทฐ๋ก ๋ณด์ฌ์ฃผ๊ธฐ
์ฌ์ฉ์๊ฐ ์ ํํ ์์ - ์ฌ๋ฃ ์ถ์ถ ๋ก์ง ๋ณด์ฌ์ฃผ๊ธฐ (์์์ ๋ฐ๋ฅธ ์ฌ๋ฃ ํ
์ด๋ธ ๊ตฌํ && Firestore GET ๋ก์ง ๊ตฌํ)
์ฌ๋ฃ์ ๋ฐ๋ผ ๋จน์ ์ ์๋ ์์์ธ์ง ์๋์ง ๋ณด์ฌ์ฃผ๊ธฐ
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
org.jetbrains.kotlin.kapt
, org.jetbrains.kotlin.jvm
, org.jetbrains.kotlin.android
, org.jetbrains.kotlin:kotlin-stdlib
, org.jetbrains.kotlin:kotlin-gradle-plugin
)com.squareup.okhttp3:logging-interceptor
, com.squareup.okhttp3:okhttp
)org.pytorch:pytorch_android_torchvision_lite
, org.pytorch:pytorch_android_lite
)org.pytorch:pytorch_android_torchvision_lite
, org.pytorch:pytorch_android_lite
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
androidx.navigation.safeargs.kotlin
, androidx.navigation:navigation-ui-ktx
, androidx.navigation:navigation-fragment-ktx
, androidx.navigation:navigation-safe-args-gradle-plugin
)com.android.library
, com.android.application
, com.android.tools.build:gradle
)com.google.dagger.hilt.android
, com.google.dagger:hilt-compiler
, com.google.dagger:hilt-android
, com.google.dagger:hilt-android-gradle-plugin
)androidx.camera:camera-extensions
, androidx.camera:camera-lifecycle
, androidx.camera:camera-view
)com.google.gms.google-services
, com.google.gms:google-services
)client/gradle.properties
client/settings.gradle
client/build.gradle.kts
client/app/build.gradle.kts
client/build-logic/settings.gradle
client/build-logic/convention/build.gradle.kts
client/data/build.gradle.kts
client/domain/build.gradle.kts
client/gradle/libs.version.toml
com.android.tools.build:gradle 8.1.1
org.jetbrains.kotlin:kotlin-gradle-plugin 1.9.10
com.google.dagger:hilt-android-gradle-plugin 2.48
androidx.navigation:navigation-safe-args-gradle-plugin 2.7.2
org.jetbrains.kotlin:kotlin-stdlib 1.9.10
org.jetbrains.kotlinx:kotlinx-coroutines-android 1.7.3
androidx.core:core-ktx 1.10.1
androidx.appcompat:appcompat 1.6.1
androidx.lifecycle:lifecycle-viewmodel-ktx 2.6.2
androidx.constraintlayout:constraintlayout 2.1.4
androidx.lifecycle:lifecycle-runtime-ktx 2.6.2
androidx.fragment:fragment-ktx 1.6.1
androidx.core:core-splashscreen 1.0.1
androidx.navigation:navigation-fragment-ktx 2.7.2
androidx.navigation:navigation-ui-ktx 2.7.2
androidx.camera:camera-view 1.2.3
androidx.camera:camera-lifecycle 1.2.3
androidx.camera:camera-extensions 1.2.3
com.google.gms:google-services 4.3.15
com.google.android.material:material 1.9.0
com.google.firebase:firebase-bom 32.3.1
com.google.android.gms:play-services-mlkit-text-recognition 19.0.0
com.google.mlkit:text-recognition-korean 16.0.0
com.google.firebase:firebase-crashlytics-gradle 2.9.9
com.squareup.okhttp3:okhttp 4.11.0
com.squareup.okhttp3:logging-interceptor 4.11.0
com.squareup.retrofit2:retrofit 2.9.0
com.squareup.retrofit2:converter-moshi 2.9.0
com.jakewharton.timber:timber 5.0.1
com.google.dagger:hilt-android 2.48
com.google.dagger:hilt-compiler 2.48
com.github.bumptech.glide:glide 4.15.1
land.sungbin:systemuicontroller 1.0.1
org.pytorch:pytorch_android_lite 1.12.2
org.pytorch:pytorch_android_torchvision_lite 1.12.2
junit:junit 4.13.2
androidx.test.ext:junit 1.1.5
androidx.test.espresso:espresso-core 3.5.1
com.android.application 8.1.1
com.android.library 8.1.1
androidx.navigation.safeargs.kotlin 2.7.2
org.jetbrains.kotlin.android 1.9.10
org.jetbrains.kotlin.jvm 1.9.10
org.jetbrains.kotlin.kapt 1.9.10
com.google.devtools.ksp 1.9.10-1.0.13
com.google.gms.google-services 4.3.15
com.google.firebase.crashlytics 2.9.9
com.google.dagger.hilt.android 2.48
client/gradle/wrapper/gradle-wrapper.properties
gradle 8.0
๋คํธ์ํฌ ์์ IO Dispatcher์๊ฒ ์ ๋ฌ
ํ์๊ฐ์ ๊ธฐ๋ฅ ๊ตฌํ
chip ๋์์ธ ์์ -> ๋ฐฐ๊ฒฝ, ํ
์คํธ ์์ ๋ณ๊ฒฝ
profile ์์ ์ค ์ด์ ์ ์ ํํ ์๋ฌ์ง ์์ ์ ํ๋๋๋ก ์์
font cookie run -> nano sans๋ก ๋ณ๊ฒฝ
profile allergy image -> ๊ธฐ์กด ์ธํฐ๋ท์์ ์ด๋ฏธ์ง ๊ฐ์ ธ์ค๋ ๊ฒ์์ local image ์ฌ์ฉ
์นด๋ฉ๋ผ ๋น์จ ๋ฐ ๋ฒํผ ๋ฐฐ์น ์์ , ํด๋น ๋ฒํผ ๋๋ฌธ์ ์นด๋ฉ๋ผ ๋น์จ์ด ๊นจ์ง๊ณ , ๋ณด์ด๋ ํ๋ฉด์ด ์์์ง.
๊ณ์ ์ญ์ ๊ธฐ๋ฅ ๋ฐ ์ฝ๊ด ์ถ๊ฐ
Camerax๋ฅผ ํ์ฉํ Preview ๊ตฌํ
๊ธฐ์กด์ ์ฐ๋ ์ฌ๋ฃ๋ฅผ ํตํด ์์์ ์ฐพ๋ api๊ฐ ์ ํํ ์ ๋ณด๋ฅผ ๋ณด์ฌ์ฃผ์ง ์์, ๋ค๋ฅธ API๋ก ๊ต์ฒด.
์นด๋ฉ๋ผ ์ํ ui ์์ ๋ฐ ์ ๋ฐ์ ์ธ UI ์์
ํ์๊ฐ์ ์ ๋ฐ์ดํฐ Firestore ์ ์ฅ
์์์ ์ธ์ํ๊ณ , ์ฌ๋ฃ๋ฅผ ๋์ถ, ์ฌ์ฉ์ ๋จน์ ์ ์๋ ์์์ธ์ง ํ์ธํ๋ ํ๋ฉด ๋ชจ๋ UI ์ ๋ฐ์ดํธ
๊ณตํต ๊ตฌํ ์ฌํญ - TopBar ๊ตฌํ, Dialog -> ๋ฐ๋ก ํ๋ฉด ๊ตฌํ
main ์ผ๋ก Merge ์ ์๋์ผ๋ก App Distribution์ผ๋ก ๋๋ฒ๊ทธ ๋ฒ์ ์ฑ ๋ฐฐํฌ ๊ตฌํ
์ง๋ณ ์ถ๊ฐ ๋ฉ๋ด ์ถ๊ฐ
์ธ๊ณต์ง๋ฅ ๋ชจ๋ธ๊ณผ ํด๋ผ์ด์ธํธ ์ฐ๊ฒฐ
์ถํ ์์์ ๋ฐ๋ผ ์ฌ๋ฃ ๋ฑ๋กํ๊ธฐ
์ถํ ์ธ๊ณต์ง๋ฅ ๋ชจ๋ธ Firebase์ ์ฌ๋ฆฌ๊ธฐ (์๋ฒ๊ฐ ์๋๋ฉด)
์นด๋ฉ๋ผ
์ฌ์ฉ์ ๋ฐ์ดํฐ ํ์๊ฐ์
/๋ก๊ทธ์ธ ์ ๋ฐ์ดํฐ ๋ก์ปฌ์ ์ ์ฅ
ํ๋กํ ์์ ๊ธฐ๋ฅ ๊ตฌํ
Figma ์๊ตฌ์ฌํญ์ ๋ฐ๋ผ home/login/register ui update
์ฌ์ฉ์ ์๋ฌ์ง ์ ๋ณด ๋ฐ์์ OCR ์ธ์ ๋ฐ ํ ์คํธ ๋ถ์
์งํ/์ง๋ณ, ์๋ฌ์ง ๋ฐ์ดํฐ ๋ชจ๋ธ
Firebase -> ์๋ฒ์ ๋ก๊ทธ์ธ / ํ์๋ฑ๋ก ๋ก์ง ์ผ๋ก Migration ์งํ
๊ฐค๋ฌ๋ฆฌ์์ ์ฌ์ง ๊ฐ์ ธ์ค๊ธฐ ๊ธฐ๋ฅ ๊ตฌํ ๋ฐ latest ์ฌ์ง preview ์ ๊ณตํ๊ธฐ.
ํ๊ตญ ์ ํ ๊ฒ์ ๋ถํ ํ๊ธฐ
ํ์ฌ : ํ๋์ ๋ฆฌ์คํธ์ ๋ชจ๋ ์ ๋ณด๋ฅผ ๋ด์ ๋ณด์ฌ์ค
์ํ๋ ์ํฉ : ์ ํ ๋ช
๊ณผ ๊ฐ๋ตํ ์ ๋ณด๋ง์ ๋ด๊ณ ํด๋ฆญ ์ ์์ธํ ์ฑ๋ถ์ ๋ณด์ฌ์ค
๋ง์ ์ ๋ณด๋ฅผ ๋ด์, ์ํ์ง ์๋ ์ ๋ณด ๋
ธ์ถ ๋ฐ ๋น ๋ฅด๊ฒ ์ํ๋ ์ ํ์ ํ์ํ๊ธฐ ์ํจ.
https://www.data.go.kr/data/15033307/openapi.do#tab_layer_detail_function
์ด์ ์ด์์์ ์์ ํ ๊ฐ์ฒด ์ธ์ ์ฝ๋ ๋ฆฌํฉํฐ๋ง (ํ์ฌ Domain ๋ก์ง ์์ Data -> presentation ๊ตฌ์กฐ ๊ฐ์ )
์ธ์๋ ์์ ๋ฐ ์ด๋ฏธ์ง ๋ทฐ๋ฅผ ๊ธฐ๋ฐ์ผ๋ก Rectangle ๊ทธ๋ฆฌ๊ธฐ
์ธ์๋์ง ์์ ๊ฒฝ์ฐ ์์ธ ์ฒ๋ฆฌํ๊ธฐ
์งํ ์์ ๊ณ ๋ คํ์ง ์๋ ๊ด๊ณ๋ก ์งํ ์ญ์ ๋ฐ ์๋ฌ์ง ๊ดํ ์ ๋ณด ์ถ๊ฐํ๊ธฐ ๋ฐ ์์ด๋ฒ์ ์ ๊ณต
์์์ ๋ํ ๋ ์ํผ๋ฅผ ๋ถ๋ฌ์ ํด๋น ๋ ์ํผ์, ์ ์ ์ ์๋ฌ์ง ์ฑ๋ถ์ด ํฌํจ๋์ด ์๋์ง ํ์ธ
url ์์ recipe -> food/product
์ด๋ฏธ์ง ํธ์ถ ์ ๋ง์ ํฌ๋ ๋ง ์ฌ์ฉ์ผ๋ก, expandable layout์ ํตํด, ํ์ํ ์ฌ๋๋ง ํ์ธ ๊ฐ๋ฅํ๋๋ก ์์
#50 ํ๋ฒ์ ๊ฐ์ด ์์ ํจ!
Text Recognition ๋ฐ์ดํฐ ๋ ์ด์ด๋ก ๋ณ๊ฒฝ
Language Utils ์์
isEnglish Boolean ํ์ ์ผ๋ก ์ฒ๋ฆฌํ๋๋ฐ, ์ถํ ํ์ฅ ๊ฐ๋ฅ์ฑ์ ๊ณ ๋ คํด ํด๋น ์ธ์ด OCR ์ธ์ ํด๋์ค๋ฅผ ์์ฑ
์นด๋ฉ๋ผ ์ฌ๋ฌ ๊ธฐ๋ฅ(๋น์จ) ๊ตฌํ ๋ฐ ํ๋กํ UI, ์๋ฌ์ง ๋ฐ ์งํ ์ถ๊ฐ ๊ธฐ๋ฅ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.