Skip to content

Instantly share code, notes, and snippets.

    graph TB;
		リク 
		subgraph アオとユキ
			ao[アオ<br /><a href='https://www.youtube.com/watch?v=959zH04s4A4&list=PLV_z1J7KlzniC3K2zosmgg4vrwvJVuzmq'>YouTube</a>] --> ao_yuki((アオとユキの子))
			yuki[ユキ<br /><a href='https://www.youtube.com/watch?v=BrgndPwAlYU&list=PLV_z1J7KlznjgyYnOyLafYJFxIyJhFlKN'>YouTube</a>] --> ao_yuki((アオとユキの子))
			ao_yuki((アオとユキの子)) --> sora[ソラ<br /><a href='https://www.youtube.com/watch?v=vPvwkN7cKRU&list=PLV_z1J7KlznhUMuytM7KCjQd8NOvMfTrg'>YouTube</a>]
			ao_yuki((アオとユキの子)) --> umi[ウミ<br /><a href='https://www.youtube.com/watch?v=2Q8oLeJ0P-g&list=PLV_z1J7KlznjPXHoZX0DwQlsJuaVi7HnZ'>YouTube</a>]
			ao_yuki((アオとユキの子)) --> アメ
			ao_yuki((アオとユキの子)) --> モモ
//ロゴを合成する処理
function genImage (imageIni){
//合成画像の設定
//回転
img.rotation = imageIni.rotation;
//回転の中心は、画像の中央
img.regX = img.getBounds().width / 2;
img.regY = img.getBounds().height / 2;
//上下は10ピクセルごと移動
getByteFrequencyDataAverage = function() {
analyser.getByteFrequencyData(frequencies);
var max_hz = 0;
var max_hz_value = 0.0;
for(var i = 0; i < bufferLength; i++) {
if(max_hz_value < frequencies[i]) {
max_hz_value = frequencies[i];
max_hz = i;
}
}
with tf.name_scope('conv1') as scope:
W_conv1 = weight_variable([3, 3, 3, 32])
b_conv1 = bias_variable([32])
h_conv1 = tf.nn.relu(conv2d(x_image, W_conv1) + b_conv1)
print(h_conv1)