Toan
Published

Python Face Recognition Web Service

While working on Camera Live Stream Service, I decided to add machine learning to this project.

IntermediateProtip4,029
Python Face Recognition Web Service

Story

Read more

Code

Code snippet #21

Plain text
from flask import Flask,Response,json
app = Flask(__name__)

@app route('/', methods=['GET'])
def home():
  return Response(json.dumps({"api": "1.0"}), status=200, mimetype='application/json')
 
if __name__ == "__main__":

  app.run()

Github

https://github.com/tabvn/face-recognition-service

Github

https://github.com/davisking/dlib

Credits

Toan
5 projects • 12 followers
I 'm Toan, I love programming, coffee and spending my free time teaching myself new skills.

Comments