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 pygame | |
import pygame.camera | |
from pygame.locals import * | |
import sys | |
pygame.init() | |
pygame.camera.init() | |
x=0 | |
#create fullscreen display 640x480 | |
screen = pygame.display.set_mode((640,480),0) |
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 pygame | |
import pygame.camera | |
pygame.init() | |
pygame.camera.init() | |
#find, list cameras | |
cam_list = pygame.camera.list_cameras() | |
print(cam_list) |
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 PIL | |
from PIL import Image | |
import glob | |
import numpy as np | |
import tensorflow as tf | |
import os | |
import imghdr | |
# Load the data set | |
newwidth = 64 | |
newhieght = 64 |
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
;ANNA | |
; STARTED 20 September 2015 | |
; MODIFIED 17 July 2016 | |
__CONFIG _CP_OFF & _BODEN_OFF & _PWRTE_ON & _WDT_OFF & _XT_OSC & _LVP_OFF | |
list p=16f874A | |
#include p16f874A.inc | |
#include web.inc | |
; | |
;******************************************************************************* | |
;On start up goto setup |