Skip to content

Instantly share code, notes, and snippets.

View motoishmz's full-sized avatar

Motoi Shimizu motoishmz

View GitHub Profile
@motoishmz
motoishmz / mov2gif.py
Created August 24, 2022 08:43 — forked from satoruhiga/mov2gif.py
convert mov to gif animation
#!/usr/bin/env python
'''
DEPENDENCIES:
$ brew install ffmpeg
$ brew install imagemagick
$ python ./mov2gif.py input.mov output.gif 15
'''
@motoishmz
motoishmz / create_object_merge.py
Last active April 19, 2022 07:05
Creates `geo/object_merge` with the selected Null nodes such as `OUT_MyObject` #Houdini
"""
- Select Null node(s)
- Run this script
- New geo(s) consists of `object_merge` which imports the selected Null node are created on /obj. The geo name would be the selected Null node name with removing prefix `OUT_`.
"""
def create_object_merge(selected_node):
prefix = "OUT_"
# me - this DAT
# scriptOp - the OP which is cooking
import mediapipe as mp
mp_face_detection = mp.solutions.face_detection
mp_drawing = mp.solutions.drawing_utils
"""
https://google.github.io/mediapipe/solutions/face_detection.html
MODEL_SELECTION
#!/bin/sh
# Tested on:
# macOS Catalina - Version 10.15.2
#
# !!!: # Reboot after running this script, or uncomment the last line
#
# ```
# How to disable SIP (System Integrity Protection)
# 1. Boot macOS with pressing Cmd+R
@motoishmz
motoishmz / ffmpeg.md
Created October 9, 2019 22:36 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

BACKSPACE Productions Inc. / backspacetokyo パートナー・アルバイトスタッフ募集

この募集は2019年10月10日に締め切りました。
沢山の御応募ありがとうございました。

山本 摩也

マヤちゃんまとめArticle。


2016 - 2017

Maya Yamamoto @ Valencia CF Femenino Maya Yamamoto @ Valencia CF Femenino

2008-11-13 03:25:57 Max/MSPで制御して、
2008-11-13 03:27:46 Arduinoで制御して、 LEDを点滅させる
2008-11-13 04:29:50 GAINERで制御して、
2008-11-13 04:30:16 Processingで制御して、
2008-11-13 04:31:04 CDSを使って、 SuperColliderで制御して、 2Dグラフィックを生成する
2008-11-13 04:31:38 Webストリーミングの映像を使って、 JITTERで制御して、
2008-11-13 04:32:05 AS3で制御して、 3Dグラフィックを生成する
2008-11-13 04:32:44 openFrameworksで制御して、
2008-11-13 04:33:18 Directorで制御して、
2008-11-13 04:33:40 Cocoaで制御して、
net stop w32time
w32tm /config /syncfromflags:manual /manualpeerlist:"0.it.pool.ntp.org 1.it.pool.ntp.org 2.it.pool.ntp.org 3.it.pool.ntp.org"
net start w32time
w32tm /config /update
w32tm /resync /rediscover