This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from edgetpu.detection.engine import DetectionEngine | |
from PIL import Image | |
from picamera.array import PiRGBArray | |
from picamera import PiCamera | |
import argparse | |
import time | |
import cv2 | |
# construct the argument parser and parse the arguments | |
ap = argparse.ArgumentParser() | |
ap.add_argument("-m", "--model", required=True, |