Can somebody help me with face alignment code error?
Show older comments
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 Comments
Misrak Seifu
on 16 Jun 2014
Misrak Seifu
on 16 Jun 2014
Akshay
on 17 Jun 2014
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
on 17 Jun 2014
Answers (1)
Mahmood ul haq
on 17 Dec 2017
0 votes
Categories
Find more on Face Detection in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!