Skip to content

Instantly share code, notes, and snippets.

Tim Flynn MC42

  • New Jersey
Block or report user

Report or block MC42

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View steps_to_get_something_workable.md

2019/10/25 Foocars 1-Day Build

sudo apt install libjpeg-dev zlib1g-dev libatlas-base-dev #all were missing, libatlas was needed for pillow dependency

copy over a weight model, ulysses has default weights in the GH.

install libhdf5-dev for h5py

patch the defines.py to include the system name via socket.gethostname()

View gh_script_clone_release.sh
#!/bin/bash
curl -s https://api.github.com/repos/opencv/opencv/releases/latest \
| grep "browser_download_url.*zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
@MC42
MC42 / camera.py
Created Jun 29, 2019 — forked from joinAero/camera.py
Use Kinect with OpenCV (Python)
View camera.py
import cv2
import sys
class Camera(object):
def __init__(self, index=0):
self.cap = cv2.VideoCapture(index)
self.openni = index in (cv2.CAP_OPENNI, cv2.CAP_OPENNI2)
self.fps = 0
View list.txt
2019 Rookies (FRC)
7400 ThunderMiners Melville NY
7401 ACME Academy Concord CA
7403 Lightning Blue Lizards Envigado ANT
7404 HighTide Ventura CA
7405 IcyNights Zhangjiagang 32
7406 Ministry of Mechanics Cleveland TN
7407 Wired Boars Wallingford CT
7408 Pearl City Cats Boca Raton FL
View gist:02e3a822cca2463fd49e50acb5c28921
Bihler of America & Bridgewater-Raritan High School & Midland School 2004
Bihler of America & Bridgewater-Raritan High School & Midland School 2004
Bihler of America & Bridgewater Raritan Regional High School & The Midland School 2005
Bihler of America & Bridgewater Raritan Regional High School & The Midland School 2005
Bihler of America & Bridgewater Raritan Regional High School & The Midland School 2006
Bihler of America & Bridgewater Raritan Regional High School & The Midland School 2006
Pressure Tube Manufacturing & Bridgewater Raritan Regional High School & The Midland School 2007
Pressure Tube Manufacturing & Bridgewater Raritan Regional High School & The Midland School 2007
Pressure Tube Manufacturing & Bridgewater Raritan Regional High School 2008
Pressure Tube Manufacturing & Bridgewater Raritan Regional High School 2008
View awardmath.py
import csv
import requests
from tqdm import tqdm
baseURL = 'http://www.thebluealliance.com/api/v2/'
header = {'X-TBA-App-Id': 'tjf:thepythonalliance:award_math'}
most = ["",0]
rows = []
with open('teams.csv', 'r') as csvfile:
spamreader = csv.reader(csvfile, delimiter=',')
You can’t perform that action at this time.