pygame, PIL, VideoCaptureを使う。 import sys import pygame import Image import VideoCapture def image2surface(image): mode = image.mode size = image.size data = image.tostring() return pygame.image.fromstring(data, size, mode) camera = VideoCapture.Device() camera.displayCapturePinProperties() pygame.init() size = width, height = 640, 480 screen = pygame.display.set_mode(size) BLACK = (0, 0, 0) ORIGIN
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く