pico icon indicating copy to clipboard operation
pico copied to clipboard

can't detect rotated face

Open muzipeng718 opened this issue 7 years ago • 7 comments

I can't detect rotated face, why?

muzipeng718 avatar Jan 11 '17 05:01 muzipeng718

they didnt give out the rotated model....

9crk avatar Jul 10 '17 03:07 9crk

@9rck No need to retrain a rotated model. I managed to get rotated face detection working with the provided model facefinder. Nothing special has been done, just remember the angle argument should be in range 0.0-1.0.

liberize avatar Jul 20 '17 06:07 liberize

@liberize can you pls tell me how to use this argument? I tried to add -a 0.0-1.0 and it's not work.

9crk avatar Jul 24 '17 08:07 9crk

@9crk I didn't test the sample program, instead, I used the code directly in my own project. Here is some code snippets, hope it might help: https://gist.github.com/liberize/6672f53abfa871ba520c28d37365a939 PS: I modified the cluster_detections interface and added some code to get in-plane rotation angle.

liberize avatar Jul 24 '17 09:07 liberize

I have to say, the result is not good. Some problems I have discovered:

  1. the angle calculated with maximum total quality as I did in the code above is wrong sometimes.
  2. the face rect is not accurate, sometimes too small only part of face, sometimes false positive, ...

I also tried to train a new model with part of ibug 300w dataset, still not good.

liberize avatar Jul 24 '17 09:07 liberize

额。。都是中国人啊。。。

9crk avatar Jul 25 '17 09:07 9crk

@liberize could you like to show us your cluster_detections code?

vvhh2002 avatar Jan 16 '18 16:01 vvhh2002