This file contains hidden or 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
| # Author: Pierce Brooks | |
| import os | |
| import sys | |
| import base64 | |
| import mimetypes | |
| if (len(sys.argv) < 2): | |
| sys.exit(-1) |
This file contains hidden or 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
| /* This version of ObjImporter first reads through the entire file, getting a count of how large | |
| * the final arrays will be, and then uses standard arrays for everything (as opposed to ArrayLists | |
| * or any other fancy things). | |
| */ | |
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Text; |
This file contains hidden or 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 | |
| import sys | |
| import json | |
| import shutil | |
| import mimetypes | |
| import subprocess | |
| import logging | |
| import traceback |
This file contains hidden or 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
| # Author: Pierce Brooks | |
| import os | |
| import sys | |
| import json | |
| import shutil | |
| import logging | |
| import traceback | |
| import subprocess |
This file contains hidden or 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
| # Author: Pierce Brooks | |
| import os | |
| import shutil | |
| import subprocess | |
| for root, folders, files in os.walk(os.getcwd()): | |
| for name in files: | |
| path = os.path.join(root, name) |
This file contains hidden or 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
| # Author: Pierce Brooks | |
| import os | |
| import sys | |
| import shutil | |
| import hashlib | |
| import logging | |
| import traceback |
This file contains hidden or 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
| # combination of steps from | |
| # https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu | |
| # and | |
| # https://seanthegeek.net/455/how-to-compile-and-install-ffmpeg-4-0-on-debian-ubuntu/ | |
| response= | |
| echo -n "Do you want to compile the optional libpulse as well (yes/no) > " | |
| read response |
This file contains hidden or 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
| // Author: Pierce Brooks | |
| #if os(macOS) | |
| import AppKit | |
| #else | |
| import UIKit | |
| #endif | |
| #if os(macOS) | |
| public class ImageBaseViewController: NSViewController {} |
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 3 columns, instead of 2 in line 5.
This file contains hidden or 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
| "UUID","Description","References" | |
| "17ee8c60-f84d-11d9-8cd6-0800200c9a66","Used to store information about the status of capture hardware like cameras","https://www.exiftool.org/TagNames/H264.html#MDPM" | |
| "4d495350-6d69-6372-6f73-656374696d65 (""MISPmicrosectime"")","Indicates a payload containing a one byte flag and then a timestamp as dictated by the MISB (Motion Imagery Standards Board)'s MISP (Motion Imagery Standards Profile)","https://nsgreg.nga.mil/doc/view?i=4500 https://github.com/WestRidgeSystems/jmisb/issues/102" | |
| "a8687dd4-d759-3758-a5ce-f0338b6545f1","Same as ""4d495350-6d69-6372-6f73-656374696d65"", but for H265/HEVC instead of H264","https://nsgreg.nga.mil/doc/view?i=4500" | |
| "47564adc-5c4c-433f-94ef-c5113cd143a8","Appears in the first emitted blob of non-AVCC packet buffer data from the VideoToolbox framework's H264 encoding facilities in the Apple product ecosystem","https://developer.apple.com/forums/thread/778196" | |
| "05fbc6b9-5a80-40e5-a22a-ab4020267e26","An extension from Microsoft for RTP streams" |
This file contains hidden or 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 | |
| import mediapipe as mp | |
| mp_drawing = mp.solutions.drawing_utils | |
| mp_drawing_styles = mp.solutions.drawing_styles | |
| mp_hands = mp.solutions.hands | |
| # For webcam input: | |
| cap = cv2.VideoCapture(0) | |
| with mp_hands.Hands( | |
| model_complexity=0, |
NewerOlder