https://bugs.kde.org/show_bug.cgi?id=372340

--- Comment #18 from Chandra Kant <chandra.kant.ee...@itbhu.ac.in> ---
We can rotate face by this function
void rotate(cv::Mat& src, double angle, cv::Mat& dst)
{
  int len = max(src.cols, src.rows);
  cv::Point2f pt(len / 2., len / 2.);
  cv::Mat r = cv::getRotationMatrix2D(pt, angle, 1.0);
  cv::warpAffine(src, dst, r, cv::Size(len, len));
}
So that we can improve face detection by aligning faces.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to