I hereby claim:
- I am boo13 on github.
- I am rearrange (https://keybase.io/rearrange) on keybase.
- I have a public key ASDnfieYYNQtvXyDBH1sdiobhxyNuDWbVc38c20uTwyC8wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import sys | |
if sys.version_info[0] >= 3: | |
import PySimpleGUI as sg | |
else: | |
import PySimpleGUI27 as sg | |
import cv2 as cv | |
from PIL import Image | |
import io | |
from sys import exit as exit |
No aliases I don't really understand cus I got them off the internet, no aliases I consistently forget to use...
These are the REAL aliases... the aliases I actually use.
# ========================
# python
# ========================
alias pip='pip3'
alias py='python3'
#!/usr/bin/python | |
import cv2 | |
import numpy as np | |
import sys | |
if len(sys.argv) < 4: | |
print("You need to enter 3 numbers") | |
sys.exit() |
#!/usr/bin/env python | |
from threading import Thread, Lock | |
import cv2 | |
class WebcamVideoStream : | |
def __init__(self, src = 0, width = 320, height = 240) : | |
self.stream = cv2.VideoCapture(src) | |
self.stream.set(cv2.cv.CV_CAP_PROP_FRAME_WIDTH, width) | |
self.stream.set(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT, height) |
""" | |
Simply display the contents of the webcam with optional mirroring using OpenCV | |
via the new Pythonic cv2 interface. Press <esc> to quit. | |
""" | |
import cv2 | |
def show_webcam(mirror=False): | |
cam = cv2.VideoCapture(0) |
I am currently working on updating this guide after updating my media server. I have added notes on things I no longer use but may update those sections in the future for users who still use them. As of now, I have everything working with the exception of Ombi and the plugins I no longer use.