Skip to content

Instantly share code, notes, and snippets.

View weltmeyer's full-sized avatar

Jan Weltmeyer weltmeyer

View GitHub Profile
# Start the server:
# python3 coral-app.py
# Submit a request via cURL:
# curl -X POST -F image=@face.jpg 'http://localhost:5000/v1/vision/detection'
from edgetpu.detection.engine import DetectionEngine
import tensorflow as tf
import argparse
from PIL import Image
import flask