Skip to content

Commit 3f7bc5b

Browse files
committed
Added ML Model
1 parent 45d46c2 commit 3f7bc5b

File tree

15 files changed

+341
-4
lines changed

15 files changed

+341
-4
lines changed

Flutter/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
This section explains the code for each of the screens in the user interface of the application, which has been designed using the Flutter toolkit. There is a separate dart file for each screen. Additionally, there is a navigation bar to navigate between the various screens in the application. A separate dart file has been created which contains the code for the navigation bar.
44

5+
**APK link:**
6+
https://drive.google.com/file/d/1mkXkOxHaLk23ldas-AEwtkmfEhoEjNUo/view?usp=sharing
7+
58
### Dart File 1: mainnavbar.dart
69

710
**Description:**

Flutter/android/app/src/main/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<application
99
android:name="io.flutter.app.FlutterApplication"
1010
android:label="foodaayush"
11-
android:icon="@mipmap/ic_launcher">
11+
android:icon="@mipmap/launcher_icon">
1212
<activity
1313
android:name=".MainActivity"
1414
android:launchMode="singleTop"
Loading
Loading
Loading
Loading
Loading

Flutter/assets/Food_Aayush.png

261 KB
Loading

Flutter/lib/Connection.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class _ConnectPageState extends State<ConnectPage> {
155155
),
156156
),
157157
)
158-
: myDouble < 6.0
158+
: myDouble < 6.50
159159
? Container(
160160
child: Text(
161161
'Rancid',

Flutter/pubspec.lock

+56
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# Generated by pub
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
4+
archive:
5+
dependency: transitive
6+
description:
7+
name: archive
8+
url: "https://pub.dartlang.org"
9+
source: hosted
10+
version: "3.1.2"
11+
args:
12+
dependency: transitive
13+
description:
14+
name: args
15+
url: "https://pub.dartlang.org"
16+
source: hosted
17+
version: "2.0.0"
418
async:
519
dependency: transitive
620
description:
@@ -64,6 +78,13 @@ packages:
6478
url: "https://pub.dartlang.org"
6579
source: hosted
6680
version: "0.3.1+1"
81+
crypto:
82+
dependency: transitive
83+
description:
84+
name: crypto
85+
url: "https://pub.dartlang.org"
86+
source: hosted
87+
version: "3.0.1"
6788
cupertino_icons:
6889
dependency: "direct main"
6990
description:
@@ -146,6 +167,13 @@ packages:
146167
url: "https://pub.dartlang.org"
147168
source: hosted
148169
version: "0.2.2"
170+
flutter_launcher_icons:
171+
dependency: "direct dev"
172+
description:
173+
name: flutter_launcher_icons
174+
url: "https://pub.dartlang.org"
175+
source: hosted
176+
version: "0.9.0"
149177
flutter_plugin_android_lifecycle:
150178
dependency: transitive
151179
description:
@@ -177,6 +205,13 @@ packages:
177205
url: "https://pub.dartlang.org"
178206
source: hosted
179207
version: "4.0.0"
208+
image:
209+
dependency: transitive
210+
description:
211+
name: image
212+
url: "https://pub.dartlang.org"
213+
source: hosted
214+
version: "3.0.2"
180215
image_picker:
181216
dependency: "direct main"
182217
description:
@@ -275,6 +310,13 @@ packages:
275310
url: "https://pub.dartlang.org"
276311
source: hosted
277312
version: "1.11.0"
313+
petitparser:
314+
dependency: transitive
315+
description:
316+
name: petitparser
317+
url: "https://pub.dartlang.org"
318+
source: hosted
319+
version: "4.1.0"
278320
platform:
279321
dependency: transitive
280322
description:
@@ -441,6 +483,20 @@ packages:
441483
url: "https://pub.dartlang.org"
442484
source: hosted
443485
version: "0.2.0"
486+
xml:
487+
dependency: transitive
488+
description:
489+
name: xml
490+
url: "https://pub.dartlang.org"
491+
source: hosted
492+
version: "5.1.1"
493+
yaml:
494+
dependency: transitive
495+
description:
496+
name: yaml
497+
url: "https://pub.dartlang.org"
498+
source: hosted
499+
version: "3.1.0"
444500
sdks:
445501
dart: ">=2.12.0 <3.0.0"
446502
flutter: ">=1.22.0"

Flutter/pubspec.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,16 @@ dependencies:
3636
cupertino_icons: ^1.0.2
3737
camera: ^0.8.0
3838
path_provider: ^2.0.1
39-
path: ^1.8.0
39+
path: ^1.8.0
4040

4141
dev_dependencies:
4242
flutter_test:
4343
sdk: flutter
44+
flutter_launcher_icons: "^0.9.0"
45+
46+
flutter_icons:
47+
android: "launcher_icon"
48+
image_path: "assets/Food_Aayush.png"
4449

4550
# For information on the generic Dart part of this file, see the
4651
# following page: https://dart.dev/tools/pub/pubspec
@@ -58,7 +63,7 @@ flutter:
5863
# - images/a_dot_burr.jpeg
5964
# - images/a_dot_ham.jpeg
6065
assets:
61-
#- assets/Opening.JPG
66+
- assets/Food_Aayush.png
6267
- assets/float16_optimised_model_Inceptionv3.tflite
6368
- assets/ImageLabels.txt
6469
# An image asset can refer to one or more resolution-specific "variants", see
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)