Bobobo Design

Case study · Systems

The app hears the child on the phone first, and only asks the cloud when it has to.

The speech pipeline behind HeroStroke's pronunciation check.

Product
HeroStroke · kids' Chinese learning app
Status
Live in the app
Tools
Flutter · cloud function · cloud speech-to-text

The problem

On-device speech recognition fails on many Android phones. When it does, the pronunciation check never says right or wrong, and the child is left waiting for an answer that doesn't come.

System

Phone first, cloud only when needed

  1. 01 · InChild speaksThe app records a short answer from the microphone.
  2. 02 · FirstOn the phoneOn-device speech recognition tries first, with no network call.
  3. 03 · Only if neededCloud fallbackIf the phone comes back empty, the clip goes to cloud speech recognition (Cantonese included).
  4. 04 · OutRight or wrongThe pronunciation check gives the child a clear answer.
GuardrailA daily cap on cloud checks keeps cost bounded, so the fallback can't run away with the bill.

Why it's built this way

  • Phone first. When on-device recognition works, the answer comes back quickly without calling the cloud.
  • Cloud as a safety net. The cloud is only asked when the phone comes back empty, so children on any phone still get an answer.
  • Cost you can predict. A daily cap keeps the paid part of the pipeline bounded.

Results

The pipeline is live in HeroStroke. Usage numbers will be added once they're measured and approved; no invented metrics.

Have a workflow that needs a safety net?

Tell me what you need, get a tailored quote.

Start →