Commit Graph

29 Commits

Author SHA1 Message Date
Anton Oellerer cb0de2ce66 Update classifier.py
Updating import to fix deprecation warning
2018-06-07 17:55:19 -07: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
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
Gu Wang 80014e0e97 Update classifier.py (#176)
* Update classifier.py

Add an option to train with grid search svm.

* Update classifier.py
2016-08-06 21:19:21 -04:00
Vijayenthiran Subramaniam fa2a3a5d20 Unknown people benchmarking with lfw dataset. (#171)
* Added few classifiers to demos/classifier.py; demos/classifier_test_train.py - for test train accuracy estimation; demos/classifier_webcam.py for webcam face recognition

* Two stage classifier in webcam demo

* Renamed classifier_test_train; cleaned up demos/classifier_webcam.py

* Initial commit of working unknown evaluation. Clean up pending

* Clean up lfw-classification-unknown.py and fix flake8 warnings
2016-07-28 14:38:14 -04:00
Brandon Amos 84576d252d Remove align_v2.
align_v2 manually computes the same affine transformation as align_v1
2016-07-15 15:14:58 -04:00
Dante Knowles 3e679b9fb9 Added align dlib v2 2016-06-07 20:26:28 +00:00
Brandon Amos 98c42a057c Add LDA option to the classifier. 2016-04-03 15:36:58 -04:00
Brandon Amos 2035eeb8a5 cls->clf 2016-03-18 16:19:08 -04:00
Brandon Amos 437603e45d Classification Demo: Fix typo and formatting. 2016-03-18 16:15:58 -04:00
Brandon Amos 3a5ce4e70a Add GMM option to the classification demo. 2016-03-18 15:26:40 -04:00
Brandon Amos cca19b4c6a Classification Demo: Output where classifier is saved to. 2016-03-18 14:53:33 -04:00
Brandon Amos c79cc4a73e Classification demo: Use a linear SVM with C=1 instead of grid search. 2016-02-19 14:18:02 -05:00
Brandon Amos 9d1bd99579 Update copyright notices.
sed -i "/[Cc]opyright.*2015.*Carnegie Mellon University/s/2015/2015-2016/;"  $(git grep '[Cc]opyright.*Carnegie Mellon University'  | sed 's/:.*//' | uniq)
2016-01-13 14:52:52 -05:00
Brandon Amos f96b206765 Use nn4.small2.v1 by default. 2016-01-12 15:46:57 -05:00
Brandon Amos 6246fada83 Update code to nn4.v2 for #55. 2016-01-07 18:28:11 -05:00
Brandon Amos e15d11fbd7 Finish API changes and inline Python docs for #73. 2015-12-30 13:14:30 -05:00
Brandon Amos 1f7b50efa2 Refactor Python interface. 2015-12-29 19:57:29 -05:00
Brandon Amos dceb6a910b flake8 improvements. 2015-12-24 11:45:00 -05:00
Brandon Amos e1a8ccbe37 Classifier Demo: Take multiple images on input. 2015-12-24 11:06:52 -05:00
Brandon Amos fbde622805 Demos: Remove sys.path appends and unused dlib imports. 2015-12-22 21:33:27 -05:00
Brandon Amos ec6aa45d89 System-wide install of dlib and OpenFace.
Resolves #11
2015-12-22 20:58:06 -05:00
Brandon Amos 1b9ad376ff Add timing information to classifier.py
Thanks @lucafeudi
2015-12-14 11:53:15 -05:00
Brandon Amos d6809b119e Update align-dlib with new alignment code for #50. 2015-12-08 17:04:57 -05:00
Brandon Amos 5e6977c8cd Classifier demo: Check the mode before checking classifierModel.
For #65.
2015-12-03 13:47:37 -05:00
Brandon Amos c48255a236 Add better error handling when the Torch model is passed as the classification model. 2015-11-24 09:57:33 -05:00
Brandon Amos 5ca23547fc Fix some pep8 warnings. 2015-10-12 11:30:29 -04:00
Brandon Amos 71be06d81e Tweak classifier.py interface and show usage in the README. 2015-10-11 17:35:50 -04:00
Brandon Amos 118b7c0d7a Add classification demo. 2015-10-11 16:58:58 -04:00