Skip to content

Instantly share code, notes, and snippets.

denstilwell

Block or report user

Report or block denstilwell

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@denstilwell
denstilwell / pygame_cam.py
Created Jul 16, 2017
test_cameras pygame_cam.py
View pygame_cam.py
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)
View check_for_cameras.py
import pygame
import pygame.camera
pygame.init()
pygame.camera.init()
#find, list cameras
cam_list = pygame.camera.list_cameras()
print(cam_list)
View resize_image.py
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
View Ann main board code.asm
;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
You can’t perform that action at this time.