以前につくった装置( https://protopedia.net/prototype/5589 )に 文字の読み上げ機能を搭載しました
もし転がりが失敗して変な向きになっても、もしOCRが失敗しても、たのしい!
I added a text-to-speech feature to the device I previously created (https://protopedia.net/prototype/5589).
Even if the rolling fails and it lands in a weird position, or if the OCR fails, it's still fun!
キューブを装置に滑らせると、段差により回転して、裏面が向く
距離(ToF)センサーにより 転がりが完了したことを検出し、それをトリガーにして
カメラ+GPTによる文字認識を開始する
文字認識結果を音声合成する
When the cube is slid into the device, it rotates due to the step and faces the backside.
A distance (ToF) sensor detects the completion of the rolling, which triggers the start of character recognition using a camera and GPT.
The results of the character recognition are then converted into synthesized speech.