MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / getFaceFeaturePoints

Function getFaceFeaturePoints

jni/venus/region_operation.cpp:379–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379std::vector<Point2f> getFaceFeaturePoints(const std::string& face, const std::string& datadir, Point& size)
380{
381 cv::Mat1b image = cv::imread(face, CV_LOAD_IMAGE_GRAYSCALE);
382 if(!image.data)
383 {
384 printf("Cannot load %s\n", face.c_str());
385 return std::vector<Point2f>();
386 }
387
388 size = Point(image.cols, image.rows);
389 cv::Mat _image = image;
390 return getFaceFeaturePoints(_image, face, datadir);
391}
392
393std::vector<Point2f> getFaceFeaturePoints(const std::string& face, const std::string& datadir)
394{

Callers 1

cloneFaceFunction · 0.70

Calls 7

stasm_search_singleFunction · 0.85
stasm_lasterrFunction · 0.85
circumcircleFunction · 0.85
angleFunction · 0.85
rotateFunction · 0.85
catmullRomSplineFunction · 0.85

Tested by

no test coverage detected