blob: 1babc375ed0ade486af294d7cb1390e5d93a4418 [file] [log] [blame]
"""A demo which runs object detection and streams video to the browser."""
# export TEST_DATA=/usr/lib/python3/dist-packages/edgetpu/test_data
#
# Run face detection model:
# python3 -m edgetpuvision.detect_server \
# --model ${TEST_DATA}/mobilenet_ssd_v2_face_quant_postprocess_edgetpu.tflite
#
# Run coco model:
# python3 -m edgetpuvision.detect_server \
# --model ${TEST_DATA}/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite \
# --labels ${TEST_DATA}/coco_labels.txt
from .apps import run_server
from .detect import add_render_gen_args, render_gen
def main():
run_server(add_render_gen_args, render_gen)
if __name__ == '__main__':
main()