diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..603b140
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,14 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+.cxx
diff --git a/.idea/.name b/.idea/.name
new file mode 100644
index 0000000..c9cd6fe
--- /dev/null
+++ b/.idea/.name
@@ -0,0 +1 @@
+tfLite
\ No newline at end of file
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..88ea3aa
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 0000000..79ee123
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..5cd135a
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..37a7509
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/render.experimental.xml b/.idea/render.experimental.xml
new file mode 100644
index 0000000..8ec256a
--- /dev/null
+++ b/.idea/render.experimental.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
new file mode 100644
index 0000000..7f68460
--- /dev/null
+++ b/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..6c0b863
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/.gitignore b/app/.gitignore
new file mode 100644
index 0000000..796b96d
--- /dev/null
+++ b/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/app/build.gradle b/app/build.gradle
new file mode 100644
index 0000000..06c4132
--- /dev/null
+++ b/app/build.gradle
@@ -0,0 +1,66 @@
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
+apply plugin: 'kotlin-android-extensions'
+
+android {
+ compileSdkVersion 29
+ buildToolsVersion "29.0.3"
+
+ defaultConfig {
+ applicationId "com.example.androidProjectOnTFLite"
+ minSdkVersion 23
+ targetSdkVersion 29
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+
+}
+
+dependencies {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+ implementation 'androidx.appcompat:appcompat:1.0.2'
+ implementation 'androidx.core:core-ktx:1.0.2'
+ implementation 'androidx.legacy:legacy-support-v4:1.0.0'
+ implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
+ implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.0.0'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.1'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+
+ def nav_version = "2.3.0-alpha02"
+
+ // Java language implementation
+ implementation "androidx.navigation:navigation-fragment:$nav_version"
+ implementation "androidx.navigation:navigation-ui:$nav_version"
+
+ // Kotlin
+ implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
+ implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
+
+ // Dynamic Feature Module Support
+ implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
+
+ // Testing Navigation
+ androidTestImplementation "androidx.navigation:navigation-testing:$nav_version"
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
+
+ //Camera Kit
+ implementation 'com.camerakit:camerakit:1.0.0-beta3.11'
+ implementation 'com.camerakit:jpegkit:0.1.0'
+ implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.0'
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.0'
+
+ //PyTorch
+ implementation 'org.pytorch:pytorch_android:1.4.0'
+ implementation 'org.pytorch:pytorch_android_torchvision:1.4.0'
+}
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
new file mode 100644
index 0000000..f1b4245
--- /dev/null
+++ b/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
diff --git a/app/src/androidTest/java/com/example/androidProjectOnTFLite/ExampleInstrumentedTest.kt b/app/src/androidTest/java/com/example/androidProjectOnTFLite/ExampleInstrumentedTest.kt
new file mode 100644
index 0000000..ea01f43
--- /dev/null
+++ b/app/src/androidTest/java/com/example/androidProjectOnTFLite/ExampleInstrumentedTest.kt
@@ -0,0 +1,24 @@
+package com.example.androidProjectOnTFLite
+
+import androidx.test.platform.app.InstrumentationRegistry
+import androidx.test.ext.junit.runners.AndroidJUnit4
+
+import org.junit.Test
+import org.junit.runner.RunWith
+
+import org.junit.Assert.*
+
+/**
+ * Instrumented test, which will execute on an Android device.
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+@RunWith(AndroidJUnit4::class)
+class ExampleInstrumentedTest {
+ @Test
+ fun useAppContext() {
+ // Context of the app under test.
+ val appContext = InstrumentationRegistry.getInstrumentation().targetContext
+ assertEquals("com.example.androidProjectOnTFLite", appContext.packageName)
+ }
+}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..cca8ec9
--- /dev/null
+++ b/app/src/main/AndroidManifest.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/java/com/example/androidProjectOnTFLite/CapturePhotoFragment.kt b/app/src/main/java/com/example/androidProjectOnTFLite/CapturePhotoFragment.kt
new file mode 100644
index 0000000..d72bb76
--- /dev/null
+++ b/app/src/main/java/com/example/androidProjectOnTFLite/CapturePhotoFragment.kt
@@ -0,0 +1,76 @@
+package com.example.androidProjectOnTFLite
+
+import android.app.Activity
+import android.content.Intent
+import android.graphics.Bitmap
+import android.graphics.BitmapFactory
+import android.os.Bundle
+import android.provider.MediaStore
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import android.widget.Button
+import android.widget.ImageView
+import androidx.fragment.app.Fragment
+import kotlinx.android.synthetic.main.fragment_capture_photo.*
+import java.io.ByteArrayOutputStream
+
+
+class CapturePhotoFragment : Fragment() {
+ lateinit var Camera: ImageView
+ lateinit var Button: Button
+ lateinit var intent:Intent
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ intent = Intent(MediaStore.ACTION_IMAGE_CAPTURE)
+ startActivityForResult(
+ intent,
+ CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE)
+ // Inflate the layout for this fragment
+ return inflater.inflate(R.layout.fragment_capture_photo, container, false)
+ }
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+
+
+ Button = btnCapturePhoto
+ Camera = imgViewCamera
+
+ Button.setOnClickListener {
+ startActivityForResult(
+ intent,
+ CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE)
+ }
+
+ }
+
+ override fun onActivityResult(
+ requestCode: Int,
+ resultCode: Int,
+ data: Intent?
+ ) {
+ if (requestCode == CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE) {
+ if (resultCode == Activity.RESULT_OK) {
+ val bmp = data!!.extras!!["data"] as Bitmap?
+ val stream = ByteArrayOutputStream()
+ bmp!!.compress(Bitmap.CompressFormat.PNG, 100, stream)
+ val byteArray: ByteArray = stream.toByteArray()
+ // convert byte array to Bitmap
+ val bitmap = BitmapFactory.decodeByteArray(
+ byteArray, 0,
+ byteArray.size
+ )
+ Camera.setImageBitmap(bitmap)
+ }
+ }
+ }
+
+ companion object {
+ private const val CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE = 1888
+ }
+
+
+}
diff --git a/app/src/main/java/com/example/androidProjectOnTFLite/ImageClassification.kt b/app/src/main/java/com/example/androidProjectOnTFLite/ImageClassification.kt
new file mode 100644
index 0000000..ae26425
--- /dev/null
+++ b/app/src/main/java/com/example/androidProjectOnTFLite/ImageClassification.kt
@@ -0,0 +1,16 @@
+package com.example.androidProjectOnTFLite
+
+
+import android.graphics.Bitmap
+import android.graphics.BitmapFactory
+import android.util.Log
+import android.widget.ImageView
+import org.pytorch.Module
+import java.io.IOException
+
+class ImageClassification {
+ lateinit var bitmap: Bitmap;
+ lateinit var module: Module;
+
+
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/androidProjectOnTFLite/ImageNetClasses.kt b/app/src/main/java/com/example/androidProjectOnTFLite/ImageNetClasses.kt
new file mode 100644
index 0000000..07d0055
--- /dev/null
+++ b/app/src/main/java/com/example/androidProjectOnTFLite/ImageNetClasses.kt
@@ -0,0 +1,1006 @@
+package com.example.androidProjectOnTFLite
+
+object ImageNetClasses {
+ var IMAGENET_CLASSES = arrayOf(
+ "tench, Tinca tinca",
+ "goldfish, Carassius auratus",
+ "great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias",
+ "tiger shark, Galeocerdo cuvieri",
+ "hammerhead, hammerhead shark",
+ "electric ray, crampfish, numbfish, torpedo",
+ "stingray",
+ "cock",
+ "hen",
+ "ostrich, Struthio camelus",
+ "brambling, Fringilla montifringilla",
+ "goldfinch, Carduelis carduelis",
+ "house finch, linnet, Carpodacus mexicanus",
+ "junco, snowbird",
+ "indigo bunting, indigo finch, indigo bird, Passerina cyanea",
+ "robin, American robin, Turdus migratorius",
+ "bulbul",
+ "jay",
+ "magpie",
+ "chickadee",
+ "water ouzel, dipper",
+ "kite",
+ "bald eagle, American eagle, Haliaeetus leucocephalus",
+ "vulture",
+ "great grey owl, great gray owl, Strix nebulosa",
+ "European fire salamander, Salamandra salamandra",
+ "common newt, Triturus vulgaris",
+ "eft",
+ "spotted salamander, Ambystoma maculatum",
+ "axolotl, mud puppy, Ambystoma mexicanum",
+ "bullfrog, Rana catesbeiana",
+ "tree frog, tree-frog",
+ "tailed frog, bell toad, ribbed toad, tailed toad, Ascaphus trui",
+ "loggerhead, loggerhead turtle, Caretta caretta",
+ "leatherback turtle, leatherback, leathery turtle, Dermochelys coriacea",
+ "mud turtle",
+ "terrapin",
+ "box turtle, box tortoise",
+ "banded gecko",
+ "common iguana, iguana, Iguana iguana",
+ "American chameleon, anole, Anolis carolinensis",
+ "whiptail, whiptail lizard",
+ "agama",
+ "frilled lizard, Chlamydosaurus kingi",
+ "alligator lizard",
+ "Gila monster, Heloderma suspectum",
+ "green lizard, Lacerta viridis",
+ "African chameleon, Chamaeleo chamaeleon",
+ "Komodo dragon, Komodo lizard, dragon lizard, giant lizard, Varanus komodoensis",
+ "African crocodile, Nile crocodile, Crocodylus niloticus",
+ "American alligator, Alligator mississipiensis",
+ "triceratops",
+ "thunder snake, worm snake, Carphophis amoenus",
+ "ringneck snake, ring-necked snake, ring snake",
+ "hognose snake, puff adder, sand viper",
+ "green snake, grass snake",
+ "king snake, kingsnake",
+ "garter snake, grass snake",
+ "water snake",
+ "vine snake",
+ "night snake, Hypsiglena torquata",
+ "boa constrictor, Constrictor constrictor",
+ "rock python, rock snake, Python sebae",
+ "Indian cobra, Naja naja",
+ "green mamba",
+ "sea snake",
+ "horned viper, cerastes, sand viper, horned asp, Cerastes cornutus",
+ "diamondback, diamondback rattlesnake, Crotalus adamanteus",
+ "sidewinder, horned rattlesnake, Crotalus cerastes",
+ "trilobite",
+ "harvestman, daddy longlegs, Phalangium opilio",
+ "scorpion",
+ "black and gold garden spider, Argiope aurantia",
+ "barn spider, Araneus cavaticus",
+ "garden spider, Aranea diademata",
+ "black widow, Latrodectus mactans",
+ "tarantula",
+ "wolf spider, hunting spider",
+ "tick",
+ "centipede",
+ "black grouse",
+ "ptarmigan",
+ "ruffed grouse, partridge, Bonasa umbellus",
+ "prairie chicken, prairie grouse, prairie fowl",
+ "peacock",
+ "quail",
+ "partridge",
+ "African grey, African gray, Psittacus erithacus",
+ "macaw",
+ "sulphur-crested cockatoo, Kakatoe galerita, Cacatua galerita",
+ "lorikeet",
+ "coucal",
+ "bee eater",
+ "hornbill",
+ "hummingbird",
+ "jacamar",
+ "toucan",
+ "drake",
+ "red-breasted merganser, Mergus serrator",
+ "goose",
+ "black swan, Cygnus atratus",
+ "tusker",
+ "echidna, spiny anteater, anteater",
+ "platypus, duckbill, duckbilled platypus, duck-billed platypus, Ornithorhynchus anatinus",
+ "wallaby, brush kangaroo",
+ "koala, koala bear, kangaroo bear, native bear, Phascolarctos cinereus",
+ "wombat",
+ "jellyfish",
+ "sea anemone, anemone",
+ "brain coral",
+ "flatworm, platyhelminth",
+ "nematode, nematode worm, roundworm",
+ "conch",
+ "snail",
+ "slug",
+ "sea slug, nudibranch",
+ "chiton, coat-of-mail shell, sea cradle, polyplacophore",
+ "chambered nautilus, pearly nautilus, nautilus",
+ "Dungeness crab, Cancer magister",
+ "rock crab, Cancer irroratus",
+ "fiddler crab",
+ "king crab, Alaska crab, Alaskan king crab, Alaska king crab, Paralithodes camtschatica",
+ "American lobster, Northern lobster, Maine lobster, Homarus americanus",
+ "spiny lobster, langouste, rock lobster, crawfish, crayfish, sea crawfish",
+ "crayfish, crawfish, crawdad, crawdaddy",
+ "hermit crab",
+ "isopod",
+ "white stork, Ciconia ciconia",
+ "black stork, Ciconia nigra",
+ "spoonbill",
+ "flamingo",
+ "little blue heron, Egretta caerulea",
+ "American egret, great white heron, Egretta albus",
+ "bittern",
+ "crane",
+ "limpkin, Aramus pictus",
+ "European gallinule, Porphyrio porphyrio",
+ "American coot, marsh hen, mud hen, water hen, Fulica americana",
+ "bustard",
+ "ruddy turnstone, Arenaria interpres",
+ "red-backed sandpiper, dunlin, Erolia alpina",
+ "redshank, Tringa totanus",
+ "dowitcher",
+ "oystercatcher, oyster catcher",
+ "pelican",
+ "king penguin, Aptenodytes patagonica",
+ "albatross, mollymawk",
+ "grey whale, gray whale, devilfish, Eschrichtius gibbosus, Eschrichtius robustus",
+ "killer whale, killer, orca, grampus, sea wolf, Orcinus orca",
+ "dugong, Dugong dugon",
+ "sea lion",
+ "Chihuahua",
+ "Japanese spaniel",
+ "Maltese dog, Maltese terrier, Maltese",
+ "Pekinese, Pekingese, Peke",
+ "Shih-Tzu",
+ "Blenheim spaniel",
+ "papillon",
+ "toy terrier",
+ "Rhodesian ridgeback",
+ "Afghan hound, Afghan",
+ "basset, basset hound",
+ "beagle",
+ "bloodhound, sleuthhound",
+ "bluetick",
+ "black-and-tan coonhound",
+ "Walker hound, Walker foxhound",
+ "English foxhound",
+ "redbone",
+ "borzoi, Russian wolfhound",
+ "Irish wolfhound",
+ "Italian greyhound",
+ "whippet",
+ "Ibizan hound, Ibizan Podenco",
+ "Norwegian elkhound, elkhound",
+ "otterhound, otter hound",
+ "Saluki, gazelle hound",
+ "Scottish deerhound, deerhound",
+ "Weimaraner",
+ "Staffordshire bullterrier, Staffordshire bull terrier",
+ "American Staffordshire terrier, Staffordshire terrier, American pit bull terrier, pit bull terrier",
+ "Bedlington terrier",
+ "Border terrier",
+ "Kerry blue terrier",
+ "Irish terrier",
+ "Norfolk terrier",
+ "Norwich terrier",
+ "Yorkshire terrier",
+ "wire-haired fox terrier",
+ "Lakeland terrier",
+ "Sealyham terrier, Sealyham",
+ "Airedale, Airedale terrier",
+ "cairn, cairn terrier",
+ "Australian terrier",
+ "Dandie Dinmont, Dandie Dinmont terrier",
+ "Boston bull, Boston terrier",
+ "miniature schnauzer",
+ "giant schnauzer",
+ "standard schnauzer",
+ "Scotch terrier, Scottish terrier, Scottie",
+ "Tibetan terrier, chrysanthemum dog",
+ "silky terrier, Sydney silky",
+ "soft-coated wheaten terrier",
+ "West Highland white terrier",
+ "Lhasa, Lhasa apso",
+ "flat-coated retriever",
+ "curly-coated retriever",
+ "golden retriever",
+ "Labrador retriever",
+ "Chesapeake Bay retriever",
+ "German short-haired pointer",
+ "vizsla, Hungarian pointer",
+ "English setter",
+ "Irish setter, red setter",
+ "Gordon setter",
+ "Brittany spaniel",
+ "clumber, clumber spaniel",
+ "English springer, English springer spaniel",
+ "Welsh springer spaniel",
+ "cocker spaniel, English cocker spaniel, cocker",
+ "Sussex spaniel",
+ "Irish water spaniel",
+ "kuvasz",
+ "schipperke",
+ "groenendael",
+ "malinois",
+ "briard",
+ "kelpie",
+ "komondor",
+ "Old English sheepdog, bobtail",
+ "Shetland sheepdog, Shetland sheep dog, Shetland",
+ "collie",
+ "Border collie",
+ "Bouvier des Flandres, Bouviers des Flandres",
+ "Rottweiler",
+ "German shepherd, German shepherd dog, German police dog, alsatian",
+ "Doberman, Doberman pinscher",
+ "miniature pinscher",
+ "Greater Swiss Mountain dog",
+ "Bernese mountain dog",
+ "Appenzeller",
+ "EntleBucher",
+ "boxer",
+ "bull mastiff",
+ "Tibetan mastiff",
+ "French bulldog",
+ "Great Dane",
+ "Saint Bernard, St Bernard",
+ "Eskimo dog, husky",
+ "malamute, malemute, Alaskan malamute",
+ "Siberian husky",
+ "dalmatian, coach dog, carriage dog",
+ "affenpinscher, monkey pinscher, monkey dog",
+ "basenji",
+ "pug, pug-dog",
+ "Leonberg",
+ "Newfoundland, Newfoundland dog",
+ "Great Pyrenees",
+ "Samoyed, Samoyede",
+ "Pomeranian",
+ "chow, chow chow",
+ "keeshond",
+ "Brabancon griffon",
+ "Pembroke, Pembroke Welsh corgi",
+ "Cardigan, Cardigan Welsh corgi",
+ "toy poodle",
+ "miniature poodle",
+ "standard poodle",
+ "Mexican hairless",
+ "timber wolf, grey wolf, gray wolf, Canis lupus",
+ "white wolf, Arctic wolf, Canis lupus tundrarum",
+ "red wolf, maned wolf, Canis rufus, Canis niger",
+ "coyote, prairie wolf, brush wolf, Canis latrans",
+ "dingo, warrigal, warragal, Canis dingo",
+ "dhole, Cuon alpinus",
+ "African hunting dog, hyena dog, Cape hunting dog, Lycaon pictus",
+ "hyena, hyaena",
+ "red fox, Vulpes vulpes",
+ "kit fox, Vulpes macrotis",
+ "Arctic fox, white fox, Alopex lagopus",
+ "grey fox, gray fox, Urocyon cinereoargenteus",
+ "tabby, tabby cat",
+ "tiger cat",
+ "Persian cat",
+ "Siamese cat, Siamese",
+ "Egyptian cat",
+ "cougar, puma, catamount, mountain lion, painter, panther, Felis concolor",
+ "lynx, catamount",
+ "leopard, Panthera pardus",
+ "snow leopard, ounce, Panthera uncia",
+ "jaguar, panther, Panthera onca, Felis onca",
+ "lion, king of beasts, Panthera leo",
+ "tiger, Panthera tigris",
+ "cheetah, chetah, Acinonyx jubatus",
+ "brown bear, bruin, Ursus arctos",
+ "American black bear, black bear, Ursus americanus, Euarctos americanus",
+ "ice bear, polar bear, Ursus Maritimus, Thalarctos maritimus",
+ "sloth bear, Melursus ursinus, Ursus ursinus",
+ "mongoose",
+ "meerkat, mierkat",
+ "tiger beetle",
+ "ladybug, ladybeetle, lady beetle, ladybird, ladybird beetle",
+ "ground beetle, carabid beetle",
+ "long-horned beetle, longicorn, longicorn beetle",
+ "leaf beetle, chrysomelid",
+ "dung beetle",
+ "rhinoceros beetle",
+ "weevil",
+ "fly",
+ "bee",
+ "ant, emmet, pismire",
+ "grasshopper, hopper",
+ "cricket",
+ "walking stick, walkingstick, stick insect",
+ "cockroach, roach",
+ "mantis, mantid",
+ "cicada, cicala",
+ "leafhopper",
+ "lacewing, lacewing fly",
+ "dragonfly, darning needle, devil's darning needle, sewing needle, snake feeder, snake doctor, mosquito hawk, skeeter hawk",
+ "damselfly",
+ "admiral",
+ "ringlet, ringlet butterfly",
+ "monarch, monarch butterfly, milkweed butterfly, Danaus plexippus",
+ "cabbage butterfly",
+ "sulphur butterfly, sulfur butterfly",
+ "lycaenid, lycaenid butterfly",
+ "starfish, sea star",
+ "sea urchin",
+ "sea cucumber, holothurian",
+ "wood rabbit, cottontail, cottontail rabbit",
+ "hare",
+ "Angora, Angora rabbit",
+ "hamster",
+ "porcupine, hedgehog",
+ "fox squirrel, eastern fox squirrel, Sciurus niger",
+ "marmot",
+ "beaver",
+ "guinea pig, Cavia cobaya",
+ "sorrel",
+ "zebra",
+ "hog, pig, grunter, squealer, Sus scrofa",
+ "wild boar, boar, Sus scrofa",
+ "warthog",
+ "hippopotamus, hippo, river horse, Hippopotamus amphibius",
+ "ox",
+ "water buffalo, water ox, Asiatic buffalo, Bubalus bubalis",
+ "bison",
+ "ram, tup",
+ "bighorn, bighorn sheep, cimarron, Rocky Mountain bighorn, Rocky Mountain sheep, Ovis canadensis",
+ "ibex, Capra ibex",
+ "hartebeest",
+ "impala, Aepyceros melampus",
+ "gazelle",
+ "Arabian camel, dromedary, Camelus dromedarius",
+ "llama",
+ "weasel",
+ "mink",
+ "polecat, fitch, foulmart, foumart, Mustela putorius",
+ "black-footed ferret, ferret, Mustela nigripes",
+ "otter",
+ "skunk, polecat, wood pussy",
+ "badger",
+ "armadillo",
+ "three-toed sloth, ai, Bradypus tridactylus",
+ "orangutan, orang, orangutang, Pongo pygmaeus",
+ "gorilla, Gorilla gorilla",
+ "chimpanzee, chimp, Pan troglodytes",
+ "gibbon, Hylobates lar",
+ "siamang, Hylobates syndactylus, Symphalangus syndactylus",
+ "guenon, guenon monkey",
+ "patas, hussar monkey, Erythrocebus patas",
+ "baboon",
+ "macaque",
+ "langur",
+ "colobus, colobus monkey",
+ "proboscis monkey, Nasalis larvatus",
+ "marmoset",
+ "capuchin, ringtail, Cebus capucinus",
+ "howler monkey, howler",
+ "titi, titi monkey",
+ "spider monkey, Ateles geoffroyi",
+ "squirrel monkey, Saimiri sciureus",
+ "Madagascar cat, ring-tailed lemur, Lemur catta",
+ "indri, indris, Indri indri, Indri brevicaudatus",
+ "Indian elephant, Elephas maximus",
+ "African elephant, Loxodonta africana",
+ "lesser panda, red panda, panda, bear cat, cat bear, Ailurus fulgens",
+ "giant panda, panda, panda bear, coon bear, Ailuropoda melanoleuca",
+ "barracouta, snoek",
+ "eel",
+ "coho, cohoe, coho salmon, blue jack, silver salmon, Oncorhynchus kisutch",
+ "rock beauty, Holocanthus tricolor",
+ "anemone fish",
+ "sturgeon",
+ "gar, garfish, garpike, billfish, Lepisosteus osseus",
+ "lionfish",
+ "puffer, pufferfish, blowfish, globefish",
+ "abacus",
+ "abaya",
+ "academic gown, academic robe, judge's robe",
+ "accordion, piano accordion, squeeze box",
+ "acoustic guitar",
+ "aircraft carrier, carrier, flattop, attack aircraft carrier",
+ "airliner",
+ "airship, dirigible",
+ "altar",
+ "ambulance",
+ "amphibian, amphibious vehicle",
+ "analog clock",
+ "apiary, bee house",
+ "apron",
+ "ashcan, trash can, garbage can, wastebin, ash bin, ash-bin, ashbin, dustbin, trash barrel, trash bin",
+ "assault rifle, assault gun",
+ "backpack, back pack, knapsack, packsack, rucksack, haversack",
+ "bakery, bakeshop, bakehouse",
+ "balance beam, beam",
+ "balloon",
+ "ballpoint, ballpoint pen, ballpen, Biro",
+ "Band Aid",
+ "banjo",
+ "bannister, banister, balustrade, balusters, handrail",
+ "barbell",
+ "barber chair",
+ "barbershop",
+ "barn",
+ "barometer",
+ "barrel, cask",
+ "barrow, garden cart, lawn cart, wheelbarrow",
+ "baseball",
+ "basketball",
+ "bassinet",
+ "bassoon",
+ "bathing cap, swimming cap",
+ "bath towel",
+ "bathtub, bathing tub, bath, tub",
+ "beach wagon, station wagon, wagon, estate car, beach waggon, station waggon, waggon",
+ "beacon, lighthouse, beacon light, pharos",
+ "beaker",
+ "bearskin, busby, shako",
+ "beer bottle",
+ "beer glass",
+ "bell cote, bell cot",
+ "bib",
+ "bicycle-built-for-two, tandem bicycle, tandem",
+ "bikini, two-piece",
+ "binder, ring-binder",
+ "binoculars, field glasses, opera glasses",
+ "birdhouse",
+ "boathouse",
+ "bobsled, bobsleigh, bob",
+ "bolo tie, bolo, bola tie, bola",
+ "bonnet, poke bonnet",
+ "bookcase",
+ "bookshop, bookstore, bookstall",
+ "bottlecap",
+ "bow",
+ "bow tie, bow-tie, bowtie",
+ "brass, memorial tablet, plaque",
+ "brassiere, bra, bandeau",
+ "breakwater, groin, groyne, mole, bulwark, seawall, jetty",
+ "breastplate, aegis, egis",
+ "broom",
+ "bucket, pail",
+ "buckle",
+ "bulletproof vest",
+ "bullet train, bullet",
+ "butcher shop, meat market",
+ "cab, hack, taxi, taxicab",
+ "caldron, cauldron",
+ "candle, taper, wax light",
+ "cannon",
+ "canoe",
+ "can opener, tin opener",
+ "cardigan",
+ "car mirror",
+ "carousel, carrousel, merry-go-round, roundabout, whirligig",
+ "carpenter's kit, tool kit",
+ "carton",
+ "car wheel",
+ "cash machine, cash dispenser, automated teller machine, automatic teller machine, automated teller, automatic teller, ATM",
+ "cassette",
+ "cassette player",
+ "castle",
+ "catamaran",
+ "CD player",
+ "cello, violoncello",
+ "cellular telephone, cellular phone, cellphone, cell, mobile phone",
+ "chain",
+ "chainlink fence",
+ "chain mail, ring mail, mail, chain armor, chain armour, ring armor, ring armour",
+ "chain saw, chainsaw",
+ "chest",
+ "chiffonier, commode",
+ "chime, bell, gong",
+ "china cabinet, china closet",
+ "Christmas stocking",
+ "church, church building",
+ "cinema, movie theater, movie theatre, movie house, picture palace",
+ "cleaver, meat cleaver, chopper",
+ "cliff dwelling",
+ "cloak",
+ "clog, geta, patten, sabot",
+ "cocktail shaker",
+ "coffee mug",
+ "coffeepot",
+ "coil, spiral, volute, whorl, helix",
+ "combination lock",
+ "computer keyboard, keypad",
+ "confectionery, confectionary, candy store",
+ "container ship, containership, container vessel",
+ "convertible",
+ "corkscrew, bottle screw",
+ "cornet, horn, trumpet, trump",
+ "cowboy boot",
+ "cowboy hat, ten-gallon hat",
+ "cradle",
+ "crane",
+ "crash helmet",
+ "crate",
+ "crib, cot",
+ "Crock Pot",
+ "croquet ball",
+ "crutch",
+ "cuirass",
+ "dam, dike, dyke",
+ "desk",
+ "desktop computer",
+ "dial telephone, dial phone",
+ "diaper, nappy, napkin",
+ "digital clock",
+ "digital watch",
+ "dining table, board",
+ "dishrag, dishcloth",
+ "dishwasher, dish washer, dishwashing machine",
+ "disk brake, disc brake",
+ "dock, dockage, docking facility",
+ "dogsled, dog sled, dog sleigh",
+ "dome",
+ "doormat, welcome mat",
+ "drilling platform, offshore rig",
+ "drum, membranophone, tympan",
+ "drumstick",
+ "dumbbell",
+ "Dutch oven",
+ "electric fan, blower",
+ "electric guitar",
+ "electric locomotive",
+ "entertainment center",
+ "envelope",
+ "espresso maker",
+ "face powder",
+ "feather boa, boa",
+ "file, file cabinet, filing cabinet",
+ "fireboat",
+ "fire engine, fire truck",
+ "fire screen, fireguard",
+ "flagpole, flagstaff",
+ "flute, transverse flute",
+ "folding chair",
+ "football helmet",
+ "forklift",
+ "fountain",
+ "fountain pen",
+ "four-poster",
+ "freight car",
+ "French horn, horn",
+ "frying pan, frypan, skillet",
+ "fur coat",
+ "garbage truck, dustcart",
+ "gasmask, respirator, gas helmet",
+ "gas pump, gasoline pump, petrol pump, island dispenser",
+ "goblet",
+ "go-kart",
+ "golf ball",
+ "golfcart, golf cart",
+ "gondola",
+ "gong, tam-tam",
+ "gown",
+ "grand piano, grand",
+ "greenhouse, nursery, glasshouse",
+ "grille, radiator grille",
+ "grocery store, grocery, food market, market",
+ "guillotine",
+ "hair slide",
+ "hair spray",
+ "half track",
+ "hammer",
+ "hamper",
+ "hand blower, blow dryer, blow drier, hair dryer, hair drier",
+ "hand-held computer, hand-held microcomputer",
+ "handkerchief, hankie, hanky, hankey",
+ "hard disc, hard disk, fixed disk",
+ "harmonica, mouth organ, harp, mouth harp",
+ "harp",
+ "harvester, reaper",
+ "hatchet",
+ "holster",
+ "home theater, home theatre",
+ "honeycomb",
+ "hook, claw",
+ "hoopskirt, crinoline",
+ "horizontal bar, high bar",
+ "horse cart, horse-cart",
+ "hourglass",
+ "iPod",
+ "iron, smoothing iron",
+ "jack-o'-lantern",
+ "jean, blue jean, denim",
+ "jeep, landrover",
+ "jersey, T-shirt, tee shirt",
+ "jigsaw puzzle",
+ "jinrikisha, ricksha, rickshaw",
+ "joystick",
+ "kimono",
+ "knee pad",
+ "knot",
+ "lab coat, laboratory coat",
+ "ladle",
+ "lampshade, lamp shade",
+ "laptop, laptop computer",
+ "lawn mower, mower",
+ "lens cap, lens cover",
+ "letter opener, paper knife, paperknife",
+ "library",
+ "lifeboat",
+ "lighter, light, igniter, ignitor",
+ "limousine, limo",
+ "liner, ocean liner",
+ "lipstick, lip rouge",
+ "Loafer",
+ "lotion",
+ "loudspeaker, speaker, speaker unit, loudspeaker system, speaker system",
+ "loupe, jeweler's loupe",
+ "lumbermill, sawmill",
+ "magnetic compass",
+ "mailbag, postbag",
+ "mailbox, letter box",
+ "maillot",
+ "maillot, tank suit",
+ "manhole cover",
+ "maraca",
+ "marimba, xylophone",
+ "mask",
+ "matchstick",
+ "maypole",
+ "maze, labyrinth",
+ "measuring cup",
+ "medicine chest, medicine cabinet",
+ "megalith, megalithic structure",
+ "microphone, mike",
+ "microwave, microwave oven",
+ "military uniform",
+ "milk can",
+ "minibus",
+ "miniskirt, mini",
+ "minivan",
+ "missile",
+ "mitten",
+ "mixing bowl",
+ "mobile home, manufactured home",
+ "Model T",
+ "modem",
+ "monastery",
+ "monitor",
+ "moped",
+ "mortar",
+ "mortarboard",
+ "mosque",
+ "mosquito net",
+ "motor scooter, scooter",
+ "mountain bike, all-terrain bike, off-roader",
+ "mountain tent",
+ "mouse, computer mouse",
+ "mousetrap",
+ "moving van",
+ "muzzle",
+ "nail",
+ "neck brace",
+ "necklace",
+ "nipple",
+ "notebook, notebook computer",
+ "obelisk",
+ "oboe, hautboy, hautbois",
+ "ocarina, sweet potato",
+ "odometer, hodometer, mileometer, milometer",
+ "oil filter",
+ "organ, pipe organ",
+ "oscilloscope, scope, cathode-ray oscilloscope, CRO",
+ "overskirt",
+ "oxcart",
+ "oxygen mask",
+ "packet",
+ "paddle, boat paddle",
+ "paddlewheel, paddle wheel",
+ "padlock",
+ "paintbrush",
+ "pajama, pyjama, pj's, jammies",
+ "palace",
+ "panpipe, pandean pipe, syrinx",
+ "paper towel",
+ "parachute, chute",
+ "parallel bars, bars",
+ "park bench",
+ "parking meter",
+ "passenger car, coach, carriage",
+ "patio, terrace",
+ "pay-phone, pay-station",
+ "pedestal, plinth, footstall",
+ "pencil box, pencil case",
+ "pencil sharpener",
+ "perfume, essence",
+ "Petri dish",
+ "photocopier",
+ "pick, plectrum, plectron",
+ "pickelhaube",
+ "picket fence, paling",
+ "pickup, pickup truck",
+ "pier",
+ "piggy bank, penny bank",
+ "pill bottle",
+ "pillow",
+ "ping-pong ball",
+ "pinwheel",
+ "pirate, pirate ship",
+ "pitcher, ewer",
+ "plane, carpenter's plane, woodworking plane",
+ "planetarium",
+ "plastic bag",
+ "plate rack",
+ "plow, plough",
+ "plunger, plumber's helper",
+ "Polaroid camera, Polaroid Land camera",
+ "pole",
+ "police van, police wagon, paddy wagon, patrol wagon, wagon, black Maria",
+ "poncho",
+ "pool table, billiard table, snooker table",
+ "pop bottle, soda bottle",
+ "pot, flowerpot",
+ "potter's wheel",
+ "power drill",
+ "prayer rug, prayer mat",
+ "printer",
+ "prison, prison house",
+ "projectile, missile",
+ "projector",
+ "puck, hockey puck",
+ "punching bag, punch bag, punching ball, punchball",
+ "purse",
+ "quill, quill pen",
+ "quilt, comforter, comfort, puff",
+ "racer, race car, racing car",
+ "racket, racquet",
+ "radiator",
+ "radio, wireless",
+ "radio telescope, radio reflector",
+ "rain barrel",
+ "recreational vehicle, RV, R.V.",
+ "reel",
+ "reflex camera",
+ "refrigerator, icebox",
+ "remote control, remote",
+ "restaurant, eating house, eating place, eatery",
+ "revolver, six-gun, six-shooter",
+ "rifle",
+ "rocking chair, rocker",
+ "rotisserie",
+ "rubber eraser, rubber, pencil eraser",
+ "rugby ball",
+ "rule, ruler",
+ "running shoe",
+ "safe",
+ "safety pin",
+ "saltshaker, salt shaker",
+ "sandal",
+ "sarong",
+ "sax, saxophone",
+ "scabbard",
+ "scale, weighing machine",
+ "school bus",
+ "schooner",
+ "scoreboard",
+ "screen, CRT screen",
+ "screw",
+ "screwdriver",
+ "seat belt, seatbelt",
+ "sewing machine",
+ "shield, buckler",
+ "shoe shop, shoe-shop, shoe store",
+ "shoji",
+ "shopping basket",
+ "shopping cart",
+ "shovel",
+ "shower cap",
+ "shower curtain",
+ "ski",
+ "ski mask",
+ "sleeping bag",
+ "slide rule, slipstick",
+ "sliding door",
+ "slot, one-armed bandit",
+ "snorkel",
+ "snowmobile",
+ "snowplow, snowplough",
+ "soap dispenser",
+ "soccer ball",
+ "sock",
+ "solar dish, solar collector, solar furnace",
+ "sombrero",
+ "soup bowl",
+ "space bar",
+ "space heater",
+ "space shuttle",
+ "spatula",
+ "speedboat",
+ "spider web, spider's web",
+ "spindle",
+ "sports car, sport car",
+ "spotlight, spot",
+ "stage",
+ "steam locomotive",
+ "steel arch bridge",
+ "steel drum",
+ "stethoscope",
+ "stole",
+ "stone wall",
+ "stopwatch, stop watch",
+ "stove",
+ "strainer",
+ "streetcar, tram, tramcar, trolley, trolley car",
+ "stretcher",
+ "studio couch, day bed",
+ "stupa, tope",
+ "submarine, pigboat, sub, U-boat",
+ "suit, suit of clothes",
+ "sundial",
+ "sunglass",
+ "sunglasses, dark glasses, shades",
+ "sunscreen, sunblock, sun blocker",
+ "suspension bridge",
+ "swab, swob, mop",
+ "sweatshirt",
+ "swimming trunks, bathing trunks",
+ "swing",
+ "switch, electric switch, electrical switch",
+ "syringe",
+ "table lamp",
+ "tank, army tank, armored combat vehicle, armoured combat vehicle",
+ "tape player",
+ "teapot",
+ "teddy, teddy bear",
+ "television, television system",
+ "tennis ball",
+ "thatch, thatched roof",
+ "theater curtain, theatre curtain",
+ "thimble",
+ "thresher, thrasher, threshing machine",
+ "throne",
+ "tile roof",
+ "toaster",
+ "tobacco shop, tobacconist shop, tobacconist",
+ "toilet seat",
+ "torch",
+ "totem pole",
+ "tow truck, tow car, wrecker",
+ "toyshop",
+ "tractor",
+ "trailer truck, tractor trailer, trucking rig, rig, articulated lorry, semi",
+ "tray",
+ "trench coat",
+ "tricycle, trike, velocipede",
+ "trimaran",
+ "tripod",
+ "triumphal arch",
+ "trolleybus, trolley coach, trackless trolley",
+ "trombone",
+ "tub, vat",
+ "turnstile",
+ "typewriter keyboard",
+ "umbrella",
+ "unicycle, monocycle",
+ "upright, upright piano",
+ "vacuum, vacuum cleaner",
+ "vase",
+ "vault",
+ "velvet",
+ "vending machine",
+ "vestment",
+ "viaduct",
+ "violin, fiddle",
+ "volleyball",
+ "waffle iron",
+ "wall clock",
+ "wallet, billfold, notecase, pocketbook",
+ "wardrobe, closet, press",
+ "warplane, military plane",
+ "washbasin, handbasin, washbowl, lavabo, wash-hand basin",
+ "washer, automatic washer, washing machine",
+ "water bottle",
+ "water jug",
+ "water tower",
+ "whiskey jug",
+ "whistle",
+ "wig",
+ "window screen",
+ "window shade",
+ "Windsor tie",
+ "wine bottle",
+ "wing",
+ "wok",
+ "wooden spoon",
+ "wool, woolen, woollen",
+ "worm fence, snake fence, snake-rail fence, Virginia fence",
+ "wreck",
+ "yawl",
+ "yurt",
+ "web site, website, internet site, site",
+ "comic book",
+ "crossword puzzle, crossword",
+ "street sign",
+ "traffic light, traffic signal, stoplight",
+ "book jacket, dust cover, dust jacket, dust wrapper",
+ "menu",
+ "plate",
+ "guacamole",
+ "consomme",
+ "hot pot, hotpot",
+ "trifle",
+ "ice cream, icecream",
+ "ice lolly, lolly, lollipop, popsicle",
+ "French loaf",
+ "bagel, beigel",
+ "pretzel",
+ "cheeseburger",
+ "hotdog, hot dog, red hot",
+ "mashed potato",
+ "head cabbage",
+ "broccoli",
+ "cauliflower",
+ "zucchini, courgette",
+ "spaghetti squash",
+ "acorn squash",
+ "butternut squash",
+ "cucumber, cuke",
+ "artichoke, globe artichoke",
+ "bell pepper",
+ "cardoon",
+ "mushroom",
+ "Granny Smith",
+ "strawberry",
+ "orange",
+ "lemon",
+ "fig",
+ "pineapple, ananas",
+ "banana",
+ "jackfruit, jak, jack",
+ "custard apple",
+ "pomegranate",
+ "hay",
+ "carbonara",
+ "chocolate sauce, chocolate syrup",
+ "dough",
+ "meat loaf, meatloaf",
+ "pizza, pizza pie",
+ "potpie",
+ "burrito",
+ "red wine",
+ "espresso",
+ "cup",
+ "eggnog",
+ "alp",
+ "bubble",
+ "cliff, drop, drop-off",
+ "coral reef",
+ "geyser",
+ "lakeside, lakeshore",
+ "promontory, headland, head, foreland",
+ "sandbar, sand bar",
+ "seashore, coast, seacoast, sea-coast",
+ "valley, vale",
+ "volcano",
+ "ballplayer, baseball player",
+ "groom, bridegroom",
+ "scuba diver",
+ "rapeseed",
+ "daisy",
+ "yellow lady's slipper, yellow lady-slipper, Cypripedium calceolus, Cypripedium parviflorum",
+ "corn",
+ "acorn",
+ "hip, rose hip, rosehip",
+ "buckeye, horse chestnut, conker",
+ "coral fungus",
+ "agaric",
+ "gyromitra",
+ "stinkhorn, carrion fungus",
+ "earthstar",
+ "hen-of-the-woods, hen of the woods, Polyporus frondosus, Grifola frondosa",
+ "bolete",
+ "ear, spike, capitulum",
+ "toilet tissue, toilet paper, bathroom tissue"
+ )
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/androidProjectOnTFLite/ListOfClassifiedImagesFragment.kt b/app/src/main/java/com/example/androidProjectOnTFLite/ListOfClassifiedImagesFragment.kt
new file mode 100644
index 0000000..01e69e5
--- /dev/null
+++ b/app/src/main/java/com/example/androidProjectOnTFLite/ListOfClassifiedImagesFragment.kt
@@ -0,0 +1,22 @@
+package com.example.androidProjectOnTFLite
+
+import android.os.Bundle
+import androidx.fragment.app.Fragment
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+
+/**
+ * A simple [Fragment] subclass.
+ */
+class ListOfClassifiedImagesFragment : Fragment() {
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ // Inflate the layout for this fragment
+ return inflater.inflate(R.layout.fragment_list_of_classified_images, container, false)
+ }
+
+}
diff --git a/app/src/main/java/com/example/androidProjectOnTFLite/MainActivity.kt b/app/src/main/java/com/example/androidProjectOnTFLite/MainActivity.kt
new file mode 100644
index 0000000..6514184
--- /dev/null
+++ b/app/src/main/java/com/example/androidProjectOnTFLite/MainActivity.kt
@@ -0,0 +1,14 @@
+package com.example.androidProjectOnTFLite
+
+import android.os.Bundle
+import androidx.appcompat.app.AppCompatActivity
+import androidx.navigation.fragment.NavHostFragment
+
+
+class MainActivity : AppCompatActivity() {
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ setContentView(R.layout.activity_main)
+ }
+ // val host = NavHostFragment.create(R.navigation.nav_graph)
+}
diff --git a/app/src/main/java/com/example/androidProjectOnTFLite/MenuFragment.kt b/app/src/main/java/com/example/androidProjectOnTFLite/MenuFragment.kt
new file mode 100644
index 0000000..74e0d08
--- /dev/null
+++ b/app/src/main/java/com/example/androidProjectOnTFLite/MenuFragment.kt
@@ -0,0 +1,31 @@
+package com.example.androidProjectOnTFLite
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.fragment.app.Fragment
+import androidx.navigation.Navigation
+import kotlinx.android.synthetic.main.fragment_menu.*
+
+/**
+ * A simple [Fragment] subclass.
+ */
+class MenuFragment : Fragment() {
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ // Inflate the layout for this fragment
+ return inflater.inflate(R.layout.fragment_menu, container, false)
+ }
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ toCamera.setOnClickListener(Navigation.createNavigateOnClickListener(R.id.action_menuFragment_to_capturePhotoFragment))
+ toList.setOnClickListener(Navigation.createNavigateOnClickListener(R.id.action_menuFragment_to_listOfClassifiedImagesFragment))
+ }
+
+ //val navController =
+
+}
diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 0000000..2b068d1
--- /dev/null
+++ b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 0000000..07d5da9
--- /dev/null
+++ b/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..d988d5b
--- /dev/null
+++ b/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_capture_photo.xml b/app/src/main/res/layout/fragment_capture_photo.xml
new file mode 100644
index 0000000..c342bc1
--- /dev/null
+++ b/app/src/main/res/layout/fragment_capture_photo.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_list_of_classified_images.xml b/app/src/main/res/layout/fragment_list_of_classified_images.xml
new file mode 100644
index 0000000..aab2d92
--- /dev/null
+++ b/app/src/main/res/layout/fragment_list_of_classified_images.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_menu.xml b/app/src/main/res/layout/fragment_menu.xml
new file mode 100644
index 0000000..ec72a6d
--- /dev/null
+++ b/app/src/main/res/layout/fragment_menu.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..a571e60
Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 0000000..61da551
Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..c41dd28
Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 0000000..db5080a
Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..6dba46d
Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..da31a87
Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..15ac681
Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..b216f2d
Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..f25a419
Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..e96783c
Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml
new file mode 100644
index 0000000..17b7ef4
--- /dev/null
+++ b/app/src/main/res/navigation/nav_graph.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..030098f
--- /dev/null
+++ b/app/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #6200EE
+ #3700B3
+ #03DAC5
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..b2858a2
--- /dev/null
+++ b/app/src/main/res/values/strings.xml
@@ -0,0 +1,6 @@
+
+ androidProjectOnTFLite
+
+
+ Hello blank fragment
+
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..5885930
--- /dev/null
+++ b/app/src/main/res/values/styles.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
diff --git a/app/src/test/java/com/example/androidProjectOnTFLite/ExampleUnitTest.kt b/app/src/test/java/com/example/androidProjectOnTFLite/ExampleUnitTest.kt
new file mode 100644
index 0000000..81cf805
--- /dev/null
+++ b/app/src/test/java/com/example/androidProjectOnTFLite/ExampleUnitTest.kt
@@ -0,0 +1,17 @@
+package com.example.androidProjectOnTFLite
+
+import org.junit.Test
+
+import org.junit.Assert.*
+
+/**
+ * Example local unit test, which will execute on the development machine (host).
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+class ExampleUnitTest {
+ @Test
+ fun addition_isCorrect() {
+ assertEquals(4, 2 + 2)
+ }
+}
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..e6540ea
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,31 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+ ext.kotlin_version = '1.3.61'
+ repositories {
+ google()
+ jcenter()
+
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.6.1'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+
+
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..23339e0
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,21 @@
+# Project-wide Gradle settings.
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx1536m
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
+# AndroidX package structure to make it clearer which packages are bundled with the
+# Android operating system, and which are packaged with your app's APK
+# https://developer.android.com/topic/libraries/support-library/androidx-rn
+android.useAndroidX=true
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
+# Kotlin code style for this project: "official" or "obsolete":
+kotlin.code.style=official
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..f6b961f
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..aae3436
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Tue Mar 03 20:04:36 GST 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
diff --git a/gradlew b/gradlew
new file mode 100644
index 0000000..cccdd3d
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=$(save "$@")
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..f955316
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,84 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..99e79dd
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,2 @@
+rootProject.name='tfLite'
+include ':app'