This file contains hidden or 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
| import os, argparse, cv2, sys, time, numpy | |
| from tflite_runtime.interpreter import Interpreter | |
| from tflite_runtime.interpreter import load_delegate | |
| ''' | |
| Requirements: | |
| 1) Install the tflite_runtime package from here: | |
| https://www.tensorflow.org/lite/guide/python | |
| 2) Camera to take inputs | |
| 3) Install libedgetpu |