-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a1398d
commit 78338f9
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Photo Calculator Android App | ||
## Description | ||
|
||
Through this Android application, we can capture photos consisting simple Mathematics expression and then the result is auto-generated and displayed. We can perform addition, subtraction, multiplication and division on two operands. All the successful executed expressions are stored in disc and can be displayed from **History tab.** | ||
|
||
## Generated APK | ||
|
||
Navigate to [/APK](https://github.com/SayantanBanerjee16/PhotoCalculator/tree/master/APK) folder to get the generated APK. | ||
|
||
## Final Product | ||
|
||
* The base of the application looks like:- | ||
|
||
<img src="screenshots/1.jpg" width="200" height ="400"> | ||
|
||
* These are the respective outputs of addition, subtraction, multiplication, division. | ||
|
||
<img src="screenshots/2.jpg" width="200" height ="400"> <img src="screenshots/3.jpg" width="200" height ="400"> | ||
<img src="screenshots/4.jpg" width="200" height ="400"> <img src="screenshots/5.jpg" width="200" height ="400"> | ||
|
||
* The history tab displays all of the latest calculated expressions. | ||
|
||
<img src="screenshots/6.jpg" width="200" height ="400"> | ||
|
||
* Ofcourse the border test-cases are taken into account. Any wrong expressions are not executed and instead an **Error** message is shown. | ||
|
||
<img src="screenshots/7.jpg" width="200" height ="400"> <img src="screenshots/8.jpg" width="200" height ="400"> | ||
|
||
## Concept used | ||
|
||
- Used [Kotlin](https://kotlinlang.org/) as the base language for this Android Application. | ||
|
||
- Used [Firebase MLKit Text Recognization API](https://firebase.google.com/docs/ml-kit/android/recognize-text) to recognize text from image which gets stored in a **String** which is executed through an Algorithm. | ||
|
||
- For the **History tab**, I have used [Room Persistence Library](https://developer.android.com/topic/libraries/architecture/room) to store all the successful executed expressions onto the disc. |