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 math | |
import numpy as np | |
import cv2 | |
cam = cv2.VideoCapture(0) | |
cam.set(cv2.CAP_PROP_FRAME_WIDTH, 1280) | |
cam.set(cv2.CAP_PROP_FRAME_HEIGHT, 720) | |
cam.set(cv2.CAP_PROP_CONVERT_RGB, False) # turn off RGB conversion | |
# cam.set(cv2.CAP_PROP_FOURCC('Y', '1', '6', '')) |
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
[Unit] | |
Description=HP Elitebook Folio G1 fixes | |
[Service] | |
ExecStart=/sbin/fix-my-stupid-folio | |
[Install] | |
WantedBy=basic.target |
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/env python | |
'Generate Time Table' | |
from __future__ import print_function | |
import sys | |
import argparse | |
from collections import defaultdict | |
START_TIME = 8 | |
# Time when classes start |
NewerOlder