## OpenCV computer vision -- image threshold processing and adaptive threshold Otsu

Threshold processing refers to eliminating pixels in the image that are higher or lower than the threshold. Image threshold processing is mainly to set a threshold: greater than this number is given a value, less than a number is given another value, and the pixel value of the image is changed into the middle of two gray values to realize image ...

Posted on Fri, 03 Dec 2021 09:03:38 -0500 by JCBarry

## Reinforcement learning notes: dobby slot machine problem -- optimal initial value

catalogue 0. Preface 1. Optimistic Initial Value 2. Simulation 2.1 sample-average method 2.2 Constant Step-size alpha=0.1 3. Analysis and discussion of simulation results 4. Exercises 0. Preface         In the previous sections, we have discussed the problem of multi arm slot machines. See:         Reinforcement ...

Posted on Fri, 03 Dec 2021 08:21:53 -0500 by wolves

## Python data analysis - drawing-2-Seaborn advanced drawing-2-diagram

1, Scatter plot: scatterplot Function: seaborn.scatterplot Common parameters: x，yarray, str, series, input variables. The string should be the corresponding variable name in data. Using series will display the name on the axis.dataReceives a DataFrame representing the dataset used for drawing.hueReceive the variable name in data and pass in ...

Posted on Fri, 03 Dec 2021 02:08:24 -0500 by dotbands

## The five pandas built-in functions are very convenient

Hello, before modeling, what we must do is to traverse and construct the data, that is, data preprocessing. Today, I will introduce several methods commonly used by Pandas to call its built-in functions to traverse data. catalog: 0. Data preview 1. apply 2. applymap 3. map 4. agg 5. pipe 0. Data preview The data here are fictional ex ...

Posted on Fri, 03 Dec 2021 00:33:23 -0500 by w.geoghegan

## [Python learning] Python function

No parameter, no return function def test1(): print("I am a parameterless function with no return value") test1() Function with parameters and no return value: if you need to dynamically adjust a processing information in the function body, you can receive relevant data in the form of parameters def test2(num): print(num ** 1) ...

Posted on Fri, 03 Dec 2021 00:08:15 -0500 by transformationstarts

## Analysis of unsupervised key phrase generation blog 11--tfidf.py

2021SC@SDUSC  In the last blog, we completed the analysis of utils.py in the project. In this blog, we will analyze the tfidf.py file in pke. First, we will analyze the calculation method of TF IDF index in combination with the paper, and then analyze it in combination with the use of examples and TF IDF source code. I   Calculation me ...

Posted on Thu, 02 Dec 2021 22:47:27 -0500 by timmybuck

## [JS reverse hundred examples] W store UA, OB anti confusion, packet capture and replacement CORS cross domain error analysis

Focus on official account dry cargo WeChat public: K brother crawler, keep sharing crawler advance, JS/ Android reverse technology dry goods!statementAll contents in this article are for learning and communication only. The packet capturing content, sensitive website and data interface have been desensitized. It is strictly prohibited to use th ...

Posted on Thu, 02 Dec 2021 22:21:47 -0500 by Eddyon

## I use Python to realize screenshot recognition, improve work efficiency and punch in and out directly

Hello, I'm Dafei. Today I bring you interesting scripts for Python implementation. 1, Tool preparation System: win10 Python version: Python 3.8.6 Pycharm version: pycharm 2021.1.2(Professional Edition) Two, get Baidu Intelligent Cloud token Baidu AI Cloud   After logging in, find the character recognition - > management in ...

Posted on Thu, 02 Dec 2021 21:19:09 -0500 by phpfanphp

## In order not to get up early, clock in and sleep late, I sacrificed selenium

preface Every day I fantasize about how wonderful life would be if I could get money without going to work! It's not winter. For me and other night owls, it's really painful to get up early and punch in every day. I often bother my friends to punch in for me because I don't want to get up. Finally I think of the killer mace! 1, Pyth ...

Posted on Thu, 02 Dec 2021 21:19:50 -0500 by TRUCKIN

## Python Selenium practice (Baidu, famous sayings, JD)

The configuration of selenium can be viewed Station B crawler tutorial 1, Open Baidu and search Open Baidu: from selenium.webdriver import Chrome web = Chrome() web.get('https://www.baidu.com') Find the input box in the developer tool: Enter the value to query and press enter: input_btn = web.find_element_by_ ...

Posted on Thu, 02 Dec 2021 18:33:13 -0500 by jdpatrick