for those who got stuck around min 12 due to error: "package.json indicates an outdated version of firebase-functions. Please upgrade using npm install --save firebase-functions@latest in your functions directory. ! functions: Please note that there will be breaking changes when you upgrade. Error: Failed to load function definition from source: Failed to generate manifest from function source: ReferenceError: require is not defined in ES module scope, you can use import instead This file is being treated as an ES module because it has a '.js' file extension and 'D:\Coding\Tutorial files\expense-tracker\ocr-starter\functions\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. " this is because what she shows in the video is NOT what is in the github files in folder ocr-starter. In Functions/index.js delete const functions = require("firebase-functions"); and replace it with normal import "import functions, { logger } from 'firebase-functions';"
Do you have any good reference on how to parse text outputted by Google Cloud Vision ?
Good info because of the API but i feel like the key point of the title was skipped. There's any hint of how we can parse the data returned by OCR?
love the way you explained everything, thank you
I think the whole point of the video was how to parse the text. What is the machine learning that can extrapolate the key elements??
for those who got stuck around min 12 due to error:
"package.json indicates an outdated version of firebase-functions. Please upgrade using npm install --save firebase-functions@latest in your functions directory.
! functions: Please note that there will be breaking changes when you upgrade.
Error: Failed to load function definition from source: Failed to generate manifest from function source: ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and 'D:\Coding\Tutorial files\expense-tracker\ocr-starter\functions\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
"
this is because what she shows in the video is NOT what is in the github files in folder ocr-starter. In Functions/index.js delete const functions = require("firebase-functions"); and replace it with normal import "import functions, { logger } from 'firebase-functions';"
thank you!
Dope Video !
awesome!
Awesome video ... Where can I find a full list of API which can be accessed on the MarketPlace thanks!