-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kamidipreetham/develop
v0.2 Release
- Loading branch information
Showing
7 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.vscode | ||
venv | ||
dataset | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM ubuntu:18.04 | ||
LABEL author "Preetham Kamidi <[email protected]>" | ||
RUN apt-get update && apt-get install -y python3-dev python3-pip imagemagick tesseract-ocr libtesseract-dev | ||
WORKDIR /app | ||
COPY . . | ||
RUN mkdir -p /data/files && \ | ||
pip3 install virtualenv && \ | ||
python3 -m virtualenv venv -p python3 && \ | ||
. venv/bin/activate && \ | ||
pip install -r requirements.txt | ||
ENTRYPOINT ["/app/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
# verifytweet | ||
Verify Tweet from Image | ||
# Verify Tweet | ||
|
||
Fake tweet images can be generated using a preset meme template from websites like: [TweetGen](https://www.tweetgen.com/), [Prank Me Not](http://www.prankmenot.com/?twitter_tweet) and [Simitator](http://simitator.com/generator/twitter/tweet) . Verification of such tweets takes a manual work to find the user, scroll through their timeline and matching. A viral fake tweet image can prove crucial at a time. | ||
|
||
A fake tweet screenshot looks very convincing, misleading the general public. For example: | ||
|
||
|Tweet 1 | Tweet 2 | | ||
|:-------------------------:|:-------------------------:| | ||
|![alt text](https://i.imgur.com/gG1RYiR.png "Tweet 1") | ![alt text](https://i.imgur.com/eTKpOFY.png "Tweet 2")| | ||
|
||
Verify Tweet attempts to resolve the problem by letting users upload such tweet screenshots and verify if the user actually tweeted or not. A combination of Image processing, Natural language processing as well as Twitter Search API makes this possible. Due to Twitter API rate limits, currently only tweets from last 7 days can be verified. | ||
|
||
## Future features | ||
|
||
- [ ] Support for Image links | ||
- [ ] Processing Status | ||
- [ ] Support for Tweets with replies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
source venv/bin/activate | ||
python wsgi.py |