上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
摘要: 计算面积,用面积的正负判断方向,如果面积是正,则是逆时针,面积是负则是顺时针。 在计算几何里,我们知道,△ABC的面积就是“向量AB”和“向量AC”两个向量叉积的绝对值的一半。其正负表示三角形顶点是在右手系还是左手系(面积是有向面积(有正负)), 负 则是左手系,反之,右手系。 需要注意的是在屏幕坐 阅读全文
posted @ 2022-04-24 09:56 不能说的秘密 阅读(754) 评论(0) 推荐(0) 编辑
摘要: import open3d as o3d mesh = o3d.io.read_triangle_mesh("80390865_shell_occlusion_l.stl") o3d.io.write_triangle_mesh("copy_of_knot.ply", mesh) 之后可继续转为pc 阅读全文
posted @ 2022-04-22 17:26 不能说的秘密 阅读(324) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-# # # Name: test # Author: yunhgu # Date: 2022/4/13 14:00 # Description: # from PIL import ImageDraw, Image def getLinearEquati 阅读全文
posted @ 2022-04-13 15:26 不能说的秘密 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 官方介绍地址:https://pillow.readthedocs.io/en/stable/reference/index.html # -*- coding: utf-8 -*-# # # Name: Pillow测试用例 # Author: yunhgu # Date: 2022/4/13 9 阅读全文
posted @ 2022-04-13 13:47 不能说的秘密 阅读(388) 评论(0) 推荐(0) 编辑
摘要: https://registry.npmmirror.com/binary.html?path=python/ 阅读全文
posted @ 2022-04-06 17:17 不能说的秘密 阅读(480) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-# # # Name: 单链表测试 # Author: yunhgu # Date: 2022/3/10 15:48 # Description: # class Node(object): """链表的结点""" def __init__(self, 阅读全文
posted @ 2022-03-10 15:59 不能说的秘密 阅读(125) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-# # # Name: m3u8下载器 # Author: yunhgu # Date: 2022/3/4 9:35 # Description: # from concurrent.futures import ThreadPoolExecutor, 阅读全文
posted @ 2022-03-10 15:20 不能说的秘密 阅读(810) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-# # # Name: 资源打包 # Author: yunhgu # Date: 2022/3/10 15:07 # Description: # import os import sys def resource_path(relative_path 阅读全文
posted @ 2022-03-10 15:14 不能说的秘密 阅读(182) 评论(0) 推荐(0) 编辑
摘要: numba 编译型语言和解释型语言 首先了解一下编译型语言和解释型语言(也经常叫脚本语言): 1、编译型语言,C、C++、Fortran、Pascal、Ada,由编译型语言编写的源程序需要经过编译,汇编和链接才能输出目标代码,然后由机器执行目标代码。目标代码是由机器指令组成,不能独立运行,因为源程序 阅读全文
posted @ 2022-03-10 10:34 不能说的秘密 阅读(125) 评论(0) 推荐(0) 编辑
摘要: def cv2_img_add_text(img, text, coordinate, text_color=(0, 255, 0), text_size=20): img = Image.fromarray(cv2.cvtColor(img, cv2.COLOR_BGR2RGB)) # 创建一个可 阅读全文
posted @ 2022-03-08 15:13 不能说的秘密 阅读(169) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 17 下一页