hybrid ai hackathon script
hybrid ai hackathon script
Demo video script (≤ 3:00, English, public on YouTube)
About 420 words of voice-over: read at a calm pace, it lands near 2:50. Cut the (optional) lines if you run long.
Before recording
- Desktop Chrome with the flags on and the model downloaded (
chrome://on-device-internalsshows it ready). Hide bookmarks and other tabs, zoom to 110–125 % so text is readable on video. - A demo Google account (no personal email on screen; the header shows the signed-in email, so use a neutral one).
- Client
ПРИМЕР ЕООДwith 6–10 receipts already saved in the current month, a mix of on-device and cloud, so the summary and its on-device/cloud bar look real. - Test receipts from
tools/receipt-maker.html(fictional stores only), picked in a dry run beforehand:- A: short, Good preset: reads on-device and passes every check. Note its reading time.
- Batch: 4–5 photos for Import, including at least one that is re-read in the cloud (a Fair/Bad medium receipt usually fails the item checks on-device) and one very long receipt (taller than 3 × width, goes straight to the cloud). Keep the photos that, in the dry run, gave a “✎ Total corrected” badge and a ⚠️ Needs review receipt; re-import the same files when recording so the same things happen.
- P: a medium receipt that fails a check on-device, for Private mode.
- Delete the dry-run receipts before recording (or record in a second client).
- Phone: the app installed from Chrome’s “Add to home screen”, signed in to the same demo account. Test once beforehand.
- A spreadsheet app ready to open the CSV (LibreOffice Calc or Excel).
- After recording, replace [N s] below and in
docs/devpost.mdwith the times you saw.
Script
| Time | On screen | Voice-over |
|---|---|---|
| 0:00–0:20 | Landing page (signed out): headline, then scroll slowly over the three “How it works” cards | “Accountants in Bulgaria get piles of receipt photos from their clients every month, and every one is typed in by hand: seller, tax ID, date, total, VAT. Uploading clients’ financial documents to a cloud service isn’t great either. This app reads them with hybrid AI: on your own laptop first, in the cloud only when it has to.” |
| 0:20–0:30 | Sign in. Home: client picker on ПРИМЕР ЕООД, card “🔒 On-device AI ready” | “Everything is organised by client. This is desktop Chrome with Gemini Nano, through Firebase AI Logic’s hybrid inference.” |
| 0:30–0:55 | 📷 Scan receipt → receipt A. Reading screen “🔒 Reading on this computer with Gemini Nano…” with the seconds counting. Review form: “🔒 Read on this computer by Gemini Nano · [N s]. No cloud AI saw the photo.” No red fields. Save. | “The photo is read right here, on the laptop. But a small model makes mistakes, so nothing is trusted blindly: the app checks the EIK checksum, the date, VAT against Bulgarian rates, and that the items add up to the total. Everything passes, so this receipt never touched the cloud.” |
| 0:55–1:30 | 🗂 Import photos → select the batch. Progress “Reading 2 of 5…”. When the cloud re-read happens, point at “☁️ Re-reading in the cloud: …” with its reason. Long receipt reads in the cloud straight away. | “For a month’s worth, I import a whole batch. Each photo goes to the on-device model first. This one failed a check, and the app tells me which one, so it’s re-read in the cloud. Very long receipts go straight to the cloud. That’s the hybrid: private and free by default, the cloud as a verified fallback.” |
| 1:30–1:50 | Open the receipt with “✎ Total corrected”. Hover/show the correction line on the review form. | “The checks also repair what they can. Here the model misread the total, but the line items, the VAT and the cash paid minus change agree on the real amount, so the app corrected it and says exactly why.” (Match the sources to the ✎ line you see on screen.) |
| 1:50–2:10 | Back to the list: ⚠️ Needs review receipt at the top. Open it: red field, archived photo (click to zoom), fix the value, red disappears, Save. | “What still doesn’t add up is flagged and listed first. I compare with the photo, fix the field, and the flag goes away.” |
| 2:10–2:25 | Toggle Private mode on the device card. Scan receipt P: it stays on-device; the review form shows the failed field in red. | “For clients who insist, Private mode never sends a photo to any cloud AI. If a check fails, I correct it by hand instead.” |
| 2:25–2:42 | Monthly summary: month picker, Receipts / Total / VAT / Net, the on-device/cloud bar “🔒 N read on-device · ☁️ M in the cloud”. Click ⬇ CSV, open it: Cyrillic and decimals display correctly. | “The monthly summary gives total, VAT and net per client for the VAT return, shows how much was read on-device, and exports to Excel.” |
| 2:42–2:52 | Phone: installed app, scan a receipt, “☁️ Read in the cloud”. | “A phone has no on-device model, so the same app reads in the cloud: handy for a quick snap at a client’s office.” |
| 2:52–3:00 | Back to the laptop home screen (or the GitHub README results table). | “We measured every prompt change on ninety generated test receipts. Built with Firebase AI Logic, Auth, Firestore, App Check and Hosting, all on the free plan, and open source.” |
(optional, only if the Firebase Agent Skills were actually installed and used) Add at the end: “…developed with Firebase Agent Skills.” Drop “We measured every prompt change…” to make room if needed.
Checks before uploading
- Under 3:00, English, no real store names, logos, emails or personal data anywhere in frame.
- Upload as Public on YouTube; put the link in
docs/devpost.mdand the README.
This post is licensed under CC BY-NC 4.0 by the author.