Implementation of Gaussian filter (handwriting filter function) in python+opencv
Some image processing operations with opencv are very simple and convenient, but for students who want to understand the details, it is best to write the generation of filter core and filter function. Understanding the change process of Gaussian function is of great help to our in-depth study of image processing.
Function of image filtering
...
Posted by meckr on Fri, 01 Oct 2021 16:01:36 -0700
python: when for accesses the sequence, it modifies the sequence again and again. What's the problem
An instance
Take a basic topic: PAT (Basic Level) Practice 1005: continue 3n+1 to show this problem. For a detailed description of the topic, see the PAT website.
Problem solving ideas
1. After writing the input data, convert the sequence to be verified into the list num of digital elements_ list.
2. Traverse num from scratch_ List, for ea ...
Posted by joelhop on Fri, 01 Oct 2021 15:34:29 -0700
Use of python crawler selenium
brief introduction
- Selenium is one of the most widely used open source Web UI (user interface) automation test suites. ----Let my program connect to the browser and let the browser complete various complex operations. We only accept the final result -----selenium; Automated test tools ----You can open the browser. Then operate the browser l ...
Posted by Jragon on Fri, 01 Oct 2021 13:02:13 -0700
excel linear regression and jupyter programming
1, Using excel to do linear regression
1. Startup steps
Find data analysis in the data column of excel, and then start linear regression. If there is no "data analysis" tab, you can select "add in" in the "file" tab and select "go" as follows: Check the required tool
2. Data analysis
After impor ...
Posted by ronniebrown on Fri, 01 Oct 2021 11:02:52 -0700
Introduction to python
Introduction to python - learning notes
[reference document]: https://www.runoob.com/python/python-variable-types.html
[recommended documents]: https://blog.csdn.net/hhhhhhhhhhwwwwwwwwww/article/details/120037975
Some common settings of pycharm
Enter setting > editor > file and code templates, click python script to set: """
==== ...
Posted by uproa on Thu, 30 Sep 2021 19:01:35 -0700
Pandas's way of learning
Well... It's coming again... It's not over after all.
Following the previous article, I finished writing Series and DataFrame, and then I should start some table operations.
1. Connection of tables
1.1. join operation
Parameters:
other: the second Dataframe, Series, or column in the Dataframeon: duplicate column names in the second DataFra ...
Posted by reinaldo on Thu, 30 Sep 2021 18:25:42 -0700
Using MVC design pattern to build GUI (PyQt5 version)
Today, we introduce an example of using MVC design pattern to build GUI in PyQt5. This case comes from Chapter 7 of MATLAB object-oriented programming - from introduction to design pattern (version 2). For details about the GUI tool design of deposit and withdrawal, please refer to pages 127 ~ 160.
The final interface created by PyQt5 is as fo ...
Posted by setaside on Thu, 30 Sep 2021 12:00:36 -0700
Added login capabilities and corrections to previous Python registries
Think: A previously made registration system can store user registered names and passwords in a dictionary. Simply use if else statements to compare user names entered during user login with previously stored user names when user login. Passwords are the same.
Practice:
1. First I want to compare the values, but I find that the keys in the di ...
Posted by MikeSnead on Thu, 30 Sep 2021 11:24:35 -0700
Complete solution of 4w word HTML5 knowledge
HTML summary
Even the smallest sail can sail far~
1, Catalogue
1. Web page
1.1 what is a web page
1.2 what is html
1.3 formation of web pages
2.Web standards
2.1 composition of web standards
3.HTML syntax specification
3.1 basic grammatical concepts
3.2 label relationship
4.HTML basic structure tag
4.1 first HTML
5. Web devel ...
Posted by vigiw on Wed, 29 Sep 2021 16:54:34 -0700
2021 Chang'an Cup - College Group - crypto easyrsa WP
The game was terrible. After all, it was too bad for me. No password was given. esayrsa was not easy at all. This problem was given an hour and a half after the game.
1, Title
from Crypto.Util.number import *
def add(a,b):
if(a<b):
a0 = str(b).encode()
b0 = str(a).encode()
else:
a0 = str(a).encode()
...
Posted by mverrier on Tue, 28 Sep 2021 13:17:07 -0700