Commit Graph

733 Commits

Author SHA1 Message Date
Brandon Amos 92d61fdd53 Add dlib-models to licenses. 2019-11-26 10:55:02 -05:00
Thart310 cff4f882f2 Update openface-demo.js 2019-06-24 07:41:31 -04:00
rasbt c2d3b2df05 fix typo in acknowledgements section 2018-06-18 10:56:55 -07:00
Lex Toumbourou 4d205fcd1b Set autoplay to muted so it works consistently. 2018-06-07 18:16:31 -07:00
Lex Toumbourou 0c07bba31e Fix deprecated method in web demo. 2018-06-07 17:55:37 -07:00
Anton Oellerer cb0de2ce66 Update classifier.py
Updating import to fix deprecation warning
2018-06-07 17:55:19 -07:00
Brandon Amos bb377aac51 Mention inconsistencies between the pre-trained models and the model definitions for #351 and #349 2018-03-01 19:03:55 -05:00
Paolo Tagliaferri c1d800f657 Added bounding box drawing to video capture 2018-01-28 15:59:21 -05:00
GISDev01 80ca76eea5 Add example of how to call the script to generate an annotated image 2018-01-28 15:23:41 -05:00
GISDev01 563668586b Bugfix on external class reference 2018-01-28 15:23:41 -05:00
Brandon Amos ca315e2744 Init stalebot. 2017-11-18 09:13:24 -05:00
Stijn Balk ac4ded4b3e add packages for 'Demo 1: Real-Time Web' to work 2017-06-08 11:57:46 +01:00
Stijn Balk 006517593a Add installation instructions for installation with conda 2017-06-02 00:33:13 +01:00
montag 268d2c465e Docker config changes supporting TLS (part 2). This fixes an issue with pip and some of the dependent libraries. 2017-05-02 09:08:43 -04:00
montag 47afcbf35a Tls cert bugfix (#262)
* Bugfix for systems that cannot generate openssl certs. Includes self-signed certs that expire in 10 years. Removed automatic cert generation from install-deps.sh. Updated create-cert.sh to manually generate 10year certs (or any custom duration).

* Docker config changes to support web demo TLS
2017-05-01 13:40:54 -04:00
montag 37ba2ac982 TLS migration for demos/web (#260)
What does this PR do?

Minimally invasive migration to TLS for the http (8000) and websocket (9000) endpoints for the real time web demo.

Where should the reviewer start?

Install the demo like a normal install. During the install-deps.sh script it will prompt for questions to generate a local self-signed cert. Anything can be entered into the cert. Start the demo as normal but connect on https://domain:http_port instead of http.

How should this PR be tested?

The first step is the cert generation (added to install-deps.sh for convenience). The second step is ensuring the two endpoints are brought up. The next step is loading the web page and accepting the self-signed cert. Reloading the web app everything should now be secure, e.g. no errors or warnings and the video works as normal.

Any background context you want to provide?

I tried to be as minimal as possible so the changes tends to follow the existing structure rather than a refactor of anything major. With that said, SimpleHTTPServer doesn't work with TLS via the -m flag so that is now a short script. I updated all the html/js files to point to https/wss. I also updated the js for Firefox's change from navigator.mozGetUserMedia to navigator.mediaDevices.getUserMedia.

What are the relevant issues?

#75

Questions:

Do the docs need to be updated?
Yes. I updated the script's docs in demos/web but didn't make any changes outside of demos/web

Does this PR add new (Python) dependencies?
I don't think so.
2017-04-28 06:05:12 -04:00
Christopher Baker 07fb4c79b5 Update opencv-dlib-torch.Dockerfile (#241) 2017-04-24 17:56:35 -04:00
Brandon Amos fe8f73eb69 Tests: Generalize to Python 2 and 3. Run Python 2 by default. 2017-04-24 18:01:10 -04:00
Andrew 71ee6ee747 Make OpenFace work with Python 3 (#231)
* Make OpenFace Python 3 compatible, retaining Python 2 compatibility.
Tests could be parameterised to test for either Python 2 or 3.
Tests currently fail due to different library calculation outcomes?

* Tiny change to remove the dependency on nosetest3.

* Dockerfile updates for OpenFace + Python3 + Dlib19.2 + OpenCV3.2

* Revert "Dockerfile updates for OpenFace + Python3 + Dlib19.2 + OpenCV3.2"

This reverts commit ec08fc9226.

* Change for python2 backwards compatibility

* Change for python2 backwards compatibility

* Change to ensure python2 backwards compatibility

* Change to ensure python2 backwards compatibility
2017-04-24 17:50:16 -04:00
Haroen Viaene 9c02f78a86 nit(README): use svg for travis status (#254)
This looks better and is lower data 😄
2017-04-07 13:26:30 -04:00
Brandon Amos d1fcf1c46d
Update README tags for CommonMark. 2017-03-27 02:15:37 -04:00
Brandon Amos 96b45fd0eb
Use https for the model downloads. 2017-02-07 13:43:42 -05:00
Brandon Amos ec25aecb0d
Travis: Update models download link. 2017-02-07 12:16:35 -05:00
Brandon Amos 320cf3d728
Update links to our models. 2017-02-07 11:56:49 -05:00
Brandon Amos 6848378f40
get-models: Use no-check-cert for our self-hosted models. 2017-02-07 11:33:01 -05:00
Brandon Amos 4ee2cd34fe
Travis: Use trusty dist. 2017-02-07 11:29:38 -05:00
Brandon Amos ccb9b8ec11
Travis: Remove flake, pep, and luacheck. 2017-02-07 11:23:19 -05:00
Brandon Amos b84b7c67f2
Torch Neural Net: Add deconstructor back. 2017-01-07 18:39:26 -05:00
Alex f9764b9c5d Replace destructor with context manager (#223)
* Make TorchNeuralNet a context manager.

Add __enter__/__exit__ method to kill Torch subprocess

* Update doc for the TorchNeuralNet

* Fix code snippets

* Update doc for enter/exit methods

* Format docstring for enter/exit methods
2017-01-07 18:37:23 -05:00
Brandon Amos 7659f7907d
Add @BrandonJoffe's home_surveillance project to our homepage. 2016-11-04 13:22:51 -04:00
Brandon Amos 6343e40441 Add docs to torch_neural_net.__del__ 2016-10-21 09:37:41 -04:00
Brandon Amos 0b6b22313e Add destructor to torch_neural_net for #194 2016-10-21 07:47:42 -04:00
Brandon Amos 4d0280557c Revert "Update tests to use numpy.testing"
This reverts commit 882109c141.
2016-10-16 01:32:00 -04:00
Brandon Amos 882109c141 Update tests to use numpy.testing 2016-10-15 18:22:40 -04:00
Brandon Amos 1267e1abb3 Fix the data type image.load
Thanks Daniil Belkov!

`byte` was defaulting to `"float"`
2016-10-07 14:27:21 -04:00
NMA 041c90f0c1 Added --multi option to infer operation to show a list of faces detected (#189)
* Added --multi option to infer operation to show a list of faces detected in image

* Added testing for infer --multi demo
2016-09-22 06:51:04 -04:00
Ullallulloo 35c99507a6 Added further extension variation acceptance and made extensions properly case insensitive (#188) 2016-09-20 08:36:43 -04:00
Brandon Amos 97f30d5d05 Update sphere demo page. 2016-09-15 09:30:09 -04:00
Brandon Amos 3f8067731d webcam -> camera 2016-09-15 09:02:26 -04:00
Brandon Amos b423779eb1 Bump date. 2016-09-15 08:49:50 -04:00
Brandon Amos 7f6413fca9 Remove unused code. 2016-09-15 08:43:43 -04:00
Brandon Amos bb64d6917e Add sphere demo docs. 2016-09-15 08:43:39 -04:00
Brandon Amos 8bc8227937 Add sphere demo gif. 2016-09-15 08:01:39 -04:00
Brandon Amos 6b453b0b00 sphere demo: Add link to model download. 2016-09-15 08:01:26 -04:00
Brandon Amos f8e37ad8cd Split exhibit images. 2016-09-11 12:35:22 -04:00
Brandon Amos 0b2f07127d cls-3d -> sphere 2016-09-11 12:27:04 -04:00
Brandon Amos 4f6c65bf3c Add data (after)lives poster. 2016-09-11 12:16:43 -04:00
Brandon Amos 909a431db2 Update exhibits.png 2016-09-11 12:15:22 -04:00
Brandon Amos 465fdefc81 Add sphere demo images. 2016-09-11 12:11:25 -04:00
Brandon Amos 1745b19dfa
cls-3d: Fix pep warnings. 2016-09-02 14:27:42 -04:00