Coder Social home page Coder Social logo

Comments (6)

pwnfoo avatar pwnfoo commented on May 28, 2024

@Hori75 Did you install tesseract and tesseract data?

I think it's tesseract-ocr and tesseract-ocr-eng on Ubuntu.

from fakemenot.

pwnfoo avatar pwnfoo commented on May 28, 2024

I have mentioned about this in the README file. It'll also make sense to add sudo apt-get install tesseract-ocr tesseract-ocr-eng to the installation instructions

Let me know if that works and I'll add it to the README file.

from fakemenot.

Hori75 avatar Hori75 commented on May 28, 2024

I just installed tesseract-ocr and tesseract-ocr-eng. The other error occured.

Traceback (most recent call last):
  File "/usr/local/bin/fakemenot", line 11, in <module>
    load_entry_point('fakemenot==0.0.2', 'console_scripts', 'fakemenot')()
  File "build/bdist.linux-x86_64/egg/fakemenot/__init__.py", line 136, in main
  File "build/bdist.linux-x86_64/egg/fakemenot/__init__.py", line 59, in _do_ocr_and_lookup
UnboundLocalError: local variable 'potential_user' referenced before assignment

from fakemenot.

pwnfoo avatar pwnfoo commented on May 28, 2024

@Hori75 That's kinda known. It happens when the OCR fails to find a valid twitter handle in the screenshot. I need to handle that properly in code. I'll do it soon :)
Can you try another screenshot which is properly cropped? The program doesn't handle any cropping atm so make sure to screenshot like shown in the sample.

from fakemenot.

Hori75 avatar Hori75 commented on May 28, 2024

I tested with a blurry tweet from the sample you made in README.md but that error occured. I didn't use any cropping tools. Also when I try it from the sample in README.md, it didn't show any output.

from fakemenot.

pwnfoo avatar pwnfoo commented on May 28, 2024

@Hori75 Can you try again now? I have added a few commits to fix this. This should hopefully resolve the problems :)

from fakemenot.

Related Issues (15)

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.