Ask Your Question
-2

ReProjection function?

asked 2017-01-10 15:50:08 -0600

danieln gravatar image

I pulled this project from here, (github : /freesouls/face-alignment-at-3000fps), and am trying to optimize the data loading of the program. I can't quite understand these few lines, however.

        // Face alignment
        cv::Mat_<uchar> tmp;
        gray.copyTo(tmp);
        cv::Mat_<double> current_shape = ReProjection(cas_load.params_.mean_shape_, bbox);
        // |current_shape| will be overwritten during the Predict call.
        cv::Mat_<double> res = cas_load.Predict(tmp, current_shape, bbox);
        for (int i = 0; i < res.rows; i++){
            cv::circle(frame, cv::Point2f(res(i, 0), res(i, 1)), 2, Scalar( 255, 255, 255 ));
        }

Nor could I find any reference to 'ReProjection' in the docuemntation, or CascadeRegressor... Other relevant lines:

        CascadeRegressor cas_load;
        Mat frame, gray;

Where might I find the appropriate documentation?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-10 21:28:13 -0600

Tetragramm gravatar image
edit flag offensive delete link more

Comments

Sorry! Very new to this.. Just discovered could search recursively thru the project

danieln gravatar imagedanieln ( 2017-01-20 01:27:55 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-01-10 15:50:08 -0600

Seen: 191 times

Last updated: Jan 10 '17