Python script to verify whether or not specified image of a tweet is real or not. If it is, provides a link to said tweet as well as a similarity score/certainty percentage
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Download Tesseract OCR from here. Tessaract OCR requires Build Tools for C++ which can be downloaded from here
OpenCV is also required which can be downloaded from here
pip install pytesseract
pip install pillow
To run the program, clone the repo, and add it to the same directory as the photo of the tweet (png or jpeg)
Run the program using
python main.py -i {Image Directory and Name}
Example:
python main.py -i testtweets/test1.png
The program will return a list of matched tweets from most similar to least
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Craig D'Souza - Initial work - cra1gg
This project is licensed under the MIT License - see the LICENSE.md file for details
- Inspired by NiroxGG's Reddit "RealTweetOrNot" bot
- Thanks to Mottl for their amazing Twitter API Python wrapper