A Telegram bot for checking the authenticity of PDF files by comparing them with a provided original PDF. This bot performs various checks, including text similarity, image similarity, and metadata comparison.
- Text Matching: Compares the text in the PDF against an original document.
- Image Similarity: Uses SSIM and ORB methods to compare images.
- Color Statistics: Compares average colors, standard deviations, and color clusters.
- Metadata Comparison: Checks for discrepancies in metadata and fonts.
- Inline Buttons: Provides additional information through inline buttons.
- Python 3.8 or higher
- A Telegram bot token
-
Clone the repository
git clone https://github.com/yourusername/BankBillValidatorBot.git cd BankBillValidatorBot
-
Create a virtual environment (optional but recommended)
python3 -m venv venv source venv/bin/activate
-
Install the required dependencies
pip install -r requirements.txt
-
Set up your Telegram bot token and users eligible to use Open the main.py file and replace "YOUR_TELEGRAM_BOT_TOKEN" with your actual bot token and users array
-
Run the bot
python bot.py