Skip to content

Instantly share code, notes, and snippets.

View eqs's full-sized avatar
🎍
Focusing

eqs

🎍
Focusing
View GitHub Profile
@eqs
eqs / apple.py
Created November 14, 2015 14:42
アップル加工
# -*- coding: utf-8 -*-
"""
Created on 2015/11/14 22:40:07
アップル加工
@author: eqs
"""
@eqs
eqs / test.py
Last active February 6, 2016 14:20
vim-gistaを使ってみるテスト
# -*- coding: utf-8 -*-
"""
Created on 02/06/16 22:54:44
Test Code
@author: eqs
"""
import sys
@eqs
eqs / bottle_test.py
Created February 11, 2016 15:21
bottle test
# -*- coding: utf-8 -*-
"""
Created on 02/12/16 00:06:55
test for bottle
@author: eqs
"""
import sys
@eqs
eqs / spam.py
Created March 12, 2016 17:44
写真から顔を自動検出して,顔の位置にてくにゃんの顔を表示するプログラム (OpenCVのライブラリの中の識別器そのまま使ってるので精度はよくない)
# -*- coding: utf-8 -*-
"""
Created on 03/12/16 22:43:58
OpenCV3.0使って顔認識して顔の位置にてくにゃんを表示する
@author: eqs
"""
import sys
@eqs
eqs / file0.txt
Created March 24, 2016 15:59
Nimのプログラムをコンパイルしようとしたら ”error: size of array 'assert_numbits' is negative” とかいうエラーが出た話 ref: http://qiita.com/eqs/items/77eb21d22f8f12c2ebfc
c:\users\<user name>\nim>nim compile --run fib.nim
Hint: system [Processing]
Hint: fib [Processing]
CC: fib
CC: stdlib_system
In file included from c:\users\<user name>\nim\nimcache\fib.c:9:0:
C:\Nim\lib/nimbase.h:412:13: error: size of array 'assert_numbits' is negative
typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8 ? 1 : -1];
^
In file included from c:\users\<user name>\nim\nimcache\stdlib_system.c:9:0:
@eqs
eqs / circle.py
Created March 30, 2016 15:47
データセットを生成するスクリプト
# -*- coding: utf-8 -*-
"""
Created on 03/31/16 00:31:59
円状のデータセットを生成するスクリプト
@author: eqs
"""
import sys
@eqs
eqs / draw_roc2.py
Created April 6, 2016 08:02
ROC test
# -*- coding: utf-8 -*-
"""
Created on 04/06/16 14:08:31
ROC曲線を「はじめてのパターン認識」(P.34) に基づいて描く
@author: Satoshi MURASHIGE
"""
import sys
@eqs
eqs / bokeh_test.py
Created April 16, 2016 06:50
bokeh test
# -*- coding: utf-8 -*-
"""
Created on 04/16/16 14:57:14
Bokehであそぶテスト
@author: eqs
"""
import sys
@eqs
eqs / ppap.py
Created November 16, 2016 05:50
# -*- coding: utf-8 -*-
"""
Created on 11/16/16 14:26:04
Pen Pineapple Apple Pen
@author: eqs
"""
import sys
@eqs
eqs / eliminate_red.py
Created February 5, 2017 08:39
スキャンしたプリントの彩度の高い部分のみを消してやるスクリプト
# -*- coding: utf-8 -*-
"""
Created on 02/05/17 17:04:21
スキャンした文書の色成分を消すスクリプト
@author: eqs
"""
import sys