diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..362f9fb --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Govind B Chandran + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 1462ccf..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,18 +0,0 @@ -## **Released under the Open Innovation License** - -Copyright © 2020 Govind Chandran - -*Version 1, 10th November 2020* - -*Copyright © 2020 Stark Drones Corporation* -*Copyright © 2020 Andrew Magdy Kamal* - -This project is licensed under the *Open Innovation License*. This means any code, file, diagrams, data format, or other innovation containing this license within it can be copied, modified, redistributed, published, or even used for commercial purposes within the context of this license. - -##### Any code, file, diagrams, data format, or other innovation containing this license is understood to be fully "AS IS", no claims are made in regards to safety, security, warranty, usability, or other form of merchantability and market-readiness. In no events are copyright holders, authors, or publishers are to be held liable for any claims, damage or results from usage of what have been licensed under this license. - -The context of this license includes: Keeping this original license text verbatim and permissive notice, as well as the copyright notice included in any redistribution of said project. Project is defined as what is using this license. For purposes of context, the copyright notice above version and year is meant to be modified for whomsoever publishes or releases "any code, file, diagrams, data format, or other innovation", so that they can include their information. After modifying, the comment saying "// Insert information of license holder" which starts with // can be removed. This current paragraph however, will remain in-tact. - -Anybody who releases software under the "Open Innovation License" agrees to at goodwill, build or release technology for the betterment of humanity not meant with the intention to harm a human being. They agree to a prima facie moral duty through consequential deontology to understand that technology should be within the concept of moral good or outcomes that are morally right and/or ethical. They agree at goodwill to promote the advancement of humanity and civilization as a whole. They agree to a sense of adventurement, edification, and the expansion of the human mind. - -Said agreement which is within the last paragraph prior to this sentence is meant to be taken as a general consensus, but not legally enforceable. Again for context, the last paragraph which starts with "Anybody" and ends with "human mind" minus quotations, is outside of the boundaries of being legally enforceable and within the duties of oneselve's actions. The rest of the license which includes the copyright notice and its context is within a legally enforceable context. For secondary context, the rest of the license refers to anything outside of that said paragraph. diff --git a/README.md b/README.md index b0f9a69..527139b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ ## Noteify is an artificially intelligent currency detection app made for the visually impaired to check whether they have been handed the right amount of money and thereby, ensuring that they have not been cheated upon, giving the output as a computer-generated audio, having basic UI for better User-Experience. +## Check out the demo below! +# SORRY, THIS DOES NOT WORK ANYMORE, THE PACKAGES HAVE DEPRECIATED :( + Youtube Video (DEMO) + This is a project done by me and my partners Ashna Nizam , Ben Sam , Mannu Thomas and CJ Peter and the app was developed using the Flutter framework. The main modules used are: @@ -38,10 +42,10 @@ The backend comprises of the tflite package using a tflite model along with the 8. Optional(To change your app icon to ours, you have to change the minmap folders in your *android/app/src/main/res/* to the ones in the repo). 9. Run the *main.dart* after connecting to your mobile. -## Check out CONTRIBUTING.MD to learn how to contribute. -## Check out the demo below! + How to clone tutorial + - Youtube Video +## Check out CONTRIBUTING.MD to learn how to contribute. ### Note: This project is time being not updated upto the present versions of the packages used, so cloning might not work unless you update the code correspondingly, sorry😅 diff --git a/lib/main.dart b/lib/main.dart index b6a482c..1f05598 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -4,7 +4,6 @@ import 'package:flutter/material.dart'; import 'package:camera/camera.dart'; import 'package:path/path.dart'; import 'package:path_provider/path_provider.dart'; -import 'package:torch_compat/torch_compat.dart'; import 'package:flutter_tts/flutter_tts.dart'; import 'package:tflite/tflite.dart'; @@ -62,7 +61,6 @@ class _TakePictureScreenState extends State { void dispose() { // Dispose of the controller when the widget is disposed. _controller.dispose(); - TorchCompat.dispose(); super.dispose(); } @@ -100,7 +98,6 @@ class _TakePictureScreenState extends State { // Take the Picture in a try / catch block. If anything goes wrong, // catch the error. try { - TorchCompat.turnOn(); // Ensure that the camera is initialized. await _initializeControllerFuture; @@ -115,7 +112,6 @@ class _TakePictureScreenState extends State { // Attempt to take a picture and log where it's been saved. await _controller.takePicture(path); - TorchCompat.turnOff(); // If the picture was taken, display it on a new screen. Navigator.push( diff --git a/pubspec.yaml b/pubspec.yaml index 1a88494..742eb95 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -29,8 +29,7 @@ dependencies: # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.0 tflite: - camera: 0.5.8+17 - torch_compat: ^1.0.2 + camera: path_provider: path: flutter_tts: ^1.3.0