Skip to content

Instantly share code, notes, and snippets.

Avatar

lucasmediaflow

View GitHub Profile
View flash.py
from gpiozero import LED
import depthai as dai
import cv2
from time import sleep
flashpin = LED(23)
pipeline = dai.Pipeline()
pipeline.setCameraTuningBlobPath('/home/pi/oak/tuning_color_low_light.bin')
View test.py
#!/usr/bin/env python3
from pathlib import Path
import sys
import cv2
import depthai as dai
import numpy as np
from time import monotonic, sleep
import threading
View camera.py
#!/usr/bin/python3 -u
from rekognize import rekognize
# from dmx import Flash, time
import time
from datetime import datetime
import json
import math
import threading
from pathlib import Path
import depthai as dai