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
#!/usr/bin/env python3 | |
# Copyright 2023-2024 NXP | |
# SPDX-License-Identifier: MIT | |
import cv2 | |
import tensorflow as tf | |
import ai_edge_litert.interpreter as lite | |
import numpy as np | |
import time | |
import random |
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
from vision import video_process | |
import argparse | |
from multiprocessing import Process | |
DEFAULT_OBJECT_DETECTOR_TFLITE = "yolov4-tiny_416_quant.tflite" | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser() | |
parser.add_argument( |