Can somebody help me with face alignment code error?

1 次查看(过去 30 天)
When i run the code on my images it works perfectly on some but it gives me the error below on some.. how can i fix that?
Attempted to access bbox(3); index out of bounds because numel(bbox)=0.
Error in InitShape (line 18) a = 0.80*bbox(3)/(max(rshape(1:n))-min(rshape(1:n)));
Error in Demo (line 43) test_init_shape = InitShape(bbox,refShape);
  5 个评论
Akshay
Akshay 2014-6-17
matlab face detection fails on some images. you need better face detection. try face detection from https://sites.google.com/site/akshayasthana/clm-wild-code
Misrak Seifu
Misrak Seifu 2014-6-17
That is what am using but it still don't work on some of my images. it doesn't even detect some of my images i don't know why

请先登录,再进行评论。

回答(1 个)

Mahmood ul haq
Mahmood ul haq 2017-12-17
can you please share your code with me. my email mahmoodfarooqi@ciit.net.pk

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by