<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Google AIYボイスキットにカメラを付けて画像認識をやってみる へのコメント	</title>
	<atom:link href="https://kureuetan.com/web/raspberrypi/7387/feed/" rel="self" type="application/rss+xml" />
	<link>https://kureuetan.com/web/raspberrypi/7387/</link>
	<description>次世代の生活の知恵を楽しむブログ</description>
	<lastBuildDate>Mon, 02 Mar 2020 12:18:16 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		クレウエタン より		</title>
		<link>https://kureuetan.com/web/raspberrypi/7387/#comment-10705</link>

		<dc:creator><![CDATA[クレウエタン]]></dc:creator>
		<pubDate>Mon, 06 Jan 2020 11:49:05 +0000</pubDate>
		<guid isPermaLink="false">https://kureuetan.com/?p=7387#comment-10705</guid>

					<description><![CDATA[&lt;a href=&quot;https://kureuetan.com/web/raspberrypi/7387/#comment-10703&quot;&gt;muto&lt;/a&gt; への返信。

mutoさん、話せるようになったんですね。良かったです!(^^)!]]></description>
			<content:encoded><![CDATA[<p><a href="https://kureuetan.com/web/raspberrypi/7387/#comment-10703">muto</a> への返信。</p>
<p>mutoさん、話せるようになったんですね。良かったです!(^^)!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		muto より		</title>
		<link>https://kureuetan.com/web/raspberrypi/7387/#comment-10703</link>

		<dc:creator><![CDATA[muto]]></dc:creator>
		<pubDate>Thu, 02 Jan 2020 07:06:48 +0000</pubDate>
		<guid isPermaLink="false">https://kureuetan.com/?p=7387#comment-10703</guid>

					<description><![CDATA[クレウエタン様
いろいろありがとうございました。
とりあえず、英語ですが、話せるように
なりました。
後は、日本語化を頑張ります。
うれしくて、ついコメントしてしまいました。
本当にありがとうございました。]]></description>
			<content:encoded><![CDATA[<p>クレウエタン様<br />
いろいろありがとうございました。<br />
とりあえず、英語ですが、話せるように<br />
なりました。<br />
後は、日本語化を頑張ります。<br />
うれしくて、ついコメントしてしまいました。<br />
本当にありがとうございました。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		muto より		</title>
		<link>https://kureuetan.com/web/raspberrypi/7387/#comment-10702</link>

		<dc:creator><![CDATA[muto]]></dc:creator>
		<pubDate>Tue, 31 Dec 2019 04:13:40 +0000</pubDate>
		<guid isPermaLink="false">https://kureuetan.com/?p=7387#comment-10702</guid>

					<description><![CDATA[クレウエタン様
ありがとうございます。
頑張ります。]]></description>
			<content:encoded><![CDATA[<p>クレウエタン様<br />
ありがとうございます。<br />
頑張ります。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		クレウエタン より		</title>
		<link>https://kureuetan.com/web/raspberrypi/7387/#comment-10701</link>

		<dc:creator><![CDATA[クレウエタン]]></dc:creator>
		<pubDate>Mon, 30 Dec 2019 10:52:21 +0000</pubDate>
		<guid isPermaLink="false">https://kureuetan.com/?p=7387#comment-10701</guid>

					<description><![CDATA[&lt;a href=&quot;https://kureuetan.com/web/raspberrypi/7387/#comment-10700&quot;&gt;muto&lt;/a&gt; への返信。

mutoさん、コメント拝見しました。
エラーメッセージを見る限り、Credentialの取得でエラーが発生しているみたいですね。このエラーメッセージに私は出くわしたことはないのですが、考えられる可能性・チェックすべき項目としては以下を考えてみました。
1．&lt;a href=&quot;https://kureuetan.com/web/raspberrypi/4404/#toc3&quot;&gt;こちらの記事&lt;/a&gt;にあるような、Cloud Platform上でGoogle Assistant APIを有効化しましたか。
2．&lt;a href=&quot;https://kureuetan.com/web/raspberrypi/4404/#toc8&quot;&gt;こちらの記事&lt;/a&gt;にあるように、最初にassistant_grpc_demo.pyのプログラムを実行した際に、ウェブブラウザ（Google Chromium）のページが表示され、「Google Assistant API」が次の許可をリクエストしてます…というメッセージが表示されます。そこで、「許可」を選択しましたか？
3．上のプロセスで、Google Chromium以外のブラウザが開かれていませんか？使用しているVoice KitのOSイメージによっては、&lt;a href=&quot;https://github.com/google/aiyprojects-raspbian/issues/269&quot; rel=&quot;nofollow ugc&quot;&gt;Epiphanyなどの別ブラウザ&lt;/a&gt;が開くケースがあるようです。この場合、URLをGoogle Chromeブラウザにコピーして許可をトライしてみるとうまくいくかもしれません。
3．プログラムを実行する際に、$ src/examples/voice/assistant_grpc_demo.py　としていますが、これを
$ cd src/examples/
$ ./voice/assistant_grpc_demo.py
としてみる。これは関係ないと思うのですが、たまに他のディレクトリからはダメで、examplesの直下で実行すると大丈夫だったりするので。
4．Credentialをプログラム実行前に再読み込みしてみる。具体的には、
$ export GOOGLE_APPLICATION_CREDENTIALS=&quot;/home/pi/assistant.json&quot;
$ cd src/examples/
$ ./voice/assistant_grpc_demo.py
としてみる。
という感じでしょうか。思い当たるものを列挙してみましたが、いかがでしょう。参考になれば幸いです。健闘をお祈りします(^^♪。]]></description>
			<content:encoded><![CDATA[<p><a href="https://kureuetan.com/web/raspberrypi/7387/#comment-10700">muto</a> への返信。</p>
<p>mutoさん、コメント拝見しました。<br />
エラーメッセージを見る限り、Credentialの取得でエラーが発生しているみたいですね。このエラーメッセージに私は出くわしたことはないのですが、考えられる可能性・チェックすべき項目としては以下を考えてみました。<br />
1．<a href="https://kureuetan.com/web/raspberrypi/4404/#toc3">こちらの記事</a>にあるような、Cloud Platform上でGoogle Assistant APIを有効化しましたか。<br />
2．<a href="https://kureuetan.com/web/raspberrypi/4404/#toc8">こちらの記事</a>にあるように、最初にassistant_grpc_demo.pyのプログラムを実行した際に、ウェブブラウザ（Google Chromium）のページが表示され、「Google Assistant API」が次の許可をリクエストしてます…というメッセージが表示されます。そこで、「許可」を選択しましたか？<br />
3．上のプロセスで、Google Chromium以外のブラウザが開かれていませんか？使用しているVoice KitのOSイメージによっては、<a href="https://github.com/google/aiyprojects-raspbian/issues/269" rel="nofollow ugc">Epiphanyなどの別ブラウザ</a>が開くケースがあるようです。この場合、URLをGoogle Chromeブラウザにコピーして許可をトライしてみるとうまくいくかもしれません。<br />
3．プログラムを実行する際に、$ src/examples/voice/assistant_grpc_demo.py　としていますが、これを<br />
$ cd src/examples/<br />
$ ./voice/assistant_grpc_demo.py<br />
としてみる。これは関係ないと思うのですが、たまに他のディレクトリからはダメで、examplesの直下で実行すると大丈夫だったりするので。<br />
4．Credentialをプログラム実行前に再読み込みしてみる。具体的には、<br />
$ export GOOGLE_APPLICATION_CREDENTIALS=&#8221;/home/pi/assistant.json&#8221;<br />
$ cd src/examples/<br />
$ ./voice/assistant_grpc_demo.py<br />
としてみる。<br />
という感じでしょうか。思い当たるものを列挙してみましたが、いかがでしょう。参考になれば幸いです。健闘をお祈りします(^^♪。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		muto より		</title>
		<link>https://kureuetan.com/web/raspberrypi/7387/#comment-10700</link>

		<dc:creator><![CDATA[muto]]></dc:creator>
		<pubDate>Mon, 30 Dec 2019 06:50:09 +0000</pubDate>
		<guid isPermaLink="false">https://kureuetan.com/?p=7387#comment-10700</guid>

					<description><![CDATA[クレウエタン様
お世話になります。あの後、src/examples/voice/の後に
デモを入れるのを見つけて以下やってみましたがダメでした。 
何が問題かわかりますでしょうか。すみません。

Build info: Wed Nov 13 22:15:21 UTC 2019 @ ec46764
Dev terminal is ready! See the demos in &#039;src/examples&#039; to get started.
Note: the MagPi Essentials are not up-to-date. See https://goo.gl/8hEcfo
pi@raspberrypi:~/AIY-projects-python $ src/examples/voice/assistant_grpc_demo.py
Traceback (most recent call last):
File &quot;src/examples/voice/assistant_grpc_demo.py&quot;, line 57, in 
main()
File &quot;src/examples/voice/assistant_grpc_demo.py&quot;, line 49, in main
language_code=args.language)
File &quot;/home/pi/AIY-projects-python/src/aiy/assistant/grpc.py&quot;, line 258, in __init__
super().__init__(language_code, volume_percentage)
File &quot;/home/pi/AIY-projects-python/src/aiy/assistant/grpc.py&quot;, line 94, in __init__
credentials = auth_helpers.get_assistant_credentials()
File &quot;/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py&quot;, line 151, in get_assistant_credentials
return _try_to_get_credentials(credentials_file)
File &quot;/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py&quot;, line 123, in _try_to_get_credentials
credentials = _credentials_flow_interactive(client_secrets)
File &quot;/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py&quot;, line 75, in _credentials_flow_interactive
webbrowser.register(&#039;chromium-browser&#039;, None, webbrowser.Chrome(&#039;chromium-browser&#039;), -1)
TypeError: register() takes from 2 to 3 positional arguments but 4 were given
pi@raspberrypi:~/AIY-projects-python $]]></description>
			<content:encoded><![CDATA[<p>クレウエタン様<br />
お世話になります。あの後、src/examples/voice/の後に<br />
デモを入れるのを見つけて以下やってみましたがダメでした。<br />
何が問題かわかりますでしょうか。すみません。</p>
<p>Build info: Wed Nov 13 22:15:21 UTC 2019 @ ec46764<br />
Dev terminal is ready! See the demos in &#8216;src/examples&#8217; to get started.<br />
Note: the MagPi Essentials are not up-to-date. See <a href="https://goo.gl/8hEcfo" rel="nofollow ugc">https://goo.gl/8hEcfo</a><br />
pi@raspberrypi:~/AIY-projects-python $ src/examples/voice/assistant_grpc_demo.py<br />
Traceback (most recent call last):<br />
File &#8220;src/examples/voice/assistant_grpc_demo.py&#8221;, line 57, in<br />
main()<br />
File &#8220;src/examples/voice/assistant_grpc_demo.py&#8221;, line 49, in main<br />
language_code=args.language)<br />
File &#8220;/home/pi/AIY-projects-python/src/aiy/assistant/grpc.py&#8221;, line 258, in __init__<br />
super().__init__(language_code, volume_percentage)<br />
File &#8220;/home/pi/AIY-projects-python/src/aiy/assistant/grpc.py&#8221;, line 94, in __init__<br />
credentials = auth_helpers.get_assistant_credentials()<br />
File &#8220;/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py&#8221;, line 151, in get_assistant_credentials<br />
return _try_to_get_credentials(credentials_file)<br />
File &#8220;/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py&#8221;, line 123, in _try_to_get_credentials<br />
credentials = _credentials_flow_interactive(client_secrets)<br />
File &#8220;/home/pi/AIY-projects-python/src/aiy/assistant/auth_helpers.py&#8221;, line 75, in _credentials_flow_interactive<br />
webbrowser.register(&#8216;chromium-browser&#8217;, None, webbrowser.Chrome(&#8216;chromium-browser&#8217;), -1)<br />
TypeError: register() takes from 2 to 3 positional arguments but 4 were given<br />
pi@raspberrypi:~/AIY-projects-python $</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		muto より		</title>
		<link>https://kureuetan.com/web/raspberrypi/7387/#comment-10699</link>

		<dc:creator><![CDATA[muto]]></dc:creator>
		<pubDate>Mon, 30 Dec 2019 05:16:12 +0000</pubDate>
		<guid isPermaLink="false">https://kureuetan.com/?p=7387#comment-10699</guid>

					<description><![CDATA[クレウエタン様
お世話になります。
すみません。やはり駄目でした。根本的に間違っているのかもしれません。
Start dev terminalを起動して、assistant_grpc_demo.pyを打ち込みましたが、
以下となっております。

Build info: Wed Nov 13 22:15:21 UTC 2019 @ ec46764
Dev terminal is ready! See the demos in &#039;src/examples&#039; to get started.
Note: the MagPi Essentials are not up-to-date. See https://goo.gl/8hEcfo
pi@raspberrypi:~/AIY-projects-python $ src/assistant_grpc_demo.py
bash: src/assistant_grpc_demo.py: そのようなファイルやディレクトリはありません
pi@raspberrypi:~/AIY-projects-python $ src/cloudspeech_demo.py
bash: src/cloudspeech_demo.py: そのようなファイルやディレクトリはありません
pi@raspberrypi:~/AIY-projects-python $ src/voice_recorder.py
bash: src/voice_recorder.py: そのようなファイルやディレクトリはありません
pi@raspberrypi:~/AIY-projects-python $ 

何度もたいへん申し訳ございません。いろいろネットで調べるのですが、ダンボールを組み立てる記事ばかりで、この辺に関する情報が見つめられず苦戦しております。

すみません。]]></description>
			<content:encoded><![CDATA[<p>クレウエタン様<br />
お世話になります。<br />
すみません。やはり駄目でした。根本的に間違っているのかもしれません。<br />
Start dev terminalを起動して、assistant_grpc_demo.pyを打ち込みましたが、<br />
以下となっております。</p>
<p>Build info: Wed Nov 13 22:15:21 UTC 2019 @ ec46764<br />
Dev terminal is ready! See the demos in &#8216;src/examples&#8217; to get started.<br />
Note: the MagPi Essentials are not up-to-date. See <a href="https://goo.gl/8hEcfo" rel="nofollow ugc">https://goo.gl/8hEcfo</a><br />
pi@raspberrypi:~/AIY-projects-python $ src/assistant_grpc_demo.py<br />
bash: src/assistant_grpc_demo.py: そのようなファイルやディレクトリはありません<br />
pi@raspberrypi:~/AIY-projects-python $ src/cloudspeech_demo.py<br />
bash: src/cloudspeech_demo.py: そのようなファイルやディレクトリはありません<br />
pi@raspberrypi:~/AIY-projects-python $ src/voice_recorder.py<br />
bash: src/voice_recorder.py: そのようなファイルやディレクトリはありません<br />
pi@raspberrypi:~/AIY-projects-python $ </p>
<p>何度もたいへん申し訳ございません。いろいろネットで調べるのですが、ダンボールを組み立てる記事ばかりで、この辺に関する情報が見つめられず苦戦しております。</p>
<p>すみません。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		muto より		</title>
		<link>https://kureuetan.com/web/raspberrypi/7387/#comment-10698</link>

		<dc:creator><![CDATA[muto]]></dc:creator>
		<pubDate>Sun, 29 Dec 2019 13:10:42 +0000</pubDate>
		<guid isPermaLink="false">https://kureuetan.com/?p=7387#comment-10698</guid>

					<description><![CDATA[&lt;a href=&quot;https://kureuetan.com/web/raspberrypi/7387/#comment-10697&quot;&gt;クレウエタン&lt;/a&gt; への返信。

クレウエタン様
ご返信頂きまして、誠にありがとうございます。
教えて頂いたもので、再度挑戦してみます。
本当にありがとうございます。]]></description>
			<content:encoded><![CDATA[<p><a href="https://kureuetan.com/web/raspberrypi/7387/#comment-10697">クレウエタン</a> への返信。</p>
<p>クレウエタン様<br />
ご返信頂きまして、誠にありがとうございます。<br />
教えて頂いたもので、再度挑戦してみます。<br />
本当にありがとうございます。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		クレウエタン より		</title>
		<link>https://kureuetan.com/web/raspberrypi/7387/#comment-10697</link>

		<dc:creator><![CDATA[クレウエタン]]></dc:creator>
		<pubDate>Sun, 29 Dec 2019 11:35:46 +0000</pubDate>
		<guid isPermaLink="false">https://kureuetan.com/?p=7387#comment-10697</guid>

					<description><![CDATA[&lt;a href=&quot;https://kureuetan.com/web/raspberrypi/7387/#comment-10695&quot;&gt;muto&lt;/a&gt; への返信。

mutoさん、コメントありがとうございます。
さて、Voice Kit OSの件ですが、私は今月に入ってから久々に動かしてみたので、2019-11-13版を利用しています。Voice Kit OSに関してはapt-get upgradeは行わない方が良いのかなという印象です。以前、それをやって動かなくなりOSを再インストールしたことがありました(^^；。
また、&lt;a href=&quot;https://kureuetan.com/web/raspberrypi/7348/&quot;&gt;別記事&lt;/a&gt;でも書いたのですが、2019年6月28日以降、以前使用されていたGoogle Assistant Library for Pythonが廃止されたらしく、現在、OKグーグルと呼びかけるいわゆるホットワードでのボイスキットの利用はできなくなっている模様です。
サンプルプログラムの中で現在でも機能しているのは、私が確認した限り、assistant_grpc_demo.py（ボタンを押してGoogle Home的に質問する）、cloudspeech_demo.py（ボタンを押して電気のオンオフのコマンドを言う）、voice_recorder.py（ボタンを押して自分の声を録音する）でした。こちらの3プログラムを試しても動きませんでしょうか。
私も素人なのでお力になれるか分かりませんが、プログラムを実行した際に出るエラーメッセージのようなものが分かると、一助になるかもしれません。
以上、ご参考いただければ幸いです。]]></description>
			<content:encoded><![CDATA[<p><a href="https://kureuetan.com/web/raspberrypi/7387/#comment-10695">muto</a> への返信。</p>
<p>mutoさん、コメントありがとうございます。<br />
さて、Voice Kit OSの件ですが、私は今月に入ってから久々に動かしてみたので、2019-11-13版を利用しています。Voice Kit OSに関してはapt-get upgradeは行わない方が良いのかなという印象です。以前、それをやって動かなくなりOSを再インストールしたことがありました(^^；。<br />
また、<a href="https://kureuetan.com/web/raspberrypi/7348/">別記事</a>でも書いたのですが、2019年6月28日以降、以前使用されていたGoogle Assistant Library for Pythonが廃止されたらしく、現在、OKグーグルと呼びかけるいわゆるホットワードでのボイスキットの利用はできなくなっている模様です。<br />
サンプルプログラムの中で現在でも機能しているのは、私が確認した限り、assistant_grpc_demo.py（ボタンを押してGoogle Home的に質問する）、cloudspeech_demo.py（ボタンを押して電気のオンオフのコマンドを言う）、voice_recorder.py（ボタンを押して自分の声を録音する）でした。こちらの3プログラムを試しても動きませんでしょうか。<br />
私も素人なのでお力になれるか分かりませんが、プログラムを実行した際に出るエラーメッセージのようなものが分かると、一助になるかもしれません。<br />
以上、ご参考いただければ幸いです。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		muto より		</title>
		<link>https://kureuetan.com/web/raspberrypi/7387/#comment-10695</link>

		<dc:creator><![CDATA[muto]]></dc:creator>
		<pubDate>Sun, 29 Dec 2019 02:06:13 +0000</pubDate>
		<guid isPermaLink="false">https://kureuetan.com/?p=7387#comment-10695</guid>

					<description><![CDATA[はじめまして。
voice kit V1.1を今さらながら組立てており苦戦しております。
すみませんが、教えて頂けませんでしょうか。
voice  kit os は今（2019.12月）やるとしたら、バージョンはいつ版が
良いでしょうか。
現状は2018.8.3版で、起動時にアップデートしてしまいました。
check audioまでは行けたのですが、Google Cloud Platformで
ファイルをダウンロードして、「assistant.json」にリネームして
「home/pi」ディレクトリに移動したのですが、動きませんでした。
すみませんが、ご教授願います。]]></description>
			<content:encoded><![CDATA[<p>はじめまして。<br />
voice kit V1.1を今さらながら組立てており苦戦しております。<br />
すみませんが、教えて頂けませんでしょうか。<br />
voice  kit os は今（2019.12月）やるとしたら、バージョンはいつ版が<br />
良いでしょうか。<br />
現状は2018.8.3版で、起動時にアップデートしてしまいました。<br />
check audioまでは行けたのですが、Google Cloud Platformで<br />
ファイルをダウンロードして、「assistant.json」にリネームして<br />
「home/pi」ディレクトリに移動したのですが、動きませんでした。<br />
すみませんが、ご教授願います。</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
