![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
wongts44tl
这个作者很懒,什么都没留下…
展开
-
cuda so编译
cuda编译so原创 2022-06-20 10:43:32 · 32 阅读 · 0 评论 -
多线程视频抽帧 python
转载注明出处谢谢 # -*- coding: utf-8 -*- import shutil import numpy as np import cv2 import os from multiprocessing import Pool def do_capture(src_path, path, name): output_path = path + os.sep + name if not os.path.exists(output_path): os.mkdir原创 2021-01-07 11:01:25 · 429 阅读 · 0 评论 -
Python中:self和__init__的含义 + 为何要有self和__init__
转载自:在路上 » 【整理】Python中:self和__init__的含义 + 为何要有self和__init__ 关于self的使用作者给出的错误和正确的例子讲解如下: 如果没有在__init__中初始化对应的实例变量的话,导致后续引用实例变量会出错 如下代码,完整的演示了,如果没有在类Class的最初的__init__函数中,正确的初始化实例变量,则会导致后续没有变量可用,因而出现Attri...转载 2018-11-06 12:10:09 · 346 阅读 · 2 评论