- 博客(7)
- 资源 (2)
- 问答 (2)
- 收藏
- 关注
原创 sklearn SVM机器学习_数字识别
import osfrom random import randrangeimport numpy as npfrom PIL import Image, ImageDraw, ImageFontfrom sklearn import svmimport cv2 as cvfrom matplotlib import pyplot as pltimport pandas as pdwidth, height = 20, 40fontSize = 40noiseRate = 0.0.
2021-11-02 00:18:16
670
原创 openCV ROI
import threadingimport cv2 as cvimport timeimport numpy as npclass ROI9527(): def __init__(self): pass def draw_Contours(self, contours, img): ''' # 绘制自动识别的轮廓 automation 自动识别区域 :param contours: :par.
2021-11-02 00:16:43
1280
原创 matplotlib 数据分析 图示
import randomimport matplotlibfrom matplotlib import pyplot as pltfrom matplotlib import font_managerclass mat(): def __init__(self, x, y, y2=None): self.x = x self.y = y self.y2 = y2 self.plt = plt def set_fo.
2021-10-18 00:03:06
145
原创 pymysql 数据库操作
from pymysql import *class OCR_DB(object): def __init__(self, user, password, database, port=3306, host='localhost'): self.host = host self.port = port self.user = user self.password = password self.database =.
2021-10-13 22:38:32
147
原创 subprocess 命令行使用
import serial, threadingimport time, sys, subprocess, osimport queueclass auto_run(): # 命令的结束标志 end_sign = 'END' def __init__(self): self.flag = True self.popen = None self.Retry_num = None self.Result_Pass .
2021-08-30 23:00:24
226
matplotlib数据实时更新实时显示
2021-10-18
matplotlib基本使用基本应用 基本
2021-10-18
TA创建的收藏夹 TA关注的收藏夹
TA关注的人