This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Self Camera</title> | |
<meta charset="utf-8"> | |
<script src="https://code.createjs.com/easeljs-0.7.1.min.js"></script> | |
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding=utf-8 | |
# get_segment.pyで生成したセグメントを読み込み, 輪郭点の数と結合重みを振って認識率を確かめる実験を行うスクリプト | |
import numpy as np | |
import cv2 | |
from matplotlib import pyplot as plt | |
from collections import Counter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding=utf-8 | |
# 画像を読み込んでセグメント(接続順に並んだ輪郭点)を出力するスクリプト | |
import numpy as np | |
import cv2 | |
def get_hand_image_bg(imgfile): | |
img = cv2.imread(imgfile) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var besiege = require('besiege.js'); | |
const Block = require('./block.js'); | |
const parseString = require('xml2js').parseString; | |
var lines=[]; | |
var reader = require('readline').createInterface({ | |
input: process.stdin | |
}); | |
var machine = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var math = require('mathjs'); | |
var block_id = 1; | |
var scale = 40; | |
var density = 2; | |
function g (x, y) { | |
c = math.complex(x, y); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'natto' | |
require 'pp' | |
require 'matrix' | |
@natto = Natto::MeCab.new | |
def simcos(v1, v2) | |
v1.inner_product(v2).to_f / (v1.norm * v2.norm) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'natto' | |
require 'pp' | |
@natto = Natto::MeCab.new | |
def tf_idf(all_docs, doc_words, word) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
台風すかね - | |
火曜日雨降るかな - 壁に耳つけて平たく見たんですね | |
そうだね - お兄さーーん! | |
それはどこですか - 続いてはラジオネーム『臀部のり』さんから! | |
お元気ですか? - ……ふふ♪ やっぱり、やさしいですね。プロデューサーさんは | |
おはようございます - 私は……ドーナツ、クッキーは何も見なくても作れますし、他も、色々作ります! | |
何かパワーアップしてるの? - んー……オムライスなんていかがでしょう? | |
ぼくはきみがチンポ感ってvia使ってたのを忘れないからね - んー……オムライスなんていかがでしょう? | |
むしろ養うって言え - ……あ、あれのこと? あれは別にそういうお話じゃなくて…… | |
違わないよ - そ、そんなわけないですよ! だって現に、あなたは普通の人間の姿をしているじゃないですか! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
台風すかね - そうなる前に帰る予定だったのにねー…… | |
火曜日雨降るかな - そっか。 …………あ!! | |
そうだね - それに、雪歩と会えたから怖いのもいくらか紛れたし | |
それはどこですか - でも、やよいと違って家事とかあるわけじゃないんだし、これくらいでへこたれてちゃダメだよねっ! | |
お元気ですか? - 内腿...です | |
おはようございます - おはようございます!プロデューサーさん!ガチャコン!ガチャコン!ガチャコン! | |
何かパワーアップしてるの? - だって千早ちゃんって大人っぽいじゃん。 | |
ぼくはきみがチンポ感ってvia使ってたのを忘れないからね - いやいや! さすがに使ったことはないよ。お父さんが昔使っていたやつがうちにあるんだよね | |
むしろ養うって言え - う~ん…… | |
違わないよ - だって、さっき私に三十両やるって仰ったじゃございませんか |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
台風すかね | |
火曜日雨降るかな | |
そうだね | |
それはどこですか | |
お元気ですか? | |
おはようございます | |
何かパワーアップしてるの? | |
ぼくはきみがチンポ感ってvia使ってたのを忘れないからね | |
むしろ養うって言え | |
違わないよ |