Hi, I'm dimden. I'm coding some random stuff.
Website: https://dimden.dev/
Twitter: https://twitter.com/d1mden
Discord: https://discord.gg/5jm5P3SJF3
Library to use Google Lens OCR for free, via API used in Chromium.
Hi, I'm dimden. I'm coding some random stuff.
Website: https://dimden.dev/
Twitter: https://twitter.com/d1mden
Discord: https://discord.gg/5jm5P3SJF3
Lens supports translation (via Google translator). Is it possible to update sharexjs so that I can send an image and receive either text or translation?
Hi, thank you for the wonderful package!
Sadly it failed on parsing (at least for me), apparently the problem comes from core.js:318
I'm trying to get the new values right, but it might take a while. Here's my version of the object inside AF data callback obj_clean.json
I don't know if the response changed for everyone else ๐ค
At startup, this is the error
Error occurred:
ReferenceError: File is not defined
at Lens.scanByData (file:///G:/My%20Projects/chrome-lens-ocr/src/core.js:215:22)
at Lens.scanByBuffer (file:///G:/My%20Projects/chrome-lens-ocr/src/index.js:48:21)
at async file:///G:/My%20Projects/chrome-lens-ocr/sharex.js:32:18
Node version: 20.11.0
npm install
node sharex.js "F:\Downloads\chrome-lens-ocr-main\chrome-lens-ocr-main\shrimple.png"
I dumped the google lens response into an html file and it looks like a 500 error page
I started testing stuff in postman and realised it was redirecting me to a cookie consent page, it would go away if I set my IP as inside the US, and return back if I went back to my real IP (Germany)
Sometimes when you i do requests . it doesnt retun the JSON object but instead it returns and error and some html body ,
it works like 3-4 times and then the issue appears , its like a russian roullete , sometimes i get it 3 times in a row and sometimes i dont get it in like 200 tries ( using the same picture over and over again )
Currently you have to depend on README to know the APIs, by adding types you can help save time in development. It should be easy since everything is already documented though. Should I make a PR?
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.