公式ドキュメントにあるようなctx = new(window.AudioContext || webkitAudioContext);
とすると,
ReferenceError: Can't find variable: AudioContext
となってしまうが,
ここにある通り,
ctx = new(window.AudioContext || window.webkitAudioContext);
とすれば動作させられた.
公式ドキュメントにあるようなctx = new(window.AudioContext || webkitAudioContext);
とすると,
ReferenceError: Can't find variable: AudioContext
となってしまうが,
ここにある通り,
ctx = new(window.AudioContext || window.webkitAudioContext);
とすれば動作させられた.
arXiv対策等でepsファイルサイズをとにかく減らしたい時がある.
そんな時はpdf化して再度eps化する.
epstopdf filename.eps
pdftops -eps filename.pdf
もしno display font for 'helvetica-bold'
等のエラーが出たら,
xpdfをインストールし直す.
私のmac環境ではbrewだと治らなかった.
マスクメロンの Xpdf.app を使用する方法でxpdfをインストールし直すと治った.
Food101という101クラスの料理画像がラベルとセットになっているデータセットがある。 こちらを触ってみる。
クラスごとに250枚のテスト画像と750枚の訓練画像があり、全部で101000枚画像が用意されている。 オリジナルだと画像の最大サイズは同じ(512pixel)にスケールされているものの、もう片方の辺はバラバラのようなので、 kaggleのここを参考にサイズが揃ったデータを取得し可視化だけしてみる。
def visualize_data(): base_path = "./dataset" train_h5_path = os.path.join(base_path, "food_c101_n10099_r64x64x3.h5") test_h5_path = os.path.join(base_path, "food_test_c101_n1000_r64x64x3.h5") print(os.path.exists(train_h5_path)) print(os.path.exists(test_h5_path)) with h5py.File(train_h5_path, 'r') as n_file: total_imgs = n_file['images'].shape[0] read_idxs = slice(0, total_imgs) img_data = n_file['images'][read_idxs] img_label = n_file['category'].value[read_idxs] label_names = [x.decode() for x in n_file['category_names'].value] fig, m_ax = plt.subplots(5, 5, figsize = (12, 12)) for c_ax, c_label, c_img in zip(m_ax.flatten(), img_label, img_data): c_ax.imshow(c_img) c_ax.axis('off') c_ax.set_title(label_names[np.argmax(c_label)])
S.ChoiとK.J.Kuchenbeckerによるvibrotactile displayの入門書を読んだ. 12ページと分量も多くないし,簡潔に書かれていてとても良みやすいと思う. 振動触覚を仕事で扱う人や学生さん(私)にぜひオススメ.
振動触覚のアプリでの活用時のデザインのTipsが所々に載っていた. Choi氏のご自身の論文がそういった観点で引用されていたので今後読んでいきたい.
以下は私のメモ
「ユーザは振動触覚を感じられるか?」
「ユーザは2つの異なる振動を区別できるか?」
「刺激はどのくらい強く感じられるか?」
「刺激のタイミングをどれくらい正確に判断できるか?」
「振動触覚による他の知覚効果は?」
「2つの隣接する振動刺激をどれくらい正確に区別できるか?」
「時空間的なパターン刺激に対して何を感じられるか?」
私達の作ってる触覚デザインを効率化する振動の生成モデルも 以下の文脈に絡めて位置付けを紹介しないとダメなんだなと思った.
マルチメディアアプリでは触覚は視覚や聴覚と同期させてユーザに伝える必要がある. そのような同期を実現するためにデザイナーはツールを使うが,大きく2つのアプローチがある.
研究者の個人サイトにプレプリントのpdfを載せている人がいる. それに倣って,自分も書いた論文を自分のサイトに載せたいと思い,ポリシーを調べてみた
原稿のIEEEによる分類.
# | 種類 | 説明 |
---|---|---|
1 | preprint | どこにも提出する前の下書き原稿 |
2 | Author-submitted article | 提出したバージョンの原稿 |
3 | Accepted article (postprint) | 採択後の原稿.査読の指摘などを受けて修正後のバージョン |
4 | Published article | copyeditingやformattingが全て行われた原稿 |
以下は自分に関係しそうなジャーナルの規則を調べたメモ.
以下はココの情報を抽出したもの.
もっと詳しい情報へのリンクが上記リンク内にあるので辿れる.
“© 20XX IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.”
“© 20XX IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.”
“© 20XX IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.”
“© 20XX IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.”
以下はココの情報を抽出したもの
“This is a pre-print of an article published in [insert journal title]. The final authenticated version is available online at: https://doi.org/[insert DOI]”.
This is a post-peer-review, pre-copyedit version of an article published in [insert journal title]. The final authenticated version is available online at: http://dx.doi.org/[insert DOI]”.
以下はココの情報を抽出したもの.