Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVLayerVideoGravity.resizeAspectFill #14

Open
CoderBt opened this issue Jun 18, 2019 · 4 comments
Open

AVLayerVideoGravity.resizeAspectFill #14

CoderBt opened this issue Jun 18, 2019 · 4 comments

Comments

@CoderBt
Copy link

CoderBt commented Jun 18, 2019

if I set AVLayerVideoGravity.resizeAspectFill,then pose is wrong; what can I do ?please help me!

@tucan9389
Copy link
Owner

Can you give me some screenshots? And If you tell me more detail about the "wrong", I can help you.

@CoderBt
Copy link
Author

CoderBt commented Jun 18, 2019

request?.imageCropAndScaleOption = .scaleFill;
vsessionPreset: .iFrame960x540;
previewLayer.videoGravity = AVLayerVideoGravity.resizeAspectFill;
UNADJUSTEDNONRAW_thumb_22a
UNADJUSTEDNONRAW_thumb_22b

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!

@CoderBt
Copy link
Author

CoderBt commented Jun 19, 2019

@tucan9389 please give me some suggests,thank you;

@tucan9389
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants