From e8a23ff2f1c92bb21cba1ba6289cff1ffc092989 Mon Sep 17 00:00:00 2001 From: Symisc Systems Date: Wed, 9 Jan 2019 00:25:50 +0100 Subject: [PATCH] Usage instruction of the WebAssembly face detector model --- WebAssemby/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 WebAssemby/README.md diff --git a/WebAssemby/README.md b/WebAssemby/README.md new file mode 100644 index 0000000..dc78d08 --- /dev/null +++ b/WebAssemby/README.md @@ -0,0 +1,19 @@ +Frontal face detector, **WebAssemby model** pre-trained on the Genki-4K datatset for **Web oriented applications**. +The model is production ready, **works at Real-Time on all modern browsers (mobile devices included)**. Usage instruction already included in the package. + +The model must be downloaded from https://pixlab.io/downloads. Once downloaded, just put it on the directory where the HTML file `usage.html` reside. + +When you deploy the Webassembly face model on your server, make sure +your HTTP server (Apache, Nginx, etc.) return the appropriate MIME type +for the `wasm` file extension. Under Apache, simply put the following +directives on your .htaccess or Virtual host configuration: + +**AddType application/wasm .wasm** + +**AddOutputFilterByType DEFLATE application/wasm** + + +For chrome users, you must test the model on actual Web server, +whether served locally (i.e http://127.0.0.1) or remotely. +This is due to the fact that chrome does not allow WebAssembly +modules to be loaded directly from the file system ( Edge and Firefox does not have such issue).