Skip to content

Commit

Permalink
リファクタリング
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakiyama-22-0083 committed Sep 4, 2024
1 parent 6458bcd commit a814864
Show file tree
Hide file tree
Showing 609 changed files with 37,210 additions and 20,451 deletions.
Binary file modified .DS_Store
Binary file not shown.
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

29 changes: 1 addition & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# Takopa(タコパ)
<!-- プロダクト名に変更してください -->

![Takopa](https://cdn.discordapp.com/attachments/1208279907503833108/1211143574830448680/Takopa.png?ex=65ed205a&is=65daab5a&hm=b1b2a3f3b8ca8efca5a476d3ed97e9283e8fbc805df883dad918e0cce58f3cc4&)
<!-- プロダクト名・イメージ画像を差し変えてください -->

![Takopa](images/takopa.png)

## チーム名
チームI 京産うなぎ
<!-- チームIDとチーム名を入力してください -->


## 背景・課題・解決されること
関西といえばたこ焼き</br>
Expand All @@ -17,40 +12,18 @@
このアプリではたこ焼きの写真を撮り、その写真から画像認識を用いて点数化し、ランキングとして表示できます</br>
ランキング化することによってたこ焼き競争心が芽生え、関西をええ感じにできます!</br>


<!-- テーマ「関西をいい感じに」に対して、考案するプロダクトがどういった(Why)背景から思いついたのか、どのよう(What)な課題があり、どのよう(How)に解決するのかを入力してください -->


## プロダクト説明
画像認識を用い、たこ焼きの焼色を点数化しランキングに投稿できます。
<!-- 開発したプロダクトの説明を入力してください -->


## 操作説明・デモ動画
画面に表示される丸に合わせてたこ焼きを撮影すると点数が表示されるため投稿するかを選択する。
[デモ動画はこちら](https://www.youtube.com/watch?v=SNx0L8nTmg4)
<!-- 開発したプロダクトの操作説明について入力してください。また、操作説明デモ動画があれば、埋め込みやリンクを記載してください -->


## 注力したポイント
+ 画像認識の際に一度に複数のたこ焼きの点数を出せるようにしたこと。
<!-- 開発したプロダクトの中で、特に注力して作成した箇所・ポイントについて入力してください -->


## 使用技術

<!-- 使用技術を入力してください -->
+ Android Studio
+ Tensorflow Lite
+ Firebase
+ Teachable Machine






<!--
markdownの記法はこちらを参照してください!
https://docs.github.com/ja/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
-->
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
56 changes: 56 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
plugins {
id("com.android.application")
id("com.google.gms.google-services")
}

android {
namespace ="com.example.takoyaki"
compileSdk = 34

defaultConfig {
applicationId = "com.example.takoyaki"
minSdk = 29
// noinspection OldTargetApi
targetSdk = 31
versionCode = 1
versionName = "1.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
buildFeatures {
mlModelBinding = true
}
}

dependencies {
implementation ("androidx.appcompat:appcompat:1.7.0")
implementation ("com.google.android.material:material:1.12.0")
implementation ("androidx.constraintlayout:constraintlayout:2.1.4")
implementation ("org.tensorflow:tensorflow-lite-support:0.1.0")
implementation ("org.tensorflow:tensorflow-lite-metadata:0.1.0")
implementation("com.google.firebase:firebase-database:21.0.0")
implementation(platform("com.google.firebase:firebase-bom:33.2.0"))
implementation("com.google.firebase:firebase-analytics")
androidTestImplementation ("androidx.test.espresso:espresso-core:3.6.1")

testImplementation ("junit:junit:4.13.2")
androidTestImplementation ("androidx.test.ext:junit:1.2.1")
implementation ("androidx.camera:camera-core:1.3.4")
implementation ("androidx.camera:camera-camera2:1.3.4")
implementation ("androidx.camera:camera-lifecycle:1.3.4")
implementation ("androidx.camera:camera-view:1.3.4")
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="firebase_database_url" translatable="false">https://takoyaki-ce592-default-rtdb.firebaseio.com</string>
<string name="gcm_defaultSenderId" translatable="false">520209757656</string>
<string name="google_api_key" translatable="false">AIzaSyBGsSJgXmiaJwSEBfzy5eoiqBhMgZ2WiNo</string>
<string name="google_app_id" translatable="false">1:520209757656:android:46ebe0da4ddfb3bbeb2ead</string>
<string name="google_crash_reporting_api_key" translatable="false">AIzaSyBGsSJgXmiaJwSEBfzy5eoiqBhMgZ2WiNo</string>
<string name="google_storage_bucket" translatable="false">takoyaki-ce592.appspot.com</string>
<string name="project_id" translatable="false">takoyaki-ce592</string>
<string name="firebase_database_url" translatable="false">https://takopa-7c52a-default-rtdb.firebaseio.com</string>
<string name="gcm_defaultSenderId" translatable="false">937542085338</string>
<string name="google_api_key" translatable="false">AIzaSyBDEESJqVTuTmEpIIzMMxPoaxMZeP5u_AY</string>
<string name="google_app_id" translatable="false">1:937542085338:android:d76e75a6672dc33ffc53e3</string>
<string name="google_crash_reporting_api_key" translatable="false">AIzaSyBDEESJqVTuTmEpIIzMMxPoaxMZeP5u_AY</string>
<string name="google_storage_bucket" translatable="false">takopa-7c52a.appspot.com</string>
<string name="project_id" translatable="false">takopa-7c52a</string>
</resources>

This file was deleted.

Binary file modified app/build/intermediates/apk/debug/app-debug.apk
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/build/intermediates/dex/debug/mergeExtDexDebug/classes.dex
Binary file not shown.
Binary file modified app/build/intermediates/dex/debug/mergeExtDexDebug/classes2.dex
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/build/intermediates/dex_archive_input_jar_hashes/debug/out
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
#Sun Feb 25 10:50:24 JST 2024
com.example.takoyaki.app-main-37\:/drawable/_00.png=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable__00.png.flat
com.example.takoyaki.app-main-37\:/drawable/background.jpg=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_background.jpg.flat
com.example.takoyaki.app-main-37\:/drawable/baseline_flash_off_24.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_baseline_flash_off_24.xml.flat
com.example.takoyaki.app-main-37\:/drawable/baseline_flash_on_24.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_baseline_flash_on_24.xml.flat
com.example.takoyaki.app-main-37\:/drawable/help_round_button_icon_icons_com_72706.png=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_help_round_button_icon_icons_com_72706.png.flat
com.example.takoyaki.app-main-37\:/drawable/ic_launcher_background.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_ic_launcher_background.xml.flat
com.example.takoyaki.app-main-37\:/drawable/ic_launcher_foreground.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_ic_launcher_foreground.xml.flat
com.example.takoyaki.app-main-37\:/drawable/realtakoyaki.jpeg=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_realtakoyaki.jpeg.flat
com.example.takoyaki.app-main-37\:/drawable/round_camera_24.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_round_camera_24.xml.flat
com.example.takoyaki.app-main-37\:/drawable/round_flip_camera_android_24.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_round_flip_camera_android_24.xml.flat
com.example.takoyaki.app-main-37\:/drawable/takoback.png=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_takoback.png.flat
com.example.takoyaki.app-main-37\:/drawable/takoyaki.png=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/drawable_takoyaki.png.flat
com.example.takoyaki.app-main-37\:/layout/activity_camera.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/layout_activity_camera.xml.flat
com.example.takoyaki.app-main-37\:/layout/activity_help_view.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/layout_activity_help_view.xml.flat
com.example.takoyaki.app-main-37\:/layout/activity_preview.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/layout_activity_preview.xml.flat
com.example.takoyaki.app-main-37\:/layout/activity_ranking.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/layout_activity_ranking.xml.flat
com.example.takoyaki.app-main-37\:/mipmap-anydpi/ic_launcher.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-anydpi_ic_launcher.xml.flat
com.example.takoyaki.app-main-37\:/mipmap-anydpi/ic_launcher_round.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-anydpi_ic_launcher_round.xml.flat
com.example.takoyaki.app-main-37\:/mipmap-hdpi/ic_launcher.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-hdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-37\:/mipmap-hdpi/ic_launcher_round.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-hdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-37\:/mipmap-mdpi/ic_launcher.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-mdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-37\:/mipmap-mdpi/ic_launcher_round.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-mdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-37\:/mipmap-xhdpi/ic_launcher.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-xhdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-37\:/mipmap-xhdpi/ic_launcher_round.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-xhdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-37\:/mipmap-xxhdpi/ic_launcher.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-xxhdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-37\:/mipmap-xxhdpi/ic_launcher_round.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-xxhdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-37\:/mipmap-xxxhdpi/ic_launcher.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-xxxhdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-37\:/mipmap-xxxhdpi/ic_launcher_round.webp=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/mipmap-xxxhdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-37\:/xml/backup_rules.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/xml_backup_rules.xml.flat
com.example.takoyaki.app-main-37\:/xml/data_extraction_rules.xml=/Users/simeiro/github/2024_I/app/build/intermediates/merged_res/debug/xml_data_extraction_rules.xml.flat
#Wed Sep 04 01:56:29 JST 2024
com.example.takoyaki.app-main-45\:/drawable/_00.png=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable__00.png.flat
com.example.takoyaki.app-main-45\:/drawable/background.jpg=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_background.jpg.flat
com.example.takoyaki.app-main-45\:/drawable/baseline_flash_off_24.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_baseline_flash_off_24.xml.flat
com.example.takoyaki.app-main-45\:/drawable/baseline_flash_on_24.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_baseline_flash_on_24.xml.flat
com.example.takoyaki.app-main-45\:/drawable/help_round_button_icon_icons_com_72706.png=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_help_round_button_icon_icons_com_72706.png.flat
com.example.takoyaki.app-main-45\:/drawable/ic_launcher_background.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_ic_launcher_background.xml.flat
com.example.takoyaki.app-main-45\:/drawable/ic_launcher_foreground.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_ic_launcher_foreground.xml.flat
com.example.takoyaki.app-main-45\:/drawable/realtakoyaki.jpeg=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_realtakoyaki.jpeg.flat
com.example.takoyaki.app-main-45\:/drawable/round_camera_24.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_round_camera_24.xml.flat
com.example.takoyaki.app-main-45\:/drawable/round_flip_camera_android_24.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_round_flip_camera_android_24.xml.flat
com.example.takoyaki.app-main-45\:/drawable/takoback.png=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_takoback.png.flat
com.example.takoyaki.app-main-45\:/drawable/takopa.png=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_takopa.png.flat
com.example.takoyaki.app-main-45\:/drawable/takoyaki.png=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/drawable_takoyaki.png.flat
com.example.takoyaki.app-main-45\:/layout/activity_camera.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/layout_activity_camera.xml.flat
com.example.takoyaki.app-main-45\:/layout/activity_help_view.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/layout_activity_help_view.xml.flat
com.example.takoyaki.app-main-45\:/layout/activity_preview.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/layout_activity_preview.xml.flat
com.example.takoyaki.app-main-45\:/layout/activity_ranking.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/layout_activity_ranking.xml.flat
com.example.takoyaki.app-main-45\:/mipmap-anydpi-v26/ic_launcher.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-anydpi-v26_ic_launcher.xml.flat
com.example.takoyaki.app-main-45\:/mipmap-anydpi-v26/ic_launcher_round.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-anydpi-v26_ic_launcher_round.xml.flat
com.example.takoyaki.app-main-45\:/mipmap-hdpi/ic_launcher.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-hdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-hdpi/ic_launcher_foreground.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-hdpi_ic_launcher_foreground.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-hdpi/ic_launcher_round.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-hdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-mdpi/ic_launcher.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-mdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-mdpi/ic_launcher_foreground.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-mdpi_ic_launcher_foreground.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-mdpi/ic_launcher_round.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-mdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-xhdpi/ic_launcher.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-xhdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-xhdpi/ic_launcher_foreground.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-xhdpi_ic_launcher_foreground.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-xhdpi/ic_launcher_round.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-xhdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-xxhdpi/ic_launcher.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-xxhdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-xxhdpi/ic_launcher_foreground.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-xxhdpi_ic_launcher_foreground.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-xxhdpi/ic_launcher_round.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-xxhdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-xxxhdpi/ic_launcher.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-xxxhdpi_ic_launcher.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-xxxhdpi/ic_launcher_foreground.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-xxxhdpi_ic_launcher_foreground.webp.flat
com.example.takoyaki.app-main-45\:/mipmap-xxxhdpi/ic_launcher_round.webp=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/mipmap-xxxhdpi_ic_launcher_round.webp.flat
com.example.takoyaki.app-main-45\:/xml/backup_rules.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/xml_backup_rules.xml.flat
com.example.takoyaki.app-main-45\:/xml/data_extraction_rules.xml=/Users/fuma/GitHub/Takopa/app/build/intermediates/merged_res/debug/xml_data_extraction_rules.xml.flat
Loading

0 comments on commit a814864

Please sign in to comment.