Giter VIP home page Giter VIP logo

image-to-text-ocr's Introduction

Image to Text OCR

Image to Text OCR

Image to Text OCR is a utility website made by Alejandro Akbal for extracting text from any image using OCR.

This tool was made for those moments where you take a photo of some text and wish you could have it digitally.

Preview

Social

Image to Text - Extract text from any image using OCR | Product Hunt

Usage

Development

Just run and visit http://localhost:3000

pnpm dev

Build

To build the App, run

pnpm build

And you will see the generated files in dist that are ready to be served.

Merge template

To merge the base GitHub template do:

git remote add template [email protected]:antfu/vitesse-nuxt3.git
git fetch --all

git merge --allow-unrelated-histories template/main
# Or
git merge template/main --strategy-option ours --squash

image-to-text-ocr's People

Contributors

alejandroakbal avatar antfu avatar arbust908 avatar atinux avatar cinob avatar evanlong0803 avatar johannschopplich avatar lmmmmmm-bb avatar lotwt avatar lstegger avatar oumarbarry avatar portlek avatar userquin avatar yufanzheng0723 avatar yunyoujun avatar yzh990918 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  avatar  avatar

image-to-text-ocr's Issues

How to selfhost this project?

Can this project be hosted on my local Linux server? If so, is it possible to get instructions on how to do this?

No icons on button

I came across that after I did npm start,
In the area for dragging the image, there is no picture icon, there is no icon on the "Extract text" button.
After the text is recognized, there is also no icon on the "copy to clipboard" button
and because of this, even if you press this button, then copying to the clipboard does not occur.

I noticed that when executing npm run build an error slipped

rendering chunks (7)...Failed to fetch web fonts
FetchError: request to https://fonts.googleapis.com/css2?family=DM+Sans&family=DM+Serif+Display&family=DM+Mono&display=swap failed, reason: connect ETIMEDOUT 64.233.161.95:443()

I started googling about it and found out that some module is trying to download fonts from there
DM Sans
DM Serif Display
DM Mono

I assumed that the icons are taken from these fonts. Did I guess right?

I found a mention of them in the unocss.config.ts file and found that if googleapis is not available, you can try to write
provider: 'bunny',
or
provider: 'fontshare',
in unocss.config.ts

But that didn't work, I still get the Failed to fetch web fonts error, it's just that the other addresses it's trying to download fonts from are no longer available.
I thought that perhaps npm does not know how to go through a proxy server and applied everything that I found on this issue on stackoverflow.
Nothing helped.

Then I downloaded these fonts and placed them in the directory of my server, where all ttf fonts are located, and in unocss.config.ts
indicated
provider: 'none',
judging by the documentation, this should force you to look for fonts in the system directory.
npm run build started to run without errors, but the icons on the buttons did not appear.

I don't understand all these npm and other terrible web stuff, but maybe somewhere in some config
explicitly set the path to these damn fonts?

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.