PoseEstimation-CoreML
PoseEstimation-CoreML copied to clipboard
AVLayerVideoGravity.resizeAspectFill
if I set AVLayerVideoGravity.resizeAspectFill,then pose is wrong; what can I do ?please help me!
Can you give me some screenshots? And If you tell me more detail about the "wrong", I can help you.
request?.imageCropAndScaleOption = .scaleFill;
vsessionPreset: .iFrame960x540;
previewLayer.videoGravity = AVLayerVideoGravity.resizeAspectFill;
if I change these property,the pose predicted will change; I wish predict keypoint under the full screen ;please help me,my English is poor,haha!
@tucan9389 please give me some suggests,thank you;
It looks like a conversion issue. You can check the conversion calculation on DrawingJointView.swift and definition of aspectFill option. If you have more question, comment below.