This project integrates motion detection using OpenCV with automated actions on Tinder using Selenium and Chrome WebDriver. When motion is detected, it sends commands to like or unlike profiles on Tinder.
Before you begin, ensure you have met the following requirements:
- Python 3.x installed on your machine.
- Chrome browser installed.
- ChromeDriver compatible with your Chrome version installed.
- Necessary Python packages installed.
-
Clone the repository
git clone https://github.com/yourusername/motion-detection-tinder-bot.git cd motion-detection-tinder-bot -
Install the required packages
pip install -r requirements.txt
-
Download ChromeDriver
- Download ChromeDriver from ChromeDriver - WebDriver for Chrome.
- Make sure the ChromeDriver version matches your Chrome browser version.
- Place the ChromeDriver executable in your system's PATH or specify its path in the code.
-
Start Chrome with remote debugging
Open a terminal and run:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9999
-
Run the main script
python index.py
This script will:
- Start a separate process to handle Tinder commands.
- Initialize Pygame for audio playback.
- Open your webcam using OpenCV and start detecting motion.
- When motion is detected, it will trigger Tinder actions.
-
Tinder Automation
The Tinder automation part is handled in
modules/tinder.py. The script connects to the running Chrome instance and performs actions like "like" and "unlike" based on detected motion.