Ask Your Question

ReProjection function?

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

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;
        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

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

Tetragramm gravatar image

Um, really?

Did you even try?

edit flag offensive delete link more


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

danieln gravatar imagedanieln ( 2017-01-20 01:27:55 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 63 times

Last updated: Jan 10