zweigraf / face-landmarking-ios

👦 Basic face landmarking on iPhone with Dlib via Swift & ObjC++
481 stars 125 forks source link

Simplify dlib convert calculation #9

Closed morizotter closed 8 years ago

morizotter commented 8 years ago

Hi, I simplified dlib convert calculation. I found solution in This FAQ.

With this change, it will be enabled to get portrait face location for example, connection.videoOrientation = .Portrait.

zweigraf commented 8 years ago

Amazing! Will have a look at it later, but it looks good from my side :)

zweigraf commented 8 years ago

I did not find time to look into it, but I am pretty sure this is correct code, so I am just gonna merge it. Thanks for your contribution :)

morizotter commented 8 years ago

It's okay! Thanks for your implementation! It helped me to work dlib on iOS!