Skip to content

Listens for a search phrase from the user, queries Wikipedia and returns an extract for display in Frame

License

Notifications You must be signed in to change notification settings

CitizenOneX/wiki_frame

Repository files navigation

Wikipedia Search

Listens for a search phrase from the user, queries Wikipedia using its API and returns an extract and a thumbnail (if it exists) for display in Frame.

Tested on Android, but should be able to work on iOS also.

Flutter package speech_to_text uses platform-provided speech to text capability, apparently either on-device or cloud-based (although here we request onDevice). It uses the system microphone, which will be either the phone or possibly a connected bluetooth headset, but unless/until Frame could be connected as a bluetooth mic, it can't be used as we can't feed its streamed audio into the platform speech service. Alternatives that can be fed streamed audio bytes include Vosk, but that is Android-only.

Times out after 5s on my Android device (speech_to_text allows different timeouts to be requested.)

Thumbnails are presently quantized to 4-bit (16 colors) and dithered using the Dart image package and displayed progressively.

Frameshots

Frameshot1 Frameshot2 Frameshot3

Framecast

framecast1.mp4
framecast2.mp4

Screenshots

Screenshot1

Architecture

Architecture

About

Listens for a search phrase from the user, queries Wikipedia and returns an extract for display in Frame

Resources

License

Stars

Watchers

Forks

Packages

No packages published