Code Monkey home page Code Monkey logo

Comments (3)

Aeonss avatar Aeonss commented on August 15, 2024

Hmm, I'm not sure about this error. Have this worked before with other images? And can you send the image so I can test it out for myself?

from bubbleblaster.

Mnl-GRTN avatar Mnl-GRTN commented on August 15, 2024

It never worked, I just took a random image which is this one:
test

Update : I tried with some other images and it worked, Does this have anything to do with the image format?

from bubbleblaster.

Aeonss avatar Aeonss commented on August 15, 2024

Yes, I do believe so. I've tested some jpgs and pngs but for some reason the jpg that you have send me doesn't work. I've pushed an update which gives the "--png" flag (where you can just add to the end of the command" to auto convert the jpg to png. E.g. python bubbleblaster.py -i a.jpg --png)

For example, if you're trying to OCR a.jpg, the program will create a "a_png.png", which will then create a "a_png_ocr.png", which is the result that you want. Here's the result images.

a
a_png
a_png_ocr

You'll have to redownload the initial python file again, and possible run "pip install -r requirements.txt" since it uses the PILLOW python library.

I'm not sure why this specific jpg doesn't work, probably something to do with the OCR library where it can't open the jpg file. Let me know if you have anymore issues, otherwise I'll close this issue after a couple days.

from bubbleblaster.

Related Issues (20)

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.