遊び方: ・[学習モード]ボタンを押し、学習モードに移る。 ・[写真を撮る]ボタンを押す。緑の四角い枠内の写真が撮られる。 ・ピンクの選択部分を変更したい場合、[編集]ボタンを押し、[色で編集]ボタンを押す。 ・表示された色をクリックし全て右側に移し、選択を解除する。左に色を移すことでピンクに選択される色を増やすことができる。 ・[ペンで編集]に戻り画像内でマウスをドラッグする。選択したい部分を塗りつぶす。 ・[完了]ボタンを押す。 ・ピンクの選択部分が正しいか確認し、[学習]ボタンを押す。 ・確認モードに切り替わるまで左上の指示に従って写真を撮る。 ・学習モードを2〜3回は最低行う。 ・確認モードで写真を撮る。 ・[消す]ボタンを押すとまた写真を撮ることができる。 space key: [写真を撮る]ボタンのキー 「e」: [消す]ボタンのキー。写真を画面に映すのをやめる mode 0: 認識モード、1:学習モード、 2:編集モード
指にシールとかを貼らなくても認識できます。 How it works: When a photo is taken, the colour value within the green rectangle is retrieved and simplified to 32 colours. To allow image recognition through convolution, the image is binarised. The user can decide which of the 32 colours to set as 1 and which to set as 0. Credits: Thanks to @griffpatch for his tutorial https://www.youtube.com/watch?v=3lz1nylUHiY Thanks to @FeelLearning for the original image recognition project https://scratch.mit.edu/projects/1061467995 #AI #画像認識 #photo recognition #recognition