​​

Introduction:

As Douyin becomes more and more popular, the one-click following feature is also a must-have secret weapon for Gamers.

Generate a dedicated thumbs-up link, by clicking this link, you can realize your Douyin number one-click thumbs-up.

Today’s small program is to give the little brother’s welfare, ha, looking for a high level of appearance of the little sister a key three even oh ~~

Achievements:

The first step is to debug the phone. Once the link is successful, you can open the small script, and then the App tiktok will automatically open to look for a high appearance of the sister to like.

​​

​​

Douyin recommended little sister is not deficient in high appearance level ha! Star little sister is really different, are high appearance level.

Project details: Take Douyin APP as an example, its package_name and activity_name are as follows.

​​

Therefore, run the following command in the command line to open the Tiktok APP in the mobile phone.

​​

ADB Click screen

Run the following command in the command line, you can realize the mobile phone screen click. 1330, 1750 are the x and y coordinates of the click.

​​

Taking douyin praise in the crawler as an example, I just need to record the screen coordinates corresponding to the “like” button in Douyin App, and then call this command to complete automatic “like”.

First, start douyin APP. After the first video is loaded and played, the screen is captured and the face recognition interface of Baidu AI is called for face detection and scoring.

If the appearance level score is above 70 and the gender is female face detected in the screen, click the “Like” button in the screen, and then slide up to play the next video

If there is no face in the picture, or the gender is male, or the appearance level is less than 70, the screenshots will continue to be detected until the end of the video, or until the face that meets the conditions is found, and then the next video will be played by sliding up.

In order not to miss douyin with a pretty little sister as much as possible, we will take 4-5 pictures from each video for detection. As long as there is a screenshot with a high appearance level of the little sister, we will give the video a “like”. If this is not detected, can only say that the little sister is hidden too deep, or beautiful not obvious enough.

(1) Face recognition part

​​

Main part code:

​​

​​

​​

conclusion

Well, the article here, such as the article to help you, remember a key three even ha! Love you ~

Source base penguin group: # private xiaobian can be free #