Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can VFP interact with https://github.com/Nutlope/llama-ocr ?

trial03

Technical User
Oct 9, 2011
2
MY
Dear all master,


there are a lot of interesting project in github, for eg, one of the OCR project https://github.com/Nutlope/llama-ocr,

the code to use it :

import { ocr } from "llama-ocr";

const markdown = await ocr({
filePath: "./trader-joes-receipt.jpg", // path to your image (soon PDF!)
apiKey: process.env.TOGETHER_API_KEY, // Together AI API key
});


My question is can VFP interact with it ?

Thanks in advance.

Regards,
 
You could use a browser extension on a non-visible form to use the code above and then scrape the resulting html.
 
You could use a browser extension on a non-visible form to use the code above and then scrape the resulting html.
Dear Greg,

Apologies for my limited knowledge. Could you please provide some sample code to demonstrate how to do it?


Thanks
 

Part and Inventory Search

Sponsor

Back
Top