Skip to content

Adithya-13/Camulator

Repository files navigation

Camulator

Camulator App

Platform Dart Star

Table of Contents

Introduction

Camulator is a Calculator Application, but with camera!

this app is for those of you that have a difficulties when buy something on market, but your hands is full of stuffs, so instead of open your calculator, use this Camulator to calculate with camera, do not need a lot of hands and gestures, just point out on the price of the product, and voila!

In this project, i use Riverpod as my State Management. for details you can see here.

The challenges that i've experienced is:

  1. Create a library by myself

i created Viewfinder Widget (not published in pub.dev yet) which i never create before.

this widget is like photomath app, the purpose of this widget is to crop the image, but before the image takken.

the challenge is, i have to find the reference first, and then i code it, there's a lot of trial and error to build this widget.

  1. Research and Technical Debt.

so, this part that use a lot of time and think!

when i buy some food for the monthly expensess, i go to the market, and think, if i have an app that can calculate with camera, it would be life savings!

then i go to home, and then research it, but unfortunately, in flutter, not much reference to build this app (with one source).

so, this is what i do, i search for OCR in Flutter, and then i search how to build Viewfinder widget, and then i have to think what should i do to calculate the number but with the list.

with research and deployment, finally this app has done to complete the MVP!

To see what features I made, you can see here

  1. Challenges for myself

i created the Flutask App, there's a lot of stars and forks that i've got, but that 2 years project, i did not continued at all, because of i have a lot of things to do in real life (because i still 17 y.o haha, there's an examination in school, im sorry...).

so, this time, with the new project, i challenge myself to finish what i've started. and voila!!

I use google_ml_kit_text_recognition for my OCR in Flutter. To see what Dependencies I created, you can see here.

Installation

Clone or Download and Open it into Android Studio, VSCode, or Other IDE / Text Editor

https://github.com/Adithya-13/Camulator.git

Demo

Camulator

Features

  • Calculate with Camera for all of operations (Addition, Subtraction, Multiplication, Division)
  • Rollback/undo Calculation
  • List of Number calculations
  • Delete one of the numbers in history calculatons
  • Reset Calculations
  • Calculate from Gallery (soon)
  • LTR or RTL feature (soon)

Tech Stack

Dependencies

TODOs

  • UI Slicing
  • Create ViewFinder Widget
  • add side of viewfinder widget
  • filter only digit in OCR
  • centerize the viewfinder
  • set max height and width for viewfinder
  • Detect Text
  • Calculate Detected Number
  • Change Operator
  • Rollback
  • Show History of Calculation
  • thousand format
  • Show Result at the top of screen
  • LTR / RTL Feature
  • android still bug
  • handle use flash or not (android automatically still flash)
  • add indicator when capture

About

Calculator with OCR Camera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published