![]() import picamera.array import picamera import cv2 import numpy as np import os from imutils.object_detection import non_max_suppression from imutils import paths import imutils import time import pygame from pygame.locals import * import sys import random # ESC key to Exit Program # def event_handler(): for event in (): if event.type = QUIT or (event.type = KEYDOWN and event.key = K_ESCAPE): pygame.quit() sys.exit() # The Main Loop # def main(): # setup for Camera and OpenCV # Start the Camera # camera = picamera.PiCamera() stream = (camera, size=(640, 480)) # set the resolution I used 640x480 so I could use 36 Pictures # camera.resolution = (640, 480) # Set frame rate at 16 to reduce the stress on the Raspberry Pi # amerate = 16 # set the inital values of the tracking variables # motionCounter = 0 avg = None cntSleep = 0 imgNum = 1 # setup for Pygame # import the Ghost images. ![]() Note that python is a very specific TAB syntax you will need to use the included file. I also glued a board across the bottom to hold down the bottom of the monitor assembly.I chose to glue them down to the baseboard at this time and used regular clamps to hole them in place.I placed the LCD into it position so that the Board were square and then removed them once the corner clamps were in place. Once you have the 4 boards cut use the wood glue and corner clamps to attach them together.Cut 4 pieces of the 4x1 boards so that they will lineup and allow the LCD panel to fit snugly.Now we need to create back pieces to cover the Electronics and hold everything in. Use wood glue and corner clamps to assemble the frame.I made the sides 3 inches longer so that I could hide the camera behind the mirror. The top and bottom pieces inside edge should be 1 1/2 inches longer than the screen. The depth of the cut should be the width of the mirror so that it doesn't move once the LCD is behind it. I did this to get an even edge along the entire edge of the board. Use the router to cut a groove along the entire inside edge of the baseboard.Once you get the monitor disassembled measure the outside edges. You will first need to remove the LCD panel from the plastic case.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |