当前位置: 首页 > news >正文

榆林市网站建设_网站建设公司_MongoDB_seo优化

手机网站设计公司立找亿企邦,做cpa的网站源码,炫酷一些的网站,南京 招网站开发测试很简单了#xff0c;只需要载入数据#xff0c;然后做正则化处理#xff0c;使用训练模型产生的{Rk},就可以预测特征点了。 face_alignment.m:用来预测特征点 function shape face_alignment( ShapeModel, DataVariation,...LearnedCascadedModel, Data, img, shape,…测试很简单了只需要载入数据然后做正则化处理使用训练模型产生的{Rk}\{R_k\},就可以预测特征点了。 face_alignment.m:用来预测特征点 function shape face_alignment( ShapeModel, DataVariation,...LearnedCascadedModel, Data, img, shape, options )%% setup the fixed parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% nData length(Data); shapeDim size(ShapeModel.MeanShape,1); n_init_randoms_test options.n_init_randoms_test;MeanShape2 vec_2_shape(ShapeModel.MeanShape);aligned_shape zeros(n_init_randoms_test,shapeDim);%% detect the face region using face detectors or ground-truth %%%%%%%%%%%% %% if using ground-truthboxes detect_face( img , options ); %% predict the face boxbbox2 get_correct_region2( boxes, shape,img, 1 ); bbox [];if isempty(bbox)%% if using ground-truthbbox getbbox(shape); end%% randomize n positions for initial shapes [rbbox] random_init_position( ...bbox, DataVariation, n_init_randoms_test ); [rbbox2] random_init_position( ...bbox2, DataVariation, n_init_randoms_test ); %% randomize which shape is used for initial position rIdx randi([1,nData],n_init_randoms_test);%% iterations of n initial points %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% for ir 1 : n_init_randoms_test%% get random positions and inital shape indexsidx rIdx(ir);init_shape Data(idx).shape; %% get randomly shape from otherscbbox rbbox(ir,:);cbbox2 rbbox2(ir,:);%init_shape resetshape(cbbox, init_shape);init_shape resetshape(cbbox, MeanShape2);init_shape2 resetshape(cbbox2, MeanShape2);%test box between ground-truth and face detectorif 0figure(1); imshow(img); hold on;draw_shape(init_shape(:,1), init_shape(:,2),r);draw_shape(init_shape2(:,1), init_shape2(:,2),g);hold on;rectangle(Position, cbbox, EdgeColor, y);rectangle(Position, cbbox2, EdgeColor, k);hold off;pause;end%% detect landmarks using cascaded regressionaligned_shape(ir,:) cascaded_regress( ShapeModel, ...LearnedCascadedModel, img, init_shape, options );end if n_init_randoms_test 1shape vec_2_shape(aligned_shape); elseshape vec_2_shape(mean(aligned_shape)); endend我们来看一下效果
http://www.ihoyoo.com/news/25989.html

相关文章:

  • 祁连网站建设公司新乡哪有网站建设公司
  • wordpress+做仿站锦州网站建设锦州
  • vs 2010 网站建设网站设计用的技术
  • 网站建设陆金手指下拉壹玖内推网
  • 蓝潮网站建设郴州公司做网站
  • iis上做的网站外网怎么访问不了wordpress 源码下载主题
  • 专注集团网站建设谷歌网页版入口
  • 网站开发公司哪里好北京seo报价
  • 网站建设需要的费用萍乡做网站的公司有哪些
  • 毕业设计用PHP做旅游网站网页设计如何设计导航栏
  • 网站制作 昆明工程交易中心
  • 链家网的网站开发费用大概多少钱网站建设网络拓扑
  • 飞狐小说网站建设网上做兼职网站
  • 个人买卖网站怎么做网站搜索引擎优化主要方法
  • 电子商务网站的数据库怎么做可以做交互的网站
  • 百度手机网站建设企业作风建设心得体会
  • 手机能用的网站泾川县建设局网站
  • 芜湖手机网站开发宝塔和WordPress一样吗
  • 江苏公司网站建设公司wordpress zzt
  • 营销网站制作哪家有名网站整站下载带数据库后台的方法
  • 网站系统与网站源码的关系汽车之家手机官网首页
  • 网站做推广页需要什么软件下载广州网站推广电话
  • 充电网站建设方案好看手机网站推荐
  • 网站推广公司渠道成都专线运输电话
  • 网络营销网站功能广州建设诚信评分网站
  • 网站主题网dw制作网页版面教程视频
  • 怎么做淘宝网站教程自驾游网站建设
  • 重庆企业网站设计维护请人做ppt的网站
  • 福州网站建设策划方案下载大连建设网官方网站
  • cod建站平台广告联盟哪个比较好