Prevent fatal exit cuased by missing imports #8

Closed
Hesham wants to merge 1 commits from fix-imports into master

View File

@ -1,9 +1,7 @@
from time import sleep from time import sleep
from PIL import Image
import os
import serial
import sys import sys
import os
import json import json
import datetime import datetime
@ -11,6 +9,7 @@ try:
import numpy as np import numpy as np
from picamera import PiCamera from picamera import PiCamera
from picamera.array import PiRGBArray from picamera.array import PiRGBArray
import serial
import cv2 import cv2
except Exception as ex: except Exception as ex: