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 is an example for our nRF51822 based Bluefruit LE modules | |
Pick one up today in the adafruit shop! | |
Adafruit invests time and resources providing this open source code, | |
please support Adafruit and open-source hardware by purchasing | |
products from Adafruit! |
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
<html> | |
<head> | |
<title>Pi Video Surveillance</title> | |
<script type="text/javascript"> | |
document.onkeypress = keypressed; | |
function sendstop(){ | |
server = "/stop"; | |
request = new XMLHttpRequest(); | |
request.open("GET", server, true); | |
request.send(null); |
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
# -*- coding: utf-8 -* | |
# mode: 1..hand control, 2..find green area, 3..find squares and recognize, 4..found | |
# 41..right_step1, 42..rs2, 43..rs3, ... | |
# 51..left_step1, 52..ls2, 53..ls3, ... | |
# 61, 62, 63 ... back to the middle | |
from megapi_python3 import * | |
import numpy as np | |
import imutils | |
import cv2 | |
from imutils.video import VideoStream |
OlderNewer