自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

原创 寻找两个正序数组的中位数

2021-08-29 21:10:50 68

原创 python 9527

python

2021-08-28 22:44:12 102

shell_cmd.py

shell_cmd.py

2021-08-30

matplotlib_py.py

matplotlib_封装, 使用更轻松

2021-08-28

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除