1. 首页
  2. 数据库
  3. 其它
  4. python 简单照相机调用系统摄像头实现方法 pygame

python 简单照相机调用系统摄像头实现方法 pygame

上传者: 2020-12-31 16:54:37上传 PDF文件 111.01KB 热度 8次
如下所示: # -*- coding: utf-8 -*- from VideoCapture import Device import time import pygame from pygame.locals import * import sys pygame.init() size = width, height = 620, 485 print size speed = [2, 2] black = 0, 0, 0 if pygame.display.get_init(): print ("inited") else: print"notinit" pygame.displ
下载地址
用户评论