-
Notifications
You must be signed in to change notification settings - Fork 24
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
iOS recognition only works if speak loudly/closely to mic #32
Comments
Hi @bobosette It seems iOS has been giving alot of issues lately 😆 For the earlier tflite_audio versions, this has been an issue. The reason being that the arrays have not been splicing properly. The later versions should of solved this problem but there could be a possibility that i have missed something. Currently, i have been refractoring my code so that i could implement unit tests to find such issues. You can find my latest work on this branch here. Once i am done, i should be able to do an extensive test to find such bugs |
Ok...maybe i will try that branch |
hi @bobosette Can you provide your recording parameters for me? I have finally refractored my code and can run unit tests yo check whether theres any problem with the splicing. |
Hi @Caldarie . This is my recording parameters: ` // bring to foreground Stream<Map<dynamic, dynamic>>? result; result = TfliteAudio.startAudioRecognition( |
Hi @c. Do u have some news?? |
Hi I have ran the tests as found here. Good news is that all tests have passed and there should be no problems with the recording. I will post an update once i have finished refactoring android code. |
Oh perfect. Let me know when you release it.
Il giorno lun 14 mar 2022 alle ore 09:31 Michael Nguyen <
***@***.***> ha scritto:
… Hi
I have ran the tests as found here
<https://github.com/Caldarie/flutter_tflite_audio/blob/feature/inference_on_stored_audio/example/ios/RunnerTests/RecordingTest.swift>
.
Good news is that all tests have passed and there should be no problems
with the recording. I will post an update once i have finished refactoring
android code.
—
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEWB4OT2N4LTOTIGXNYTQTU732OFANCNFSM5PUC5XVA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
hi @bobosette I have updated the package to I also added asynchronous tasks for iOS, so you may want to try the background_task plugin again to see if it works. As for the recognition issue which you mentioned, I do have an idea why this issue occurs. It seems that when the plugin splices the recording, it may splice the intended voice in half and hence becomes unrecognisable when fed into the model. To address this issue, I will introduce an overlapping feature for the next update. |
Perfect. I will try and I let you know
Il giorno ven 18 mar 2022 alle ore 06:30 Michael Nguyen <
***@***.***> ha scritto:
… hi @bobosette <https://github.com/bobosette>
I have updated the package to 0.3.0. There are alot of bug fixes for both
android and iOS. Let me know if you encounter any bugs
As for the recognition issue which you mentioned, I do have an idea why
this issue occurs. It seems that when the plugin splices the recording, it
may splice the intended voice in half and hence becomes unrecognisable when
fed into the model. To address this issue, I will introduce an overlapping
feature for the next update.
—
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEWB4ICKYRJIXIB6MDAYD3VAQIHVANCNFSM5PUC5XVA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @Caldarie. I was going to try your update, but when I run the Debug I have this error: Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. Exception: Error running pod install Then i do pod repo update, but same error. |
I forgot to tell you this: now with the latest update of flutter_background_service I was able to run flutter_tflite_audio also on background. |
I have updated the plugin to work with the latest iOS packages, hence why you recieved the error. To fix this issue: flutter clean |
Ok perfect thank you |
Hi @Caldarie . My app is in test mode right now. Someone reported that on iOS the recognition works only if people speak loud close to the microphone. Did you ever report an issue like that??
Thank you
The text was updated successfully, but these errors were encountered: