FaceTracking
FaceTracking copied to clipboard
VideoBox function
Hi Pawel and thanks for your tutorial.
However there is something I would be keen to have more explanation on.
The method func videoBox(frameSize: CGSize, apertureSize: CGSize) -> CGRect. Would you mind to explain the reasoning behind this method please?
Like how come the aperture size is (1000, 750) while I thought it would be smaller than the clean frame size due to its definition ("An image’s clean aperture is a region of video free from transition artifacts caused by the encoding of the signal" as explained here)
or like what's the reason of computing and using the viewRatio and apertureRatio.
Thanks