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

Implement audio classifier #31

Merged
merged 12 commits into from
Feb 8, 2023
Merged

Implement audio classifier #31

merged 12 commits into from
Feb 8, 2023

Conversation

ghost
Copy link

@ghost ghost commented Dec 20, 2022

No description provided.

@PaulTR
Copy link
Collaborator

PaulTR commented Dec 27, 2022

I know this is a WIP, so keeping comments light.

In the Library fragment, the UI should be cleared if backgrounding the app and returning.

Can we float the overlap percentage to the right so it aligns with our inference time?

Other than those incredibly small things, the UI looks solid to me. Did you have any luck with the streaming inference time values based on our earlier conversation?

Thanks!

@ghost
Copy link
Author

ghost commented Dec 28, 2022

Other than those incredibly small things, the UI looks solid to me. Did you have any luck with the streaming inference time values based on our earlier conversation?

Thanks!

Unfortunately, the timestamp resultListener.classificationResult().get().timestampMs().get() always has no value.

@ghost ghost changed the title [WIP] Implement audio classifier Implement audio classifier Dec 28, 2022
}

when (currentModel) {
YAMNET_MODEL -> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since we're only using one model and not showing a radio button for changing it in our UI, let's remove this when statement and related constants. We can readd them later if we support an additional model.

@PaulTR
Copy link
Collaborator

PaulTR commented Dec 28, 2022

Very minor comments, otherwise LGTM. I'll see if I can get some answers about the inference time, but that may not happen until next week. I'll update here once I have some more information. Thanks!

@PaulTR
Copy link
Collaborator

PaulTR commented Dec 31, 2022

Would you mind moving this app one level lower? It'd go into an android directory to match the structure from the other samples.

@PaulTR PaulTR changed the base branch from staging to main January 9, 2023 16:21
@ghost ghost requested a review from PaulTR January 31, 2023 09:36
@PaulTR PaulTR merged commit a66426e into main Feb 8, 2023
@PaulTR PaulTR deleted the implement_audio_classifier branch February 14, 2023 15:41
palrahul pushed a commit to palrahul/mediapipe that referenced this pull request Sep 27, 2023
…io_classifier

Implement audio classifier
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.

2 participants