This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, sys | |
import wx | |
import cv2 | |
import cvframe | |
import datetime | |
import configparser | |
import numpy as np | |
from threading import Event, Thread | |
import winsound | |
import re |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
capture = cv2.VideoCapture(0) | |
capture.grab() | |
effect = 0 | |
firstcap = False | |
while 1: | |
ret, image = capture.read() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
capture = cv2.VideoCapture(0) | |
capture.grab() | |
while 1: | |
ret, image = self.capture.read() | |
if ret == False: | |
continue | |
cv2.imshow("Capture", image) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
file = "C:\\Users\\SUEZO\\Pictures\\cat.jpg" | |
windowname = u"1:org 2:gray ESC:close" | |
im = cv2.imread( file ) | |
gray = cv2.cvtColor( im, cv2.COLOR_BGR2GRAY ) | |
cv2.imshow(windowname, im) | |
live = cv2.getWindowProperty("Capture", 0) == 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clipframe # wxFormBuilderのソース | |
import wx | |
import os, sys | |
import datetime | |
import configparser | |
from PIL import ImageGrab, Image | |
"""---------------------------------------------- | |
クリップ画像保存器 | |
グローバル定数 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clipframe # wxFormBuilderのソース | |
import wx | |
import os, sys, re | |
import subprocess | |
import datetime | |
import configparser | |
from PIL import ImageGrab, Image | |
from threading import Event, Thread | |
from time import sleep | |
import copy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clipframe # wxFormBuilderのソース | |
import wx | |
import os, sys, re | |
import datetime | |
import configparser | |
from PIL import ImageGrab, Image | |
"""---------------------------------------------- | |
クリップ画像保存器 | |
グローバル定数 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clipframe # wxFormBuilderのソース | |
import wx | |
import os, sys, re | |
import datetime | |
import configparser | |
from PIL import ImageGrab, Image | |
"""---------------------------------------------- | |
クリップ画像保存器 | |
グローバル定数 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os,sys, configparser | |
path = os.path.dirname( sys.argv[0] ) | |
# 設定ファイルの場所を決める | |
INI = path + "/ini.conf" | |
conf = configparser.SafeConfigParser() | |
conf.read(INI) | |
if os.path.exists(INI): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clipframe # wxFormBuilderのソース | |
import wx | |
import os, sys | |
import datetime | |
import configparser | |
from PIL import ImageGrab, Image | |
"""---------------------------------------------- | |
クリップ画像保存器 | |
グローバル定数 |