Skip to content

Commit 11ee1ea

Browse files
committed
Add a note about docker to README.md
1 parent 1d1443a commit 11ee1ea

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,15 @@ depending on a black box library, [read my article](https://medium.com/@ageitgey
212212
* The face recognition model is trained on adults and does not work very well on children. It tends to mix
213213
up children quite easy using the default comparison threshold of 0.6.
214214

215+
## Deployment to Cloud Hosts (Heroku, AWS, etc)
216+
217+
Since `face_recognition` depends on `dlib` which is written in C++, it can be tricky to deploy an app
218+
using it to a cloud hosting provider like Heroku or AWS.
219+
220+
To make things easier, there's an example Dockerfile in this repo that shows how to run an app built with
221+
`face_recognition` in a [Docker](https://www.docker.com/) container. With that, you should be able to deploy
222+
to any service that supports Docker images.
223+
215224
## Common Issues
216225

217226
##### Issue: `Illegal instruction (core dumped)` when using face_recognition or running examples.

0 commit comments

Comments
 (0)