matiastucci / ionic-ocr-example

:camera: Simple Ionic app using ocrad.js
https://youtu.be/TykCiS80oZc
MIT License
265 stars 85 forks source link

window.OCRAD is not a function error #8

Closed ihoudjedje closed 6 years ago

ihoudjedje commented 7 years ago

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 image

pinheirorb commented 7 years ago

check that you have included the script in the index.html

`