AIRLegend / aitrack

6DoF Head tracking software
MIT License
1.03k stars 102 forks source link

Add center weighted face detection to version 0.6.6 using cv::FaceDet… #165

Closed searching46dof closed 1 year ago

searching46dof commented 1 year ago

…ectorYN

cv::FaceDetectorYN::>detect returns a matrix of faces where get_distance_squared will return the row that is closest to the center of the preview window. center_weighted should be made configurable since center weighted detection may not be desired under all circumstances.

searching46dof commented 1 year ago

For IPv6 support, need to pass the appropriate size for IPv6 or IPv4 structure to sendto

AIRLegend commented 1 year ago

Hello!

Just added your IPv6 fix manually myself (9738c45edd0d240b307720a695ee2ec2d2e1333b) as the other part is already implemented.