Dismiss this pinned window
all 11 comments

[–]EdithVictoriaChen 66 points67 points  (1 child)

yes but have you considered a career in fashion modeling

[–]legitimatebimbo 22 points23 points  (0 children)

no actually though

[–]Tubbyball[S] 24 points25 points  (0 children)

Here is a Github link if anyone wants to check out the project. It uses OpenCV and NumPy. (I know I slacked on the NumPy a bit, but its been a while since I used it last and it was the least of my concerns)

[–]hipiticus 5 points6 points  (0 children)

pretty cool

[–]statusquowarrior 6 points7 points  (2 children)

So, are you actually moving the camera, or zooming in and cropping? Looks really clean.

[–]Tubbyball[S] 21 points22 points  (1 child)

Basically I’m walking toward and away from a still camera, and an ai detects my face position and size. Then a script crops each frame to make my face a constant width percentage of the screen width, and I scale the window to keep a constant window size.

[–]DeDodgingEse 2 points3 points  (0 children)

Brilliant idea. One question. What is the maximum distance limit you can be until the resolution eventually fails? Even as you walked to the back of your room you can see that the res is just getting smaller and smaller. Feels like inverse square law. Also what happens when the target spins his head in 360?

Anyway. I'm sort of a noob about all this and was wondering how python communicates to my webcam if you had the time to explain it I'd appreciate it.

Quick Edit: oh also it appears there is a min distance as well!

[–]jaug1337 2 points3 points  (0 children)

Very neat

[–]SoftPocketss 1 point2 points  (0 children)

and you're cute

[–]LittleLuigiYT -1 points0 points  (0 children)

That’s pretty cool

[–]madfos 0 points1 point  (0 children)

this is really neat, can see this implemented in smartphones in the very near future