Coder Social home page Coder Social logo

billsplitter's Introduction

NativeScript BillSplitter

The app uses the camera module to let you capture a photo of a bill. You can then mark some of the amounts in the bill and they get added in a list. OCR is used to convert the images into prices. The app also calculates the total amount of the selection.

BillSplitter

To start

IOS

tns platform add ios
tns library add ios app/lib/TesseractOCR.framework

Tesseract requires language data files in order to initialize the engine. To setup Tesseract import your tessdata folder (located under app/lib/testdata ) into the root of your project AS A REFERENCED FOLDER.

Android

tns platform add android
tns library add android \deps\tess-two

To compile the TypeScript

To run TSC, first npm install then:

node_modules/typescript/bin/tsc -p ./app

TODO: Try if this is working:

node_modules/typescript/bin/tsc --watch -p ./app

NOTE: Try if this will build and run:

node_modules/typescript/bin/tsc -p ./app && tns run ios --emulator --device iPhone-6

To run

tns run ios

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.