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
#!/usr/bin/python3 | |
import cv2 | |
import curses | |
import sys | |
cap = "" | |
def start(stdscr): | |
global cap | |
try: | |
cap = cv2.VideoCapture(int(sys.argv[1])) | |
except: |
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 tkinter as tk | |
from tkinter import ttk | |
# ############################################################################## | |
# RUN THIS FILE TO SEE A DEMO WINDOW WITH ALL TYPES OF SCROLLABLE FRAMES IN IT # | |
# ############################################################################## | |
# TO USE THIS CLASS IN YOUR CODE, IMPORT THIS FILE, | |
# from scrollFrame import * |