Coder Social home page Coder Social logo

tinder-bot's Introduction

tinder-bot

This is a repository to use AI to automate tinder stuff. AI part heavily based on Auto-Tinder, but it doesn't use the tinder API directly so it's more visual for the accompanying YouTube Video.

Demo/YouTube Video

Important Notes

I do recommend just following Auto-Tinder if you don't want the visual aspect of swiping on a selenium instance because it complicates things a lot more. However, you can follow this messy guide to use this semi-messy code.

Part 1 - Data Aggregation

We need photos to train the AI on, so first off, you'll need a Tinder account linked to a google account, you'll need to set google_password and google_username as environment variables that correspond to your google credentials. Then you can run python extract_profiles.py , it will log you into google and prompt you please log into google hit enter after you finish 2 factor authentication.

The script will save profiles to data.json. Once you're satisfied with the amount of profiles you've extracted run python remove_dupes.py to make sure that you don't have duplicate profiles. You can also run python stats.py if you want to see some basic statistics on your dataset, however this isn't required.

Part 2 - Downloading Images

Run python image_downloader.py this will download all the images in data.json

Part 3 - Labeling Data

You'll now need to classify a like or dislike or not a person for all the photos you downloaded. Run python image_classifier.py , left click is a like, right click is a dislike, and middle mouse is if the photo isn't a person. (If you have non-people in your training data it might mess up the AI)

Part 4 - Pre-Processing

Run python prepare_data.py this will crop and convert images to gray-scale

Part 5 - Training

Now you have to train the AI, MAKE SURE ALL THE DIRECTORIES EXIST THAT ARE REFERENCED IN THIS COMMAND (I made this mistake after 4 hours of training :( ), you can mess around with some of the arguments as to get a good model your training data is different from mine.

python retrain.py --bottleneck_dir=tf/training_data/bottlenecks --saved_model_dir=tf/training_data/inception --summaries_dir=tf/training_data/summaries/basic --output_graph=tf/training_output/retrained_graph.pb --output_labels=tf/training_output/retrained_labels.txt --image_dir=./images/classified --how_many_training_steps=25000 --testing_percentage=20 --learning_rate=0.0005

Part 6 - Using The AI

Follow the steps for environment variables in part 1, but run python use_model.py and hopefully it'll work for you!

There are some directories that don't auto generate and I forget what directories they are as they were defined in Auto-Tinder. I also probably forgot to include something here that's critical to getting this working.

tinder-bot's People

Contributors

davidteather avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tinder-bot's Issues

sync_swipe_enabled: true , what means?

I found this parameter inside the API response when loading my profile

autoplay_video: "always"
top_picks_discoverable: true
photo_tagging_enabled: false
user_interests: {selected_interests: [],โ€ฆ}
recommended_sort_discoverable: true
selfie_verification: "not_verified"
noonlight_protected: false
sync_swipe_enabled: true

what the sync_swipe_enabled: true, means?

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.