随笔分类 - Python其它
Python 第三方库、工具等使用
摘要:关于 cairosvg 官网:https://cairosvg.org Convert your SVG files to PDF and PNG. a SVG 1.1 to PNG, PDF, PS and SVG converter; a command-line interface; a Py
阅读全文
摘要:imutils 在 opencv 基础上对一些方法进行了再次加工,使这些方法更加简单易用,包括 translation, rotation, resizing, skeletonization, and displaying Matplotlib images 等。 github主页: https:
阅读全文
摘要:https://docs.python.org/zh-cn/3.7/library/index.html 概述 可用性注释 内置函数 内置常量 由 site 模块添加的常量 内置类型 逻辑值检测 布尔运算 and, or, not 比较运算 数字类型 int, float, complex 迭代器类
阅读全文
摘要:内置模块 copy 深浅拷贝 对于不可变对象(数字,字符串,元组等),深浅拷贝等同于赋值操作 (v2 = copy(v1),等同于 v2 = deepcopy(v1),等同于v2 = v1。 对于可变的对象(列表,字典,集合等)深浅拷贝的本质是,申请新的空闲内存单元,并将变量名指向该内存单元的首地址
阅读全文
摘要:参考总结自: https://www.zhihu.com/question/33783546/answer/775946401 pyecharts folium geopandas basemap plotly Altair和GeoViews gmplot(Google Maps) Highmaps
阅读全文
摘要:转载改编自:https://www.cnblogs.com/chen8023miss/p/12220631.html PyEcharts 官网:https://pyecharts.org/#/ 安装 $ pip install pyecharts 1 仪表盘 from pyecharts impor
阅读全文
摘要:引言 本文基于 pdfplumber 实现 PDF 识别; PDF 识别其他库:PyPDF2、; 参考:https://zhuanlan.zhihu.com/p/336643249 pdfplumber 简介 开源地址:https://github.com/jsvine/pdfplumber 安装准
阅读全文
摘要:EasyOCR https://github.com/JaidedAI/EasyOCR 识别步骤 图像输入 前期处理 二值化 图像降噪 倾斜校正 中期处理 版面分析 字符切割 字符识别 版面还原 后期处理 结果矫正 输出文本 安装 pip install easyocr 使用 EasyOCR的用法非
阅读全文
摘要:数学函数 函数 返回值 ( 描述 ) abs(x) 返回数字的绝对值,如abs(-10) 返回 10 ceil(x) 返回数字的上入整数,如math.ceil(4.1) 返回 5 cmp(x, y) 如果 x < y 返回 -1, 如果 x == y 返回 0, 如果 x > y 返回 1。 **P
阅读全文
摘要:列表元素 import numpy as np import pandas as pd import matplotlib.pyplot as plt n = 10 l = [i for i in range(n)] l # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] l * 2
阅读全文
摘要:主页:https://github.com/soimort/you-get 安装 (base) $ pip3 install you-get 使用 查看信息 (base) $ you-get -i https://v.qq.com/x/page/xxxxxxx?start=1 Site: QQ.co
阅读全文