This repository was created as a part of Accessibility Suite for Specially Abled
, a collection of apps designed to assist the specially abled in every day tasks more effectively.
Build an application using Flutter that can detect household objects via a live-video feed from the device's camera.
I have completed the task accomplishing the following -
- The App can detect household objects via a live-video feed from the device's camera with a 93% accuracy.
- A Rectangular/Square indicator is drawn on the screen indicating the position of the object
- The App also speaks the name of the detected object
To build this app, you will need -
If you like using the terminal
- Navigate to where you want to clone this repo
git clone https://github.com/aryang117/rt-Object-Detection.git
If you wish to clone using the browser only
- Scroll up to the about section
- To the left of about section, you will see a button with label
Code
- Click on the code button and then on Download zip
- Extract the zip and you have the project folder!
Other ways to get the project repo
Now, to actually build the app
- Clone this repo
- Navigate to the folder where this repo has been cloned
flutter build apk --release
to build a release build of the app
To install this on a real device, after building the app
- Plug-in your phone via USB
- In the project folder
flutter install [device-id]
(device-id -> device-id of your phone, runflutter devices
to see your device's id) It should be installed now! Check it out! (Assuming no errors occured during build)
These are the different 3rd Party Packages I used to complete this project
- camera (^0.8.1): To access the device's camera
- tflite(^1.0.3): Tensorflow Lite
- flutter_tts(^3.1.0): Text-To-Speech functionality
I had to use some 3rd Party APIs and Platforms to implement some required and optional functionalities of the app.
- Tensorflow Lite - to detect objects.
The app already fulfills all the requirements given in the problem statement.
I added a few features that were not part of the problem statement, but they were added to help in development and are just tiny QoL (Quality of Life) features to make it easier to perform all operations of the app.
The App draws a rectangular/squared shape where the object is supposed to be.