发布时间:2022-07-08 17:17:12
# 背景色background_color_js = ( "new echarts.graphic.LinearGradient(0, 0, 0, 1, " "[{offset: 0, color: '#c86589'}, {offset: 1, color: '#06a7ff'}], false)")# 线条样式linestyle_dic = { 'normal': { .........【阅读全文】
发布时间:2022-07-07 17:19:16
# 定义决策树类class DecisionTree(object): def __init__(self, classes, features, max_depth=10, min_samples_split=10, &.........【阅读全文】
发布时间:2022-07-06 17:15:13
python学习交流Q群:906715085###from __future__ import print_functionfrom PIL import Imagefrom PIL import ImageFontfrom PIL import ImageDrawimport osimport shutilimport time# %% 要生成的文本label_dict = {0: '0', 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6', 7: .........【阅读全文】
发布时间:2022-06-30 17:11:47
# -*- coding: utf-8-*-import uiautomation as autoimport timeimport subprocess# subprocess.Popen('C:\Program Files\Google\Chrome\Application\chrome.exe')time.sleep(2)start_time = time.time()print('开始时间:{}'.format(start_time))auto.SetGlobalSearchTimeout(3)con.........【阅读全文】
发布时间:2022-06-29 13:44:01
import sysimport cv2import mathimport timeimport threadingimport numpy as npimport HiwonderSDK.yaml_handle as yaml_handleif sys.version_info.major == 2: print('Please run this program with python3!') sys.exit(0)r.........【阅读全文】