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 cv2 | |
class Detector(): | |
def __init__(self, image_name): | |
self.image_name = image_name # The image file name | |
self.image = [] # OpenCV image array | |
self.drawn = 0 # Count of how many detector-boxes have been drawn | |
self.drawColors = [(255,0,0),(0,255,0),(0,0,255),(255,255,0),(255,0,255),(0,255,255)] #RGB Values | |
self.path = "xml/" # The path to the haarcascades data xml files | |
self.rects = [] # Discovered rectangles from Image Analysis |
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/python | |
import time | |
import RPi.GPIO as GPIO | |
from pubnub import Pubnub |
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
<!-- First Import: --> | |
<link rel="import" href="paper-fab.html"> | |
... | |
<!-- Then use: --> | |
<paper-fab icon="send"></paper-fab> |
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
<html lang="en-US"> | |
<head> | |
<!-- <link href="CSSGist.css" rel="stylesheet" type="text/css"> --> | |
<style> | |
#orbit-case{ | |
width: 500px; | |
height:500px; |
NewerOlder