OpenCV-REST-API
OpenCV-REST-API copied to clipboard
Learn to create a REST API microservice for extracting faces from images using OpenCV, OpenCV-python, Flask, Docker, and Heroku
OpenCV REST API
Extract faces from any image by building a REST API microservice using OpenCV
Code upgraded for Python 3.10
Lesson Code
Lessons 1-3: no significant code added
4 - Hello World with Flask and Gunicorn
5 - Storage Dirs Config
5 - Storage Directories
6 - Serve Static Files
7 - Allowed File Extensions
8 - API Upload View
8 - API Upload View
9 - Python Requests Uploader Module
10 - Save File Uploads
11 - File Upload Handler
12 - Display Image via OpenCV
13 - Loading HaarCascades
14 - Extracting Faces with OpenCV
15 - Faces Extract Utility Function
16 - OpenCV Upload & Extract View
17 - Serving Static Files from Local Path
18 - Serve Faces Output as Live URL
19 - Deploy to Heroku via Docker
20 - Thank you: no significant code added