We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
测试过Face2D-Sticker demo后,预览和贴纸是竖屏的,在修改activity为横屏后特征点和贴纸均横向显示,请问如何修改才能达到横向预览并且特征点和贴纸也正确显示?
目前表现:
期望结果:
灵魂画图 请见谅,
The text was updated successfully, but these errors were encountered:
若要实现特征点和贴纸也正确显示,需要修改EGLCameral类,getRotationAngleZ 的角度 -180 重新计算x ,y 的值 float x = ( point.getX() / width) * 2 - 1 float y = 1-( point.getY() / height ) * 2
float x = ( point.getX() / width) * 2 - 1
float y = 1-( point.getY() / height ) * 2
Sorry, something went wrong.
修改后确实可行,谢谢大佬回复。
No branches or pull requests
测试过Face2D-Sticker demo后,预览和贴纸是竖屏的,在修改activity为横屏后特征点和贴纸均横向显示,请问如何修改才能达到横向预览并且特征点和贴纸也正确显示?
目前表现:

期望结果:

灵魂画图 请见谅,

The text was updated successfully, but these errors were encountered: