1, Graphic verification code identification1. Use tesserocr
from PIL import Image
# Store a picture of verification code locally for testingimage = Image.open('test.jpg')result = tesserocr.image_to_text(image)print(result)
# Convert text directly to stringimport tesserocrprint(tesser ...
Posted on Fri, 20 Mar 2020 11:00:25 -0700 by madspoihur
There are some so-called HAL(Hardware Acceleration Layer) implementations in OpenCV that seem to be hardware related by name, but they are not. It can be understood that a faster version of OCV implementation is better.What this article does is to find out its implementation or cut into the process to get through the whole function call logic.T ...
Posted on Wed, 18 Mar 2020 11:00:02 -0700 by readourlines
1, Process descriptor
Process control block PCB: it is a data structure for OS control process operation, and a task struct structure.
PCB includes: process identification information (process identifier PID, etc.), execution field information (CPU field, field information needs to be saved during process switching), process image information ( ...
Posted on Wed, 18 Mar 2020 06:43:00 -0700 by whiterecluse
1, Bean's life cycle
Bean creation - initialization - Destruction
Single instance: creating objects when container starts
Multiple instances: creating objects on each call
After the object is created, the initialization method is called
Single instance: call destroy method when ...
Posted on Wed, 18 Mar 2020 05:38:08 -0700 by jay7981
clearfix clear float
Imagine that a float can be moved left or right until its outer edge touches the border of another box or another floater.
Posted on Tue, 17 Mar 2020 21:09:38 -0700 by gammaster
It was sorted out yesterday Event mechanism of Laravel Today, I want to verify its asynchronous operation.
1.1 create Event and Listener respectively,
\App\Events\Test::class => [
use Illuminate\Broadcasting\Channel; ...
Posted on Mon, 16 Mar 2020 22:10:07 -0700 by ud2008
Many people should be confused when they see this problem. Because most of the articles analyze how the linked list is converted into a red black tree, but they do not explain why the conversion action is only done when the length of the linked list is 8. The author's first reaction is the same, only ...
Posted on Sun, 15 Mar 2020 23:43:54 -0700 by sebthib55
Ask: is int thread safe?
Demarcation line of basic chapter of Atomic
Atomic integer (base type)
Improvement of the above int type example
Source code analysis
Security implementation - using CAS
Posted on Sun, 15 Mar 2020 22:38:25 -0700 by rkm11
1, Basic knowledge
1 meaning of regression
Regression is the best fitting, the process of fitting these points with a straight line, the process of logical regression is the process of finding the best fitting parameters, using the optimization theory.
2. Common optimization algorithms in optimiza ...
Posted on Sun, 15 Mar 2020 21:53:50 -0700 by zaneosak
Chapter 19 array definition and access
Author: Zhang Zimo
1, Concept of container
A container is a storage structure that can store multiple data together. Each data is called an element of the container.
**Containers in life: * * water cup, wardrobe, classroom
2, The concept of array
Posted on Sun, 15 Mar 2020 03:47:47 -0700 by straycat