Skip to content

Commit

Permalink
update app and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafatoktas committed May 9, 2024
1 parent 40de950 commit 2d09598
Show file tree
Hide file tree
Showing 39 changed files with 130 additions and 71 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@
.externalNativeBuild
.cxx
local.properties
*.apk
*.log
*.jks
*.keystore
18 changes: 18 additions & 0 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed README RESOURCES/Obje Tanıma.apk
Binary file not shown.
90 changes: 44 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,77 +1,75 @@
# A - Obje Tanıma

<img src="./Readme Resources/Obje Tanıma Logo.png" alt="Logo" width="80" heigh="80"/>

<br>

**İçindekiler**

- [1. Proje Hakkında](#1-proje-hakkında)
- [2. Ekran Görüntüleri](#2-ekran-görüntüleri)
- [3. Video](#3-video)
- [4. Kullanılan Teknolojiler](#4-kullanılan-teknolojiler)
- [5. Uygulamayı Çalıştırma](#5-uygulamayı-çalıştırma)
- [6. APK Dosyası](#6-apk-dosyası)
- [7. Lisans](#7-lisans)
- [8. İletişim](#8-i̇letişim)
- [1. Uygulama Hakkında](#1-uygulama-hakkında)
- [2. Ekran Görüntüleri](#2-ekran-görüntüleri)
- [3. Video](#3-video)
- [4. Kullanılan Teknoloji ve Kütüphaneler](#4-kullanılan-teknoloji-ve-kütüphaneler)
- [5. Uygulamayı Çalıştırma](#5-uygulamayı-çalıştırma)
- [6. Lisans](#6-lisans)
- [7. İletişim](#7-i̇letişim)

---


## 1. Proje Hakkında
## 1. Uygulama Hakkında

- **Tür:** Android Mobil Uygulama
- **Kullanılan İzinler:**
- Kamera
- Uyanma Kilidi (WAKE_LOCK)
- **Tür:** Android Mobil Uygulama
- **Kullanılan İzinler:**
- Kamera
- Uyanma Kilidi (WAKE_LOCK)

Bu Android uygulaması TensorFlow Lite kullanılarak `https://www.tensorflow.org/lite/examples/object_detection/overview?hl=tr` adresinden indirilen örnek meta verileri ile nesne tanıma işlemlerini gerçekleştirmek için geliştirilmiştir. Cihazın kamerasına erişim sağlandıktan sonra kameradan gelen görüntüler gerçek zamanlı olarak taranır ve tanımlanan nesneler kutu içinde gösterilir.
Bu Android uygulaması TensorFlow Lite kullanılarak `https://www.tensorflow.org/lite/examples/object_detection/overview?hl=tr`
adresinden indirilen örnek meta verileri ile nesne tanıma işlemlerini gerçekleştirmek için geliştirilmiştir.
Cihazın kamerasına erişim sağlandıktan sonra kameradan gelen görüntüler gerçek zamanlı olarak taranır ve tanımlanan nesneler kutu içinde gösterilir.


## 2. Ekran Görüntüleri

| ![Ekran Görüntüsü 1](./README%20RESOURCES/Ekran%20Görüntüsü%201.jpg) | ![Ekran Görüntüsü 2](./README%20RESOURCES/Ekran%20Görüntüsü%202.jpg) |
| ------------- | ------------- |
| ![Ekran Görüntüsü 3](./README%20RESOURCES/Ekran%20Görüntüsü%203.jpg) | ![Ekran Görüntüsü 4](./README%20RESOURCES/Ekran%20Görüntüsü%204.jpg) | |
| ![Ekran Görüntüsü 1](./Readme%20Resources/Ekran%20Görüntüleri/Ekran%20Görüntüsü%201.jpg) | ![Ekran Görüntüsü 2](./Readme%20Resources/Ekran%20Görüntüleri/Ekran%20Görüntüsü%202.jpg) |
| ------------- | ------------- |
| ![Ekran Görüntüsü 3](./Readme%20Resources/Ekran%20Görüntüleri/Ekran%20Görüntüsü%203.jpg) | ![Ekran Görüntüsü 4](./Readme%20Resources/Ekran%20Görüntüleri/Ekran%20Görüntüsü%204.jpg) | |


## 3. Video

[Proje Tanıtım Videosu](https://youtu.be/RpdR251bvqw)
[Uygulama Tanıtım Videosu](https://youtu.be/RpdR251bvqw)

## 4. Kullanılan Teknolojiler

- **Kütüphaneler:**
- androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2
- androidx.lifecycle:lifecycle-livedata-ktx:2.6.2
- androidx.navigation:navigation-fragment-ktx:2.7.5
- androidx.navigation:navigation-ui-ktx:2.7.5
- **Teknolojiler:**
- ViewBinding
- Coroutines
## 4. Kullanılan Teknoloji ve Kütüphaneler

- `viewBinding`
- `mlModelBinding`
- `Kotlin Coroutines`
- `implementation("androidx.navigation:navigation-ui-ktx:2.7.7")`
- `implementation("androidx.navigation:navigation-fragment-ktx:2.7.7")`
- `implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.7.0")`
- `implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0")`

## 5. Uygulamayı Çalıştırma

Uygulamayı kendi bilgisayarınıza indirmek, çalıştırmak veya kodları incelemek için git bash'de projeyi indirmek istediğiniz dosya yoluna gidip `git clone https://github.com/mustafatoktas/A_ObjeTanima.git` komutunu çalıştırabilirsiniz.

## 5. Uygulamayı Çalıştırma

## 6. APK Dosyası

[Obje Tanıma.apk](./README%20RESOURCES/Obje%20Tanıma.apk)

| Min API | Target API |
| ------------- | ------------- |
| 26 - Android 8.0 Oreo | 34 - Android 14.0 |
- **Paket Adı:** `com.mustafatoktas.objetanima`
- **Versiyon Adı:** `1.1`
- **Versiyon Kodu:** `2`
Uygulamanın proje dosyasını kendi bilgisayarınıza indirmek, kodları incelemek ve
[lisans hakları](https://www.gnu.org/licenses/gpl-3.0.html) çerçevesinde geliştirme
yapabilmek için [git](https://git-scm.com) yüklü bir bilgisayarda projeyi indirmek
istediğiniz dosya yoluna gidip terminalde
`git clone https://github.com/mustafatoktas/A_ObjeTanima.git`
komutunu çalıştırabilirsiniz.


## 7. Lisans
## 6. Lisans
Copyright 2024 Mustafa TOKTAŞ

Licensed under the GNU General Public License v3.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.gnu.org/licenses/gpl-3.0.html
https://www.gnu.org/licenses/gpl-3.0.html

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -80,8 +78,8 @@ Uygulamayı kendi bilgisayarınıza indirmek, çalıştırmak veya kodları ince
limitations under the License.


## 8. İletişim
## 7. İletişim

- E-posta: [[email protected]](mailto:[email protected])
- Telegram: [Mustafa TOKTAŞ](https://t.me/mustafatoktas00)
- LinkedIn: [Mustafa TOKTAŞ](https://www.linkedin.com/in/mustafatoktas/)
<a href="mailto:[email protected]" target="_blank"> <img src="./Readme Resources/İletişim/Mail.png" alt="Mail" width="64" heigh="64"/> </a>
<a href="https://t.me/mustafatoktas00" target="_blank"> <img src="./Readme Resources/İletişim/Telegram.png" alt="Telegram" width="64" heigh="64"/> </a>
<a href="https://www.linkedin.com/in/mustafatoktas/" target="_blank"> <img src="./Readme Resources/İletişim/LinkedIn.png" alt="LinkedIn" width="64" heigh="64"/> </a>
Binary file added Readme Resources/Obje Tanıma Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Readme Resources/İletişim/LinkedIn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Readme Resources/İletişim/Mail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Readme Resources/İletişim/Telegram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "17"
}

buildFeatures {
Expand All @@ -42,24 +42,24 @@ android {

dependencies {

implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.10.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("org.tensorflow:tensorflow-lite-support:0.4.4")
implementation("org.tensorflow:tensorflow-lite-metadata:0.4.4")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")


//lifecycle
val lifecycle_version = "2.6.2"
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2")
val lifecycle_version = "2.7.0"
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0")
implementation("androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version")

//navigation
val nav_version = "2.7.5"
implementation("androidx.navigation:navigation-fragment-ktx:2.7.5")
val nav_version = "2.7.7"
implementation("androidx.navigation:navigation-fragment-ktx:2.7.7")
implementation("androidx.navigation:navigation-ui-ktx:$nav_version")
}
Binary file added app/release/baselineProfiles/0/app-release.dm
Binary file not shown.
Binary file added app/release/baselineProfiles/1/app-release.dm
Binary file not shown.
37 changes: 37 additions & 0 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.mustafatoktas.objetanima",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 2,
"versionName": "1.1",
"outputFile": "app-release.apk"
}
],
"elementType": "File",
"baselineProfiles": [
{
"minApi": 28,
"maxApi": 30,
"baselineProfiles": [
"baselineProfiles/1/app-release.dm"
]
},
{
"minApi": 31,
"maxApi": 2147483647,
"baselineProfiles": [
"baselineProfiles/0/app-release.dm"
]
}
],
"minSdkVersionForDexing": 26
}
Binary file added app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
6 changes: 0 additions & 6 deletions app/src/main/res/mipmap-anydpi/ic_launcher.xml

This file was deleted.

6 changes: 0 additions & 6 deletions app/src/main/res/mipmap-anydpi/ic_launcher_round.xml

This file was deleted.

Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
Binary file not shown.
4 changes: 4 additions & 0 deletions app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#474747</color>
</resources>
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.2.0" apply false
id("com.android.application") version "8.4.0" apply false
id("org.jetbrains.kotlin.android") version "1.9.10" apply false
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Dec 04 23:47:26 TRT 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 2d09598

Please sign in to comment.