1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 02:16:34 +08:00
Commit Graph

14 Commits

Author SHA1 Message Date
berak
102c80a2c9 remove some non-ascii symbols 2017-12-05 18:02:15 +01:00
sukhad-app
bccbec79fd Merge pull request #1199 from sukhad-app:face_alignment
Face alignment (#1199)

* This commit will add a new functionality of one millisecond face_alignment to OpenCV.
Face alignment is a computer vision technology for identifying the geometric structure of human faces in digital images.
Given the location and size of a face, it automatically determines the shape
 of the face components such as eyes and nose.
Added following functions :
 1) Application to train a face landmark detector.
 2) Application to detect face landmarks using a trained model.
 3) Application to swap faces using face landmark detection
 4) Application to detect landmarks in a video.
Merged the code with a global facemark API.
Added Doxygen Documentation for the Class created.
Added tutorials for the samples added.
Added visualisations depicting error rate and training time.

Made desired changes

fix

fix

fix

fix

fix

fix

fix

fix

fix

* face: drop duplicated file

-face_alignmentImpl.hpp
+face_alignmentimpl.hpp

* face: minor refactoring

- replace license headers
- fix usage of "precomp.hpp"
2017-11-03 12:36:23 +03:00
kurnianggoro
e85a802a90 Merge pull request #1257 from kurnianggoro:facelandmark
GSOC17 - Facemark API (#1257)

* Initial commit of facemark API

Initial structure of the facemark API and AAM header

* make training function as virtual

* Add: dataset parser

* Bug fix: clear the container before add points

* Add: AAM training - procrustes analysis

* Add AAM model

* Added training function for AAM

* Building bot fixes: remove training overload, explicit cast to float for atof

* + add dependency: imgcodecs

* Build bot fixes: add imgproc.hpp and type casting

* Building bot fix: type casting

* fixing the AAM training to match with Matlab version

fewer model parameters, change the image warp method, change the feature extraction method

* add: AAM fitting

added several functionalities for fitting

* fix warings

* Add: transformation for the initial fitting

* add sample file for aam implementation

* fix warning

* Add LFB Header

* loadTrainingData: Throw an error message if file not exist

* add: LBF prepare training data

* add: data augmentation

* change to double

* add: getMeanShape

* shuffling the dataset and parameters initialization

* add: initial structure of LBF class

* add: getDeltaShapes

Difference between the current shape and the desired shape

* add: random forest training

* generate lbf features

* global regression

* save training data

* fix the parameter initialization

* set the default parameters

* add: initial version of lbf sample

* update the current shape

* compute error

* add: prediction function

* fix some warnings

* fitting function

the result is mis-aligned, shuould be double checked

* add: fitting in the demo

* add dependencies

* Add: tutorial

* add: load model

* fixing training

* use user defined face detector

* Documents, tests, and samples

* Allow custom parameters

* Cleaning up

* Custom parameters for default detector, training, and get custom data

* AAM scales

* minor fixes , update the opencv_extra files

* change path to lbp cascade

* face: avoid memory leaks

* utilize the filestorage for the model, fixing some minor issues

* remove the liblinear dependency

* fix the aam test, avoiding to write any files

* use RNG and changes the test files
2017-10-27 16:49:10 +03:00
berak
8d9a3e431d face: minor cleanup after #1239 2017-06-25 10:39:25 +02:00
Vladislav Sovrasov
087210de0d face: refactoring of factory methods 2017-06-20 15:14:09 +03:00
Yuki Furuta
ddce0d9df8 [face.hpp] add virtual method setThreshold for FaceRecognizer class 2016-10-04 18:24:28 +02:00
Yuki Furuta
6e1bdab176 [face.hpp] fix typo 2016-10-04 18:23:53 +02:00
Maksim Shabunin
48903ef96d Added python aliases for face predict overloaded functions 2016-04-22 12:14:07 +03:00
comdiv
9ff3192ea5 Custom handling of FaceRecognizer results
predict method rewritten to use with PredictCollector interface (abstract class)
now face recognizer allow to perform different scenarios of result handling
2015-12-08 10:13:57 +05:00
Vadim Pisarevsky
ec2b3ed662 Merge pull request #185 from mshabunin/remove-docs
Removed sphinx documentation
2015-03-16 13:07:31 +03:00
Maksim Shabunin
61f36de542 Doxygen tutorials support 2015-02-17 12:49:37 +03:00
Maksim Shabunin
34131405df Removed some methods from cv::Algorithm and changed ml module interfaces 2015-02-17 11:45:57 +03:00
Maksim Shabunin
a20c5c8dd9 Doxygen documentation for all modules 2014-12-01 15:54:42 +03:00
Vadim Pisarevsky
cd0569a3fe added face module (created from the parts of the old "contrib") 2014-08-10 01:55:54 +04:00