Welfare! Write a tiktok pretty little sister digger in Python

Tech whiz

  • The cloud community
  • python
  • Big data
  • The source code
  • git
  • The robot
  • github
  • Face recognition
  • Face detection

Abstract: Recently addicted to Douyin unable to extricate themselves, often spend several hours in a row on douyin beautiful little sister. Manual search is time-consuming and laborious. In order to find beautiful little sister efficiently and directly, I made a Python douyin-bot using Python + ADB.

Recently addicted to Douyin unable to extricate themselves, often spend several hours in a row on douyin beautiful little sister.

Manual search is time-consuming and laborious. In order to find beautiful little sister efficiently and directly, I made a Python douyin-bot using Python + ADB. Automatic page turning + appearance level recognition, instantly feel that the attention list is not enough!



The source address

https://github.com/wangshub/Douyin-Bot

features

  • Auto flip

  • Appearance level detection

  • Face recognition

  • Thumb up automatically

  • Automatic focus

  • Random against the Ban

  • Auto reply

The principle of

  • Open the APP tiktok Short Video and enter the main interface

  • Get mobile phone screenshots, and compress the screenshots (Size < 1MB);

  • Request face recognition API;

  • Analyze the returned face Json information, face detection and cutting;

  • When the appearance level is greater than the BEAUTY_THRESHOLD, a wave of likes will occur.

  • Next page, return to step 1;

Using the tutorial

For details about how to install and use related software tools, see wechat_JUMp_game and Android and iOS

  1. Get the source code:

    git clone https://github.com/wangshub/Douyin-Bot.git

  2. Enter the source directory:

    cd Douyin-Bot

  3. Install dependencies:

     pip install -r requirements.txt

  4. Run the program:

    python douyin-bot.py

Pay attention to

Currently, only OnePlus 5(1920×1080 resolution) has been adapted. If the resolution is not the same, please modify the configuration file under config/ folder.

Face the interception



That’s all I can do for you. I’m going to keep brushing Douyin!


The original article was published at: 2018-05-29

Author: Wang Song

This article is from “Big Data Digest”, a partner of the cloud community. You can pay attention to “Big Data Digest” for relevant information.

Use the cloud habitat community APP, comfortable ~

For details, please click
Comments (1)

To:


Related articles

  • 7 Basic Machine learning algorithms for Python…
  • Welfare | 14 selected industry hot dry goods collection, practical guidance, resource integration
  • [Cloud Weekly] Issue 172: Ali Cloud president Hu Xiaoming: “Independent research and development, symbiosis…
  • Handbook for Advanced Programmer Technology (I)
  • Aliyun Machine learning series live -AutoEncoder implements voice…
  • GO language decorator programming
  • Exclusive | taught you how to use Python 3 create used in machine learning to open…
  • Python is so popular that you don’t know how to use it.
  • Exclusive | take you 10 minutes to fit TensorFlow practice (with generation…
  • Holding hands: Is natural language processing too difficult? Follow this routine, that is, cut melon and vegetables! (…

The net friend comment on