arsfutura / face-recognition

A framework for creating and using a Face Recognition system.
BSD 3-Clause "New" or "Revised" License
145 stars 49 forks source link

CORS support for backend API #10

Open havingfun opened 4 years ago

havingfun commented 4 years ago

I used the framework to create a small app for Celebs face detection, but faced problems using the API due to CORS issue. I forked the code to create Flask CORS to support that. But do you think that it will be good addition to enable CORS? My change - https://github.com/havingfun/face-recognition/blame/bb27a158014163b00d760c305fa49d0728050144/api/app.py

ldulcic commented 4 years ago

@havingfun sure! Send me a PR!