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

Feat: Update the dependencies for the MediaPipe Task samples #397

Merged
merged 24 commits into from
May 21, 2024

Conversation

st-vinhthai
Copy link
Contributor

@st-vinhthai st-vinhthai commented May 15, 2024

Description

This pull request update all MediaPipe task's version in old samples to current newest version.
Fix a minor bug from previous implement.

Checklist

Please ensure the following items are complete before submitting a pull request:

  • My code follows the code style of the project.
  • I have updated the documentation (if applicable).
  • I have added tests to cover my changes.

Type of Change

Please check the relevant option below:

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)

private fun onResult(result: FaceStylizationHelper.ResultBundle) {
if (result.stylizedFace == null) {
if (result.stylizedFace == null || result.stylizedFace.stylizedImage().getOrNull() == null) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix crash app when there is no result detected.

@PaulTR PaulTR merged commit 52afa02 into google-ai-edge:main May 21, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants