Prevent fatal exit cuased by missing imports #8
5
main.py
5
main.py
@ -1,9 +1,7 @@
|
||||
|
||||
from time import sleep
|
||||
from PIL import Image
|
||||
import os
|
||||
import serial
|
||||
import sys
|
||||
import os
|
||||
import json
|
||||
import datetime
|
||||
|
||||
@ -11,6 +9,7 @@ try:
|
||||
import numpy as np
|
||||
from picamera import PiCamera
|
||||
from picamera.array import PiRGBArray
|
||||
import serial
|
||||
import cv2
|
||||
|
||||
except Exception as ex:
|
||||
|
Loading…
Reference in New Issue
Block a user