Giter Site home page Giter Site logo

chrome-lens-ocr's Introduction

chrome-lens-ocr's People

Contributors

dimdengd avatar seanghay avatar sglkc avatar thaunknown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chrome-lens-ocr's Issues

Translate support

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?

Error sharexjs

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

Currently european IPs cannot use endpoint because of cookie regulations

Node version: 20.11.0

Steps performed:

  1. Downloaded repository and extracted
  2. Ran npm install
    image
  3. Used the command node sharex.js "F:\Downloads\chrome-lens-ocr-main\chrome-lens-ocr-main\shrimple.png"
  4. Get this error in console
    image

I dumped the google lens response into an html file and it looks like a 500 error page
image

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)

vpn.issue.mp4

TypeScript support

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.