会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
记录——去繁就简
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
16
下一页
2022年10月25日
ps 创建实心字符
摘要: 参考来源:https://jingyan.baidu.com/article/9f7e7ec082aab12e2815549c.html 1,创建字符 2,魔法棒选中字符 3,图层栅格化 4,编辑描边 5,删除原图层 6,油漆桶填色
阅读全文
posted @ 2022-10-25 09:51 记录——去繁就简
阅读(154)
评论(0)
推荐(0)
2022年10月24日
EM算法
摘要: # 1,求观测序列的概率# 2,已知状态序列求观测序列# 3,已知观测序列求模型参数# 设状态值概率# pA=0.6# pB=0.5class EM(): def __init__(self): self.t = 0.6 self.q = 0.5 def E(self, i, j): pA = (s
阅读全文
posted @ 2022-10-24 14:47 记录——去繁就简
阅读(41)
评论(0)
推荐(0)
2022年10月8日
python 文字转语音
摘要: #pyttsx3文字转语音import pyttsx3engine2 = pyttsx3.init()while True: content = input('请输入播放内容:') engine2.say(content) engine2.runAndWait() #文字转语音from win32c
阅读全文
posted @ 2022-10-08 15:58 记录——去繁就简
阅读(481)
评论(0)
推荐(0)
python 音频合成,图片转视频
摘要: import osimport cv2,reimport timeimport pyttsx3import ffmpegimport subprocessfrom PIL import Imageimport numpy as npimport imageioimageio.plugins.free
阅读全文
posted @ 2022-10-08 15:58 记录——去繁就简
阅读(211)
评论(0)
推荐(0)
角度检测
摘要: import cv2import mathpath = 'img_2.png'img = cv2.imread(path)pointList = []def mousePoint(event,x,y,flags,params): print(x,y) if event == cv2.EVENT_LB
阅读全文
posted @ 2022-10-08 15:57 记录——去繁就简
阅读(46)
评论(0)
推荐(0)
二维码,条形码——检测
摘要: import cv2import numpyimport pyzbarfrom pyzbar.pyzbar import decode#静态码识别# path = 'aa.jpg '# img = cv2.imread(path)# # from PIL import Image# # img =
阅读全文
posted @ 2022-10-08 15:57 记录——去繁就简
阅读(198)
评论(0)
推荐(0)
字符识别
摘要: import cv2import pytesseractpytesseract.pytesseract.tesseract_cmd=r'E:\tesseract\tesseract.exe'#字符识别(英文,数字)# img = cv2.imread('img_1.png')# img = cv2.
阅读全文
posted @ 2022-10-08 15:57 记录——去繁就简
阅读(129)
评论(0)
推荐(0)
物体颜色同一化——手势识别
摘要: """ 从视频读取帧保存为图片"""import cv2import numpy as np# cap = cv2.VideoCapture('people.mp4')#读取文件cap = cv2.VideoCapture(0)#读取摄像头#皮肤检测def A(img): YCrCb = cv2.c
阅读全文
posted @ 2022-10-08 15:57 记录——去繁就简
阅读(69)
评论(0)
推荐(0)
点击识别像素rgb值
摘要: import cv2img = cv2.imread('img.png')def click_info(event, x, y, flags, param): # 只处理双击事件 if event == cv2.EVENT_LBUTTONDBLCLK: print('坐标', x, y) b, g,
阅读全文
posted @ 2022-10-08 15:57 记录——去繁就简
阅读(62)
评论(0)
推荐(0)
Python 报错原因
摘要: invalid literal for int() with base 10 原因时因为int()不能将带有小数点的字符串转化为整数类型。
阅读全文
posted @ 2022-10-08 11:58 记录——去繁就简
阅读(37)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
16
下一页
公告