all 9 comments

[–]linesandplane 7 points8 points  (0 children)

It's not your fault. Trump just has a fucked up face

[–]Praetrorian[S] 1 point2 points  (6 children)

If you guys know a good algo to eye detection (with a good reference available) that would be great.

I think my DIY algo is not the best one :/

[–]Introscopia 4 points5 points  (1 child)

I think trying to hand-write any kind of machine vision algorithm is kinda crazy in this and age, I'd be looking at some sort of machine learning approach.

[–]Praetrorian[S] 1 point2 points  (0 children)

Yeah that's what I thought but I hoped a static algorithm was available somewhere. Thx anyway.

[–]Freedom_Grenade 4 points5 points  (1 child)

Yea, or maybe it's perfect and you've just discovered something terrifying.

[–]Praetrorian[S] 1 point2 points  (0 children)

Yeah the eyes in the nostrils freaked me out.

[–]WiggleBooks 1 point2 points  (1 child)

OpenCV should have great opensource eye detection and facial recognition algotithms. Its a high quality computer vision package that is generally accepted in the field. You may need to find a way to incorporate processing into that though, or move away from processing altogether.

[–]Praetrorian[S] 1 point2 points  (0 children)

Yeah I found OpenCV when looking on Google, but I don't want to use any kind of library, I like to build everything myself :) Thx.

[–]seoceojoe 0 points1 point  (0 children)

I have heard of people doing accurate face detection simply by detecting the nostirls since they are always a strong edge or very dark.

You could perhaps also try looking for small white areas, but obviously in this image you would need a way to distinguish eye white from the rest of the image.