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

延迟不匹配问题 #30

Open
Tendaliu opened this issue May 27, 2024 · 0 comments
Open

延迟不匹配问题 #30

Tendaliu opened this issue May 27, 2024 · 0 comments

Comments

@Tendaliu
Copy link

// 从视频输出获取mediapipe::ImageFrame结果
auto& output_frame = videoPacket.Getmediapipe::ImageFrame();

// 转换mediapipe::ImageFrame为cv::Mat
cv::Mat output_frame_mat = mediapipe::formats::MatView(&output_frame);

用上述方法显示标记点是完全正常的;但如果是获取标记点坐标,然后将面部标记点用opencv绘制到帧图像上,播放过程能明显看到标记点比图像慢了一两帧的样子,您知道原因吗

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

1 participant