发布时间:2022-05-23 17:08:48
a,b,c = 5,3,4def traceFunc(theta): x = a*np.cos(theta) y = b*np.sin(theta) return x,ydef lineFunc(x,y): return [-c,x,c], [0,y,0]def txtFunc(theta): th .........【阅读全文】
发布时间:2022-05-19 12:29:48
import osfrom PIL import Image# 源目录# MyPath = 'E:/play/FaceMask_CelebA-master/facemask_image/'MyPath = 'E:/play/FaceMask_CelebA-master/save/masks/'# 输出目录OutPath = 'E:/play/FaceMask_CelebA-master/save/Binarization/'def processImage(filesoure, destsoure, name, imgt.........【阅读全文】
发布时间:2022-05-18 14:03:09
import pygameimport random# !/usr/bin/env python3# -*- coding: utf-8 -*-# @Date : 2018/10/23import numpy as npimport randomimport pygamedef path(H, T, t0): # H是我们测试模型的身高 listy = [] .........【阅读全文】
发布时间:2022-05-13 17:09:53
import osimport sysimport randomfrom PyQt5.QtGui import *from PyQt5.QtCore import *from PyQt5.QtWidgets import *class DesktopPet(QWidget): def __init__(self, parent=None, **kwargs): super(DesktopP.........【阅读全文】