Find me at tucci.me
matiastucci / ionic-ocr-example Goto Github PK
View Code? Open in Web Editor NEW:camera: Simple Ionic app using ocrad.js
Home Page: https://youtu.be/TykCiS80oZc
License: MIT License
:camera: Simple Ionic app using ocrad.js
Home Page: https://youtu.be/TykCiS80oZc
License: MIT License
Find me at tucci.me
First, thanks for the nice app. Is there a way to make the app search for some keywords entered by the user and highlight these words in the text output?
Thanks
This is what i get, when i try to build the app...
[15:24:18] Finished 'sass' after 1.57 s
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/input/input-base.d.ts(2,10): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/common/index"' has no exported member 'NgControl'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/input/input.d.ts(2,10): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/common/index"' has no exported member 'NgControl'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/input/native-input.d.ts(2,10): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/common/index"' has no exported member 'NgControl'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/modal/modal.d.ts(1,24): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/core/index"' has no exported member 'DynamicComponentLoader'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav-controller.d.ts(1,28): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/core/index"' has no exported member 'DynamicComponentLoader'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav-controller.d.ts(216,19): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav-controller.d.ts(295,15): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav-controller.d.ts(364,16): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav-controller.d.ts(415,39): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav-controller.d.ts(445,15): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav-portal.d.ts(1,40): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/core/index"' has no exported member 'DynamicComponentLoader'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav-registry.d.ts(8,25): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav-registry.d.ts(9,25): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav.d.ts(1,40): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/core/index"' has no exported member 'DynamicComponentLoader'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/nav.d.ts(121,11): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/view-controller.d.ts(23,20): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/nav/view-controller.d.ts(86,33): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/searchbar/searchbar.d.ts(2,10): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/common/index"' has no exported member 'NgControl'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/segment/segment.d.ts(2,10): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/common/index"' has no exported member 'NgControl'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/tabs/tab.d.ts(1,40): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/core/index"' has no exported member 'DynamicComponentLoader'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/tabs/tab.d.ts(134,11): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/components/toggle/toggle.d.ts(2,10): Error TS2305: Module '"/Users/bru/Documents/project/ionic-ocr-example/node_modules/@angular/common/index"' has no exported member 'ControlValueAccessor'.
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/decorators/page.d.ts(12,24): Error TS2314: Generic type 'Type' requires 1 type argument(s).
TypeScript error: /Users/bru/Documents/project/ionic-ocr-example/node_modules/ionic-angular/decorators/page.d.ts(13,19): Error TS2314: Generic type 'Type' requires 1 type argument(s).
[15:24:23] Finished 'build' after 6.35 s
[15:24:23] Starting 'run:before'...
[15:24:23] Finished 'run:before' after 7.94 ฮผs
Hi,
Are there any instructions for Ionic 1.7.x version?
Update - never mind i found it.
KZThants-iMac:ionic-ocr-example kyawzinthant$ ionic serve
ng run app:serve --host=0.0.0.0 --port=8100
[ng] The run command requires to be run in an Angular project, but a project definition could not be found.
[ERROR] ng has unexpectedly closed (exit code 1).
first of all, thanx so much for the library...
after fighting with dependencies, finally the project is running under ionic serve
, but once i chose the option of scanning the image that already exists with the project demo_image, i got this error once i hit the button scan
i think the orcad.js file which is in the lib directry is not imported in the home.ts file.
Any help would be more than appertiated
can you use ocrad.js. with ionic3? We want to study this, but stick to the ionic version.
I just wanted to have a look at the App using ionic View App.
But I'm getting an error. Error message is "no public channels for app ID found!
My version of ionic View App is 0e67f51.
Hi can I read only number from image?
You cannot run any state commands on a project that is not an Ionic project.
Try adding an ionic.project file or running ionic start to get an application to save or restore (CLI v1.7.15)
Hey,
I checked this in Ionic View but it is showing some content not exactly content .Can you help me out that how would it provie exact data from business card .Sometime it is showing contact number sometime it is showing address and then garbage data
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.