Commit e5649f56 by Ramesh Babu Puvvadi

added

parent 7248b815
{ {
"java.configuration.updateBuildConfiguration": "interactive", "java.configuration.updateBuildConfiguration": "disabled",
"git.ignoreLimitWarning": true "git.ignoreLimitWarning": true
} }
\ No newline at end of file
...@@ -34,6 +34,7 @@ android { ...@@ -34,6 +34,7 @@ android {
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8
} }
kotlinOptions { kotlinOptions {
jvmTarget = '1.8' jvmTarget = '1.8'
} }
...@@ -43,10 +44,7 @@ android { ...@@ -43,10 +44,7 @@ android {
} }
defaultConfig { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.photoshoot" applicationId "com.example.photoshoot"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion 21 minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
...@@ -57,8 +55,6 @@ android { ...@@ -57,8 +55,6 @@ android {
buildTypes { buildTypes {
release { release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug signingConfig signingConfigs.debug
} }
} }
......
# Uncomment this line to define a global platform for your project # Uncomment this line to define a global platform for your project
# platform :ios, '11.0' #platform :ios, '11.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency. # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
platform :ios, '12.0' platform :ios, '12.0'
......
...@@ -26,14 +26,36 @@ PODS: ...@@ -26,14 +26,36 @@ PODS:
- Flutter - Flutter
- platform_device_id (0.0.1): - platform_device_id (0.0.1):
- Flutter - Flutter
- Reachability (3.2) - Reachability (3.7.5)
- shared_preferences_foundation (0.0.1): - shared_preferences_foundation (0.0.1):
- Flutter - Flutter
- FlutterMacOS - FlutterMacOS
- speech_to_text (0.0.1): - speech_to_text (0.0.1):
- Flutter - Flutter
- Try - Try
- Toast (4.0.0) - TensorFlowLiteC (2.12.0):
- TensorFlowLiteC/Core (= 2.12.0)
- TensorFlowLiteC/Core (2.12.0)
- TensorFlowLiteC/CoreML (2.12.0):
- TensorFlowLiteC/Core
- TensorFlowLiteC/Metal (2.12.0):
- TensorFlowLiteC/Core
- TensorFlowLiteSwift (2.12.0):
- TensorFlowLiteSwift/Core (= 2.12.0)
- TensorFlowLiteSwift/Core (2.12.0):
- TensorFlowLiteC (= 2.12.0)
- TensorFlowLiteSwift/CoreML (2.12.0):
- TensorFlowLiteC/CoreML (= 2.12.0)
- TensorFlowLiteSwift/Core (= 2.12.0)
- TensorFlowLiteSwift/Metal (2.12.0):
- TensorFlowLiteC/Metal (= 2.12.0)
- TensorFlowLiteSwift/Core (= 2.12.0)
- tflite_flutter (0.0.1):
- Flutter
- TensorFlowLiteSwift (= 2.12.0)
- TensorFlowLiteSwift/CoreML (= 2.12.0)
- TensorFlowLiteSwift/Metal (= 2.12.0)
- Toast (4.1.0)
- TOCropViewController (2.6.1) - TOCropViewController (2.6.1)
- Try (2.1.1) - Try (2.1.1)
...@@ -52,10 +74,13 @@ DEPENDENCIES: ...@@ -52,10 +74,13 @@ DEPENDENCIES:
- platform_device_id (from `.symlinks/plugins/platform_device_id/ios`) - platform_device_id (from `.symlinks/plugins/platform_device_id/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- speech_to_text (from `.symlinks/plugins/speech_to_text/ios`) - speech_to_text (from `.symlinks/plugins/speech_to_text/ios`)
- tflite_flutter (from `.symlinks/plugins/tflite_flutter/ios`)
SPEC REPOS: SPEC REPOS:
trunk: trunk:
- Reachability - Reachability
- TensorFlowLiteC
- TensorFlowLiteSwift
- Toast - Toast
- TOCropViewController - TOCropViewController
- Try - Try
...@@ -89,6 +114,8 @@ EXTERNAL SOURCES: ...@@ -89,6 +114,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin" :path: ".symlinks/plugins/shared_preferences_foundation/darwin"
speech_to_text: speech_to_text:
:path: ".symlinks/plugins/speech_to_text/ios" :path: ".symlinks/plugins/speech_to_text/ios"
tflite_flutter:
:path: ".symlinks/plugins/tflite_flutter/ios"
SPEC CHECKSUMS: SPEC CHECKSUMS:
connectivity: c4130b2985d4ef6fd26f9702e886bd5260681467 connectivity: c4130b2985d4ef6fd26f9702e886bd5260681467
...@@ -103,13 +130,16 @@ SPEC CHECKSUMS: ...@@ -103,13 +130,16 @@ SPEC CHECKSUMS:
path_provider_foundation: c68054786f1b4f3343858c1e1d0caaded73f0be9 path_provider_foundation: c68054786f1b4f3343858c1e1d0caaded73f0be9
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6 permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
platform_device_id: 81b3e2993881f87d0c82ef151dc274df4869aef5 platform_device_id: 81b3e2993881f87d0c82ef151dc274df4869aef5
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96 Reachability: 44d15955cdaee6cef699877e1f6647dd6f6698cc
shared_preferences_foundation: 986fc17f3d3251412d18b0265f9c64113a8c2472 shared_preferences_foundation: 986fc17f3d3251412d18b0265f9c64113a8c2472
speech_to_text: b43a7d99aef037bd758ed8e45d79bbac035d2dfe speech_to_text: b43a7d99aef037bd758ed8e45d79bbac035d2dfe
Toast: 91b396c56ee72a5790816f40d3a94dd357abc196 TensorFlowLiteC: 20785a69299185a379ba9852b6625f00afd7984a
TensorFlowLiteSwift: 3a4928286e9e35bdd3e17970f48e53c80d25e793
tflite_flutter: 9433d086a3060431bbc9f3c7c20d017db0e72d08
Toast: ec33c32b8688982cecc6348adeae667c1b9938da
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863 TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
Try: 5ef669ae832617b3cee58cb2c6f99fb767a4ff96 Try: 5ef669ae832617b3cee58cb2c6f99fb767a4ff96
PODFILE CHECKSUM: 1119d1c4de683e572c54a0dff7a594860d13ec5e PODFILE CHECKSUM: 8760af036c854a98537ab1b9885e846c532bf2ad
COCOAPODS: 1.15.2 COCOAPODS: 1.15.2
...@@ -9,24 +9,21 @@ ...@@ -9,24 +9,21 @@
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
58EAF30096A89F897612898B /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A5C3AD4E415D3A37FF9A8E35 /* Pods_Runner.framework */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
8FDBB0682A0D03A200D58C20 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 847E373D6D52E4BB5A616440 /* Pods_Runner.framework */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
0324693DA33A5278D39C63ED /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; }; 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
1D2B97808EC1160CF30AB7EC /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
5A5082EBE9A74FAB02FF6724 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; }; 715049C58EE1D941F9A65C30 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
847E373D6D52E4BB5A616440 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; }; 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; }; 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
...@@ -34,6 +31,9 @@ ...@@ -34,6 +31,9 @@
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A5C3AD4E415D3A37FF9A8E35 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
BF865399CDF6A9BAA6A1F86A /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
D7A67D522EF438CAD5D7BFFA /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
...@@ -41,13 +41,21 @@ ...@@ -41,13 +41,21 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
8FDBB0682A0D03A200D58C20 /* Pods_Runner.framework in Frameworks */, 58EAF30096A89F897612898B /* Pods_Runner.framework in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
/* End PBXFrameworksBuildPhase section */ /* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
0668A5883F247466B18045C7 /* Frameworks */ = {
isa = PBXGroup;
children = (
A5C3AD4E415D3A37FF9A8E35 /* Pods_Runner.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
9740EEB11CF90186004384FC /* Flutter */ = { 9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
...@@ -66,7 +74,7 @@ ...@@ -66,7 +74,7 @@
97C146F01CF9000F007C117D /* Runner */, 97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */, 97C146EF1CF9000F007C117D /* Products */,
B7C0D77D503BAEDE0A65B1C4 /* Pods */, B7C0D77D503BAEDE0A65B1C4 /* Pods */,
AA2AD1B7A1FCD51E7F3BD1EF /* Frameworks */, 0668A5883F247466B18045C7 /* Frameworks */,
); );
sourceTree = "<group>"; sourceTree = "<group>";
}; };
...@@ -93,20 +101,12 @@ ...@@ -93,20 +101,12 @@
path = Runner; path = Runner;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
AA2AD1B7A1FCD51E7F3BD1EF /* Frameworks */ = {
isa = PBXGroup;
children = (
847E373D6D52E4BB5A616440 /* Pods_Runner.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
B7C0D77D503BAEDE0A65B1C4 /* Pods */ = { B7C0D77D503BAEDE0A65B1C4 /* Pods */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
1D2B97808EC1160CF30AB7EC /* Pods-Runner.debug.xcconfig */, 715049C58EE1D941F9A65C30 /* Pods-Runner.debug.xcconfig */,
5A5082EBE9A74FAB02FF6724 /* Pods-Runner.release.xcconfig */, D7A67D522EF438CAD5D7BFFA /* Pods-Runner.release.xcconfig */,
0324693DA33A5278D39C63ED /* Pods-Runner.profile.xcconfig */, BF865399CDF6A9BAA6A1F86A /* Pods-Runner.profile.xcconfig */,
); );
path = Pods; path = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -118,13 +118,13 @@ ...@@ -118,13 +118,13 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = ( buildPhases = (
85C61B1B1359DABD92EBFB47 /* [CP] Check Pods Manifest.lock */, CDA70A9517E8136F910D4A49 /* [CP] Check Pods Manifest.lock */,
9740EEB61CF901F6004384FC /* Run Script */, 9740EEB61CF901F6004384FC /* Run Script */,
97C146EA1CF9000F007C117D /* Sources */, 97C146EA1CF9000F007C117D /* Sources */,
97C146EB1CF9000F007C117D /* Frameworks */, 97C146EB1CF9000F007C117D /* Frameworks */,
97C146EC1CF9000F007C117D /* Resources */, 97C146EC1CF9000F007C117D /* Resources */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
FB57A828DD7D441FF91E03EB /* [CP] Embed Pods Frameworks */, 099737BA641C029B411EB4EF /* [CP] Embed Pods Frameworks */,
); );
buildRules = ( buildRules = (
); );
...@@ -184,43 +184,38 @@ ...@@ -184,43 +184,38 @@
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 099737BA641C029B411EB4EF /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputFileListPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
); );
name = "Thin Binary"; name = "[CP] Embed Pods Frameworks";
outputPaths = ( outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin\n"; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
}; };
85C61B1B1359DABD92EBFB47 /* [CP] Check Pods Manifest.lock */ = { 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputFileListPaths = (
);
inputPaths = ( inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock", "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
); );
name = "Thin Binary";
outputPaths = ( outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin\n";
showEnvVarsInLog = 0;
}; };
9740EEB61CF901F6004384FC /* Run Script */ = { 9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
...@@ -237,21 +232,26 @@ ...@@ -237,21 +232,26 @@
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n"; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n";
}; };
FB57A828DD7D441FF91E03EB /* [CP] Embed Pods Frameworks */ = { CDA70A9517E8136F910D4A49 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputFileListPaths = ( inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
); );
name = "[CP] Embed Pods Frameworks"; inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = ( outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", );
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
/* End PBXShellScriptBuildPhase section */ /* End PBXShellScriptBuildPhase section */
......
...@@ -17,13 +17,12 @@ class Constants { ...@@ -17,13 +17,12 @@ class Constants {
static Future<void> showAlertDialog1(BuildContext context) async { static Future<void> showAlertDialog1(BuildContext context) async {
AlertDialog alert = AlertDialog( AlertDialog alert = AlertDialog(
content: new Row( content: Row(
children: [ children: [
const CircularProgressIndicator(), const CircularProgressIndicator(),
Container( Container(
margin: const EdgeInsets.only(left: 5), margin: const EdgeInsets.only(left: 5),
child: const Text("Loading") child: const Text("Loading")),
),
], ],
), ),
); );
...@@ -54,7 +53,8 @@ class Constants { ...@@ -54,7 +53,8 @@ class Constants {
context: ctx, context: ctx,
builder: (context) { builder: (context) {
return const Center(child: CircularProgressIndicator()); return const Center(child: CircularProgressIndicator());
}); }
);
} }
static Future<void> saveLoginCredentials(String username, String token, static Future<void> saveLoginCredentials(String username, String token,
...@@ -79,20 +79,15 @@ class Constants { ...@@ -79,20 +79,15 @@ class Constants {
} }
static String hashPassword(String password) { static String hashPassword(String password) {
// Convert password string to bytes
var bytes = utf8.encode(password); var bytes = utf8.encode(password);
// Generate SHA-256 hash
var digest = sha256.convert(bytes); var digest = sha256.convert(bytes);
// Convert digest to a string
return digest.toString(); return digest.toString();
} }
showAlertDialog(BuildContext context) { showAlertDialog(BuildContext context) {
// set up the button // set up the button
Widget okButton = TextButton( Widget okButton = TextButton(
child: Text("Cancel"), child: const Text("Cancel"),
onPressed: () { onPressed: () {
Navigator.of(context).pop(); Navigator.of(context).pop();
}); });
...@@ -105,7 +100,6 @@ class Constants { ...@@ -105,7 +100,6 @@ class Constants {
okButton, okButton,
], ],
); );
// show the dialog // show the dialog
showDialog( showDialog(
context: context, context: context,
......
import 'dart:async'; import 'dart:async';
import 'dart:io'; import 'dart:io';
import 'package:GrccaptureImages/Screen/Constants.dart';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:image_picker/image_picker.dart'; import 'package:image_picker/image_picker.dart';
import 'package:flutter_barcode_scanner/flutter_barcode_scanner.dart' import 'package:flutter_barcode_scanner/flutter_barcode_scanner.dart' show FlutterBarcodeScanner, ScanMode;
show FlutterBarcodeScanner, ScanMode; import 'Constants.dart';
class Home extends StatefulWidget { class Home extends StatefulWidget {
const Home({super.key}); const Home({super.key});
...@@ -30,8 +29,7 @@ class _Home extends State<Home> { ...@@ -30,8 +29,7 @@ class _Home extends State<Home> {
Future<void> _getImage(int index) async { Future<void> _getImage(int index) async {
if (_barcodevalue.text.isEmpty) { if (_barcodevalue.text.isEmpty) {
Constants('Barcode', 'Please Scan Barcode First') Constants('Barcode', 'Please Scan Barcode First').showAlertDialog(context);
.showAlertDialog(context);
} else { } else {
image = await _picker.pickImage(source: ImageSource.camera); image = await _picker.pickImage(source: ImageSource.camera);
if (image != null) { if (image != null) {
...@@ -50,8 +48,8 @@ class _Home extends State<Home> { ...@@ -50,8 +48,8 @@ class _Home extends State<Home> {
'Cancel', 'Cancel',
true, true,
ScanMode.BARCODE, ScanMode.BARCODE,
//scanAreaWidth: 300, // scanAreaWidth: 300,
//scanAreaHeight: 200, // scanAreaHeight: 200,
); );
if (kDebugMode) { if (kDebugMode) {
print(barcodeScanRes); print(barcodeScanRes);
...@@ -60,12 +58,12 @@ class _Home extends State<Home> { ...@@ -60,12 +58,12 @@ class _Home extends State<Home> {
_barcodevalue.text = barcodeScanRes; _barcodevalue.text = barcodeScanRes;
//if(barcodeScanRes == '-1') { //if(barcodeScanRes == '-1') {
// _barcodevalue.text = ''; // _barcodevalue.text = '';
//}else{ //} else{
// _barcodevalue.text = barcodeScanRes; // _barcodevalue.text = barcodeScanRes;
// if (RegExp(r'^[0-9]+$').hasMatch(_barcodevalue.text)) { // if(RegExp(r'^[0-9]+$').hasMatch(_barcodevalue.text)) {
// _barcodevalue.text = ''; // _barcodevalue.text = '';
// startBarcodeScanStream(); // startBarcodeScanStream();
// } else { // }else{
// //getUpdate(_barcodevalue.text); // //getUpdate(_barcodevalue.text);
// } // }
//} //}
...@@ -108,7 +106,8 @@ class _Home extends State<Home> { ...@@ -108,7 +106,8 @@ class _Home extends State<Home> {
icon: Image.asset('assets/images/ic_barcode.png')), icon: Image.asset('assets/images/ic_barcode.png')),
]), ]),
const SizedBox(height: 20), const SizedBox(height: 20),
Row(mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ Row(mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
Column( Column(
children: [ children: [
const Text( const Text(
......
...@@ -6,15 +6,15 @@ import 'package:flutter/material.dart'; ...@@ -6,15 +6,15 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:image_cropper/image_cropper.dart'; import 'package:image_cropper/image_cropper.dart';
import 'package:image_picker/image_picker.dart'; import 'package:image_picker/image_picker.dart';
import 'package:shared_preferences/shared_preferences.dart'; import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_barcode_scanner/flutter_barcode_scanner.dart'; import 'package:flutter_barcode_scanner/flutter_barcode_scanner.dart';
import 'package:tflite_flutter/tflite_flutter.dart';
import '../Model/NamedFile.dart'; import '../Model/NamedFile.dart';
import '../Model/Upload.dart'; import '../Model/Upload.dart';
import '../Remote/RemoteData.dart'; import '../Remote/RemoteData.dart';
import 'Constants.dart'; import 'Constants.dart';
import 'SignUp.dart'; import 'SignUp.dart';
import 'package:image/image.dart' as img;
@immutable @immutable
class MultipleImages extends StatefulWidget { class MultipleImages extends StatefulWidget {
...@@ -40,7 +40,37 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -40,7 +40,37 @@ class _MultipleImages extends State<MultipleImages> {
bool _isChecked = false; bool _isChecked = false;
bool _isChecked1 = false; bool _isChecked1 = false;
bool _isChecked2 = false; bool _isChecked2 = false;
String? shoot = ''; String? _shoot = '';
Uint8List? imageBytes;
List<dynamic>? embedding;
late Interpreter _interpreter;
// Future<void> getImageEmbedding() async {
// if (imageBytes != null) {
// // Run inference on the loaded model with the image bytes
// List<dynamic>? results = await Tflite.runModelOnBinary(
// binary: imageBytes!,
// );
// print('Ferching====> $results');
// if (results != null && results.isNotEmpty) {
// setState(() {
// embedding = results;
// });
// }
// }
// Future<void> loadImageBytes(String image) async {
// // Load image bytes from asset (replace with your image path)
// ByteData imageData = await rootBundle.load(image);
// imageBytes = Uint8List.view(imageData.buffer);
// getImageEmbedding(); // Get embedding after loading image
// }
// Future<void> loadModel() async {
// // Load the TensorFlow Lite model
// String? modelPath = 'assets/model.tflite'; // Replace with your model path
// await Tflite.loadModel(
// model: modelPath,
// );
// }
Future<void> _getImage(int index) async { Future<void> _getImage(int index) async {
if (_barcodevalue.text.isEmpty) { if (_barcodevalue.text.isEmpty) {
...@@ -48,6 +78,7 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -48,6 +78,7 @@ class _MultipleImages extends State<MultipleImages> {
.showAlertDialog(context); .showAlertDialog(context);
} else { } else {
image = await _picker.pickImage(source: ImageSource.camera); image = await _picker.pickImage(source: ImageSource.camera);
//loadImageBytes(image!.path);
if (image != null) { if (image != null) {
final cropped = await ImageCropper().cropImage( final cropped = await ImageCropper().cropImage(
sourcePath: image!.path, sourcePath: image!.path,
...@@ -88,12 +119,14 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -88,12 +119,14 @@ class _MultipleImages extends State<MultipleImages> {
switch (index) { switch (index) {
case 0: case 0:
imagefile = File(cropped!.path); imagefile = File(cropped!.path);
getImage(imagefile);
if (kDebugMode) { if (kDebugMode) {
print(' Pallu Image: $imagefile'); print(' Pallu Image: $imagefile');
} }
break; break;
case 1: case 1:
imagefile1 = File(cropped!.path); imagefile1 = File(cropped!.path);
getImage(imagefile1);
if (kDebugMode) { if (kDebugMode) {
print('Body Image : $imagefile1'); print('Body Image : $imagefile1');
} }
...@@ -176,7 +209,7 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -176,7 +209,7 @@ class _MultipleImages extends State<MultipleImages> {
SharedPreferences prefs = await SharedPreferences.getInstance(); SharedPreferences prefs = await SharedPreferences.getInstance();
var storeId = prefs.getString("store_Id"); var storeId = prefs.getString("store_Id");
if (kDebugMode) { if (kDebugMode) {
print('StoreId: $storeId'); print('StoreId:$storeId');
} }
String data = await RemoteData().getLogout(storeId); String data = await RemoteData().getLogout(storeId);
var res = jsonDecode(data); var res = jsonDecode(data);
...@@ -192,9 +225,36 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -192,9 +225,36 @@ class _MultipleImages extends State<MultipleImages> {
@override @override
void initState() { void initState() {
super.initState(); super.initState();
loadModel();
//loadModel();
//loadData(); //loadData();
} }
/// Load tflite model from assets
Future<void> loadModel() async {
String? modelPath = 'assets/model.tflite';
print('Loading interpreter options...');
final interpreterOptions = InterpreterOptions();
// Use XNNPACK Delegate
if (Platform.isAndroid) {
interpreterOptions.addDelegate(XNNPackDelegate());
}
// Use Metal Delegate
if (Platform.isIOS) {
interpreterOptions.addDelegate(GpuDelegate());
}
print('Loading interpreter...');
_interpreter =
await Interpreter.fromAsset(modelPath, options: interpreterOptions);
}
// Future<void> loadModel() async {
// // Load the MobileNetV2 model that outputs feature vectors (embeddings)
// String modelPath = 'assets/mobilenet_v2_1.0_224.tflite';
// await .loadModel(
// model: modelPath,
// );
// }
// loadData() async { // loadData() async {
// SharedPreferences _prefs = await SharedPreferences.getInstance(); // SharedPreferences _prefs = await SharedPreferences.getInstance();
// var userId = _prefs.getString("userId"); // var userId = _prefs.getString("userId");
...@@ -502,20 +562,20 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -502,20 +562,20 @@ class _MultipleImages extends State<MultipleImages> {
} }
if (_isChecked || _isChecked1 || _isChecked2) { if (_isChecked || _isChecked1 || _isChecked2) {
if (_isChecked) { if (_isChecked) {
shoot = 'KALAMANDIR'; _shoot = 'KALAMANDIR';
} }
if (_isChecked1) { if (_isChecked1) {
if (shoot != null) { if (_shoot != null) {
shoot = '$shoot,KANCHIVML'; _shoot = '$_shoot,KANCHIVML';
} else { } else {
shoot = 'KANCHIVML'; _shoot = 'KANCHIVML';
} }
} }
if (_isChecked2) { if (_isChecked2) {
if (shoot != null) { if (_shoot != null) {
shoot = '$shoot,BRANDMANDIR'; _shoot = '$_shoot,BRANDMANDIR';
} else { } else {
shoot = 'BRANDMANDIR'; _shoot = 'BRANDMANDIR';
} }
} }
} else { } else {
...@@ -546,7 +606,7 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -546,7 +606,7 @@ class _MultipleImages extends State<MultipleImages> {
// print(info.utsname.machine); // "iPhone15,2" // print(info.utsname.machine); // "iPhone15,2"
// print(info.utsname.version); // "iPhone 14 Pro" // print(info.utsname.version); // "iPhone 14 Pro"
// } // }
print('Selected Shoot :$shoot'); print('Selected Shoot :$_shoot');
showDialog( showDialog(
context: context, context: context,
...@@ -562,7 +622,7 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -562,7 +622,7 @@ class _MultipleImages extends State<MultipleImages> {
storeId!, storeId!,
_barcodevalue.text, _barcodevalue.text,
images, images,
shoot!, _shoot!,
Model, Model,
); );
} else {} } else {}
...@@ -660,20 +720,20 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -660,20 +720,20 @@ class _MultipleImages extends State<MultipleImages> {
} }
if (_isChecked || _isChecked1 || _isChecked2) { if (_isChecked || _isChecked1 || _isChecked2) {
if (_isChecked) { if (_isChecked) {
shoot = 'KALAMANDIR'; _shoot = 'KALAMANDIR';
} }
if (_isChecked1) { if (_isChecked1) {
if (shoot != null) { if (_shoot != null) {
shoot = '$shoot,KANCHIVML'; _shoot = '$_shoot,KANCHIVML';
} else { } else {
shoot = 'KANCHIVML'; _shoot = 'KANCHIVML';
} }
} }
if (_isChecked2) { if (_isChecked2) {
if (shoot != null) { if (_shoot != null) {
shoot = '$shoot,BRANDMANDIR'; _shoot = '$_shoot,BRANDMANDIR';
} else { } else {
shoot = 'BRANDMANDIR'; _shoot = 'BRANDMANDIR';
} }
} }
} else { } else {
...@@ -692,7 +752,7 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -692,7 +752,7 @@ class _MultipleImages extends State<MultipleImages> {
String? token = prefs.getString('userToken'); String? token = prefs.getString('userToken');
String? model = ''; String? model = '';
if (kDebugMode) { if (kDebugMode) {
print('Selected Shoot :$shoot'); print('Selected Shoot :$_shoot');
} }
showDialog( showDialog(
context: context, context: context,
...@@ -707,7 +767,7 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -707,7 +767,7 @@ class _MultipleImages extends State<MultipleImages> {
storeId!, storeId!,
_barcodevalue.text, _barcodevalue.text,
images, images,
shoot!, _shoot!,
model, model,
); );
} else {} } else {}
...@@ -747,7 +807,6 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -747,7 +807,6 @@ class _MultipleImages extends State<MultipleImages> {
// imagefile3?.delete(); // imagefile3?.delete();
// imagefile4?.delete(); // imagefile4?.delete();
// imagefile5?.delete(); // imagefile5?.delete();
// imagefile1 = null; // imagefile1 = null;
// imagefile2 = null; // imagefile2 = null;
// imagefile3 = null; // imagefile3 = null;
...@@ -837,4 +896,62 @@ class _MultipleImages extends State<MultipleImages> { ...@@ -837,4 +896,62 @@ class _MultipleImages extends State<MultipleImages> {
}, },
); );
} }
void getImage(File? imagefile) {
// Reading image bytes from file
final imageData = File(imagefile!.path).readAsBytesSync();
// Decoding image
final image = img.decodeImage(imageData);
// Resizing image fpr model, [300, 300]
final imageInput = img.copyResize(
image!,
width: 300,
height: 300,
);
print(imageInput);
// Creating matrix representation, [300, 300, 3]
final imageMatrix = List.generate(
imageInput.height,
(y) => List.generate(
imageInput.width,
(x) {
final pixel = imageInput.getPixel(x, y);
final r = img.getRed(pixel);
final g = img.getGreen(pixel);
final b = img.getBlue(pixel);
return [r, g, b];
},
),
);
print(imageMatrix);
// pass the imageMatrix to run on model
//final output = _runInference(imageMatrix);
//print(output);
}
List<List<Object>> _runInference(
List<List<List<num>>> imageMatrix,
) {
print('Running inference...');
// Set input tensor [1, 300, 300, 3]
final input = [imageMatrix];
// Set output tensor
// Locations: [1, 10, 4]
// Classes: [1, 10],
// Scores: [1, 10],
// Number of detections: [1]
final output = {
0: [List<List<num>>.filled(10, List<num>.filled(4, 0))],
1: [List<num>.filled(10, 0)],
2: [List<num>.filled(10, 0)],
3: [0.0],
};
_interpreter.runForMultipleInputs([input], output);
return output.values.toList();
}
} }
...@@ -50,7 +50,7 @@ class SplashScreenState extends State<SplashScreen> { ...@@ -50,7 +50,7 @@ class SplashScreenState extends State<SplashScreen> {
Navigator.pushAndRemoveUntil( Navigator.pushAndRemoveUntil(
context, context,
MaterialPageRoute(builder: (context) => const SignUp()), MaterialPageRoute(builder: (context) => const SignUp()),
(Route<dynamic> route) => false, (Route<dynamic> route) => false
); );
} }
}); });
...@@ -86,8 +86,6 @@ class SplashScreenState extends State<SplashScreen> { ...@@ -86,8 +86,6 @@ class SplashScreenState extends State<SplashScreen> {
); );
} }
/*Future<void> getDeviceId() async { /*Future<void> getDeviceId() async {
String uniqueDeviceId = (await PlatformDeviceId.getDeviceId)!; String uniqueDeviceId = (await PlatformDeviceId.getDeviceId)!;
print(uniqueDeviceId); print(uniqueDeviceId);
...@@ -102,6 +100,4 @@ class SplashScreenState extends State<SplashScreen> { ...@@ -102,6 +100,4 @@ class SplashScreenState extends State<SplashScreen> {
print(info.utsname.version); // "iPhone 14 Pro" print(info.utsname.version); // "iPhone 14 Pro"
} }
} */ } */
} }
...@@ -7,6 +7,7 @@ list(APPEND FLUTTER_PLUGIN_LIST ...@@ -7,6 +7,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
) )
list(APPEND FLUTTER_FFI_PLUGIN_LIST list(APPEND FLUTTER_FFI_PLUGIN_LIST
tflite_flutter
) )
set(PLUGIN_BUNDLED_LIBRARIES) set(PLUGIN_BUNDLED_LIBRARIES)
......
...@@ -752,6 +752,14 @@ packages: ...@@ -752,6 +752,14 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.3" version: "2.1.3"
quiver:
dependency: transitive
description:
name: quiver
sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47
url: "https://pub.dev"
source: hosted
version: "3.2.1"
rxdart: rxdart:
dependency: transitive dependency: transitive
description: description:
...@@ -965,6 +973,14 @@ packages: ...@@ -965,6 +973,14 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.5.9" version: "0.5.9"
tflite_flutter:
dependency: "direct main"
description:
name: tflite_flutter
sha256: ffb8651fdb116ab0131d6dc47ff73883e0f634ad1ab12bb2852eef1bbeab4a6a
url: "https://pub.dev"
source: hosted
version: "0.10.4"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
......
...@@ -51,6 +51,10 @@ dependencies: ...@@ -51,6 +51,10 @@ dependencies:
permission_handler: ^10.4.0 permission_handler: ^10.4.0
speech_to_text: ^6.6.0 speech_to_text: ^6.6.0
flutter_tts: ^3.5.1 flutter_tts: ^3.5.1
tflite_flutter: ^0.10.4
#tflite: ^1.1.2
#audio_session: ^2.1.0 #audio_session: ^2.1.0
dev_dependencies: dev_dependencies:
...@@ -85,6 +89,7 @@ flutter: ...@@ -85,6 +89,7 @@ flutter:
- assets/images/camera.png - assets/images/camera.png
- assets/images/splash.png - assets/images/splash.png
- assets/images/ic_barcode.png - assets/images/ic_barcode.png
- assets/model.tflite
# To add assets to your application, add an assets section, like this: # To add assets to your application, add an assets section, like this:
# assets: # assets:
# - images/a_dot_burr.jpeg # - images/a_dot_burr.jpeg
......
...@@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST ...@@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
) )
list(APPEND FLUTTER_FFI_PLUGIN_LIST list(APPEND FLUTTER_FFI_PLUGIN_LIST
tflite_flutter
) )
set(PLUGIN_BUNDLED_LIBRARIES) set(PLUGIN_BUNDLED_LIBRARIES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment