Comments (6)
@Hori75 Did you install tesseract and tesseract data?
I think it's tesseract-ocr
and tesseract-ocr-eng
on Ubuntu.
from fakemenot.
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.
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.
@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.
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.
@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)
- Add support for mobile screenshots HOT 2
- Add partial matches / various confidence levels HOT 8
- Prettify + Colorize Output HOT 1
- Enhance string matching HOT 1
- Ubuntu setup fail HOT 1
- Error running fakemenot HOT 2
- Invalid syntax HOT 1
- Complete setup.py to include installation HOT 5
- App fails to run HOT 4
- Error running app
- Add more samples on README HOT 5
- Add tests HOT 1
- Limit confidence precision to 2 HOT 3
- Handle the twitter configuration file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fakemenot.