freesouls / face-alignment-at-3000fps

The project is an C++ implementation of Face Alignment at 3000fps via Regressing Local Binary Features
283 stars 145 forks source link

getSimilarityTransform得到的rotation是谁对谁的? #19

Open Turlan opened 6 years ago

Turlan commented 6 years ago

我单独把getSimilarityTransform的程序来出来跑了一下,发现得到的rotation是 shape_to rotation = shape_from 从代码里来看,注释写的是 // get the rotation and scale parameters by transferring shape_from to shape_to, shape_to = Mshape_from 但是regressor.cpp 108这一段:
regression_targets[i] = ProjectShape(augmented_ground_truth_shapes[i], augmented_bboxes[i])