- 博客(84)
- 资源 (1)
- 收藏
- 关注
原创 Charle分析实战
xswlUbuntu20.04iphone部署环境Linux (ubuntu && Centos)前言讲的是思路 !!!安装抓包工具&&报文分析安装Charlewget -q -O - https://www.charlesproxy.com/packages/apt/PublicKey | sudo apt-key addsudo sh -c 'echo deb https://www.charlesproxy.com/packages/apt/ c
2022-02-08 21:54:00
787
原创 Tencent_文字识别_通用手写体识别
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-11 19:57:38
607
原创 Redis命令
字符串setset key values [ex|px] [nx|xx]- ex : 设置过期时间 单位秒- px :设置过期时间 单位毫秒- nx : 键 key 不存在,设置成功 键已存在设置失败- xx : 键存在设置成功 键不存在设置失败setnxsetnx key value - 若键存在则不做任何动作 键 key 不存在时设设置为 value- setinx 是 set if not exists 的缩写- 命令在设置成功时返回 1 , 设置失败时返回 0 。sete
2022-01-11 19:54:32
480
原创 PyMySQL 操作 MySQL
安装pip install PyMySQL创建数据库连接import pymysqlconnection = pymysql.connect(host='localhost', port=3306, user='root', password='root', db='d
2022-01-11 19:53:44
359
原创 python读写CSV
reader单行读取import csv# 读取csvcsvFile = open("instance.csv", "r")reader = csv.reader(csvFile)# 遍历for item in reader: print(item)# ['name', 'score']# ['Zhang', '100']# ['Wang', '80']# ['Li', '90']writer单行写入import csv# 新增的数据行,以列表的形式表示add_in
2022-01-11 19:53:35
102
原创 Tencent_机器翻译_图片翻译
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-11 19:53:19
356
原创 Tencent_语音技术_语音合成
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-10 17:19:35
1975
原创 Python操作mongodb
"""pip install pymongo"""from pymongo import MongoClient# 创建一个 MOngoClient 连接到服务器client=MongoClient(host="localhost",port=27017)# client.dbname 获取到一个数据库对象db=client.python# db.collection_name 获取到一个表,可以进行增删改查操作cursor=db.student.find() # find 的结果是一
2022-01-10 17:19:17
63
原创 Python MySql CRUD
import pymysqlconnection = pymysql.connect( host="localhost", user ="root", password ="123456", db ="test",)######################################################################################## # 增cursor = connection.cursor()sql =
2022-01-10 17:19:08
122
原创 Redis 学习
Redis 与 MongoDB一、NoSQL概述如今,大多数的计算机系统(包括服务器、PC、移动设备等)都会产生庞大的数据量。其实,早在2012年的时候,全世界每天产生的数据量就达到了2.5EB(艾字节)。这些数据有很大一部分是由关系型数据库来存储和管理的。实践证明,关系型数据库是实现数据持久化最为重要的方式,它也是大多数应用在选择持久化方案时的首选技术。NoSQL 是一项全新的数据库革命性运动,虽然它的历史可以追溯到1998年,但是NoSQL真正深入人心并得到广泛的应用是在进入大数据时候以后,业界普
2022-01-10 17:19:00
132
原创 ADB 笔记
cd 到 D:\Android\tools\platform-toolsadb push将文件从PC写入到设备adb pusheg:adb push D:/python_study/Test/test.txt /sdcard/FilesD:/python_study/Test/test.txt: 1 file pushed. 0.0 MB/s (22 bytes in 0.032s)adb pulladb pull /sdcard/Files/test.txt D:/python_st
2022-01-10 17:18:48
88
原创 Tencent_语音技术_语音识别
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-10 17:18:21
391
原创 Tencent_机器翻译_文本翻译
这里是引用# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.
2022-01-10 17:18:10
479
原创 Tencent_机器翻译_语音翻译
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-10 17:17:59
192
原创 Tencent_机器翻译_语音翻译&语种识别
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-04 22:36:01
223
原创 Tencent_人体分析_人体检测与属性分析
# import jsonimport cv2import requestsfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.te
2022-01-04 22:35:52
723
原创 Tencent_人体分析_人体关键点分析
# import jsonimport cv2import requestsfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.te
2022-01-04 22:35:17
205
原创 Tencent_人体分析_人像分割
# import jsonimport cv2import requestsfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.te
2022-01-04 22:35:02
386
原创 Tencent_人体分析_视频人像分割处理
# import jsonimport cv2import requestsfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.te
2022-01-04 22:34:50
1408
原创 Tencent_人脸识别_五官定位相关接口
# import jsonimport cv2from tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.tencent_cloud_sdk_
2022-01-04 22:34:38
426
原创 Tencent_人脸识别_人像变换
import jsonimport cv2import requestsfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.tence
2022-01-04 22:34:26
389
原创 Tencent_人脸识别_人脸美颜
# import jsonimport cv2from tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.tencent_cloud_sdk_
2022-01-04 22:34:11
196
原创 Tencent_图像分析_商品&图像标签&公众人物识别
# import jsonimport cv2import requestsfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.te
2022-01-04 22:33:55
255
原创 Tencent_图像分析_图像处理相关接口
# import jsonimport cv2import requestsimport numpy as npimport base64import matplotlib.pyplot as plt%matplotlib inlineimport warningswarnings.filterwarnings("ignore")from tencentcloud.common import credentialfrom tencentcloud.common.profile.clie
2022-01-04 22:33:42
237
原创 Tencent_人脸识别_人脸比对相关接口
# import jsonimport cv2from tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.tencent_cloud_sdk_
2022-01-02 00:22:46
502
原创 Tencent_人脸识别_人脸静态活体检测
# import jsonimport cv2from tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.tencent_cloud_sdk_
2022-01-02 00:22:32
341
原创 Tencent_图像分析_商品识别-微信识物版
# import jsonimport cv2import requestsfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.te
2022-01-02 00:22:19
931
原创 Tencent_图像分析_图像审核
# import jsonimport cv2import requestsimport numpy as npimport base64import matplotlib.pyplot as plt%matplotlib inlineimport warningswarnings.filterwarnings("ignore")from tencentcloud.common import credentialfrom tencentcloud.common.profile.clie
2022-01-02 00:22:03
293
原创 Tencent_图像分析_车辆识别
# import jsonimport cv2import requestsfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.exception.te
2022-01-02 00:21:50
390
原创 Tencent_文字识别_条码信息查询(BarCode)
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-02 00:21:36
373
原创 Tencent_文字识别_条码信息查询(Images)
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-02 00:21:21
209
原创 Tencent_文字识别_英文识别
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-02 00:21:08
237
原创 Tencent_文字识别_通用印刷体识别3Mode
# import jsonimport cv2import requestsimport uuidfrom tencentcloud.common import credentialfrom tencentcloud.common.profile.client_profile import ClientProfilefrom tencentcloud.common.profile.http_profile import HttpProfilefrom tencentcloud.common.
2022-01-02 00:20:54
384
原创 C++ 图片base64编解码 && Tencent OCR API打造属于自己的OCR软件
环境ubuntu 20.04cmake 3.20tencentcloud-cpp-sdknlohmann/json.hpp安装Tencent-cpp-sdk参考官方文档安装nlohmann/json.hpp参考官方文档项目结构.├── build├── CMakeLists.txt└── src ├── CMakeLists.txt ├── include │ └── base64.h ├── ocrimg.cpp3 directories
2022-01-02 00:20:32
670
原创 Aliyun_人脸人体_五官编辑
import oss2import jsonimport cv2import matplotlib.pyplot as plt%matplotlib inlineimport numpy as npimport requestsAccessKeyId="xxxxxxx"AccessKeySecret="xxxxx"auth = oss2.Auth(AccessKeyId, AccessKeySecret)bucket = oss2.Bucket(auth, 'https://oss-cn
2022-01-01 00:33:40
645
原创 Aliyun_人脸人体_人体姿态关键点
import oss2import jsonimport cv2import matplotlib.pyplot as plt%matplotlib inlineimport numpy as npAccessKeyId="xxxxxx"AccessKeySecret="xxxxxxx"auth = oss2.Auth(AccessKeyId, AccessKeySecret)bucket = oss2.Bucket(auth, 'https://oss-cn-shanghai.aliyu
2022-01-01 00:33:30
194
原创 10大排序CPP版
10 大排序1.选择排序void select_sort(vector<int> &arr) { for (int i = 0; i < arr.size(); ++i) { int min = i; for (int j = i + 1; j < arr.size(); ++j) { if (arr[j] <= arr[min]) { min = j;
2022-01-01 00:33:12
90
原创 Centos安装MYSQL数据库
由于历史原因,如果在CentOS里运行 yum install mysql不会安装mysql数据库,而是会安装 MariaDB(关于MySql和MariaDB的关系,请参考百度百科。在CentOS里安装mysql要稍微复杂一些。下载rpm包从mysql官网上下载mysql仓库 得到 rpm文 件wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm安装mysql repository运行yum
2022-01-01 00:32:28
450
原创 centos7安装pycharm2020-2专业版
title: centos7安装pycharm2020.2专业版author: yjsdate: 2020-08-10 13:08:37tags:LinuxPythonpassword:summary: centos7安装pycharm2020.2专业版categories: Linux下载pycharm软件包**网页下载:**http://www.jetbrains.com/pycharm/download/#section=linux**wget直接下载:**wget ht.
2022-01-01 00:32:19
853
原创 在Linux上设置crontab后执行python脚本不生效的问题
目前有一个需求是定时执行某个 python 脚本,但是在 Linux上设置 crontab后,不生效?手动执行生效?于是使用下面的方法执行即可:大体思路为先写一个 shell 脚本,脚本中执行 python 文件,然后定时执行 shell 脚本即可。具体原因是crontab使用的PATH 跟python使用的不在一条道上面 只能改道行使用如下命令创建脚本:vim test.sh然后在 start.sh 脚本中结合本身情况输入内容,示例:#!/usr/bin/bashcd /home/test
2022-01-01 00:32:10
807
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人