def __init__(self):
        self.IMAGE640 = Image("640Background.jpg")
        self.IMAGE1024 = Image("BlackBackground.gif")
        self.IMAGE960 = Image("960x720.jpg")

        self.BACKGROUND_IMAGE = self.IMAGE960

        self.screen = Show_images()
Exemplo n.º 2
0
 def __init__(self):
     self.IMAGE960 = Image("960x720.jpg")
     self.BACKGROUND_IMAGE = self.IMAGE960
     self.screen = Show_images()
Exemplo n.º 3
0
# Scanning software has to be in "Controller folder"
# Calibration files have to be in  "Controller folder/Calibration_files".
import math
import sys  # Only for RPI

sys.path.append('/home/pi/MCS_Software')  # Only for RPI

from SimpleCV import *
from Demonstration.show_images import Show_images

screen = Show_images()
# disp = Display((960, 720))  #((1024, 768))   640,480                           # Create a display

IMAGE640 = Image("640Background.jpg")
IMAGE1024 = Image("BlackBackground.gif")
IMAGE960 = Image("960x720.jpg")
BACKGROUND_IMAGE = IMAGE960


# Start of calibration
def start_scanning_image():
    img = BACKGROUND_IMAGE

    img.dl().setFontSize(70)
    img.dl().text(
        "Coolant valve handle detection",
        (110, img.height / 3),
        # (img.width, img.width),
        color=Color.WHITE)
    img.dl().text(
        "Press Enter",