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 -*- | |
Plugin.create :dig_up do | |
command(:dig_up, | |
name: '掘り返し', | |
condition: Plugin::Command[:HasOneMessage], | |
visible: true, | |
role: :timeline) do |opt| | |
message = opt.messages.first | |
(Service.primary.twitter/'statuses/show').json(:id => message.id, :include_my_retweet => true).next do |m| |
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
あ | sasamijp | 2014-03-24 23:08:33 +0900 | 448099043776794625 | |
---|---|---|---|---|
おしり | sasamijp | 2014-03-25 08:58:06 +0900 | 448247409835913216 | |
おしりターボ | firstspring1845 | 2014-03-25 08:58:31 +0900 | 448247511027695616 | |
極左 | NTTrf | 2014-03-25 09:35:42 +0900 | 448256867165159424 | |
アナル | sasamijp | 2014-03-25 10:04:17 +0900 | 448264063898746881 | |
菊地真はホモ | 1kaguya | 2014-03-25 10:04:44 +0900 | 448264173814702080 | |
ちんちん | sasamijp | 2014-03-25 10:11:35 +0900 | 448265900936798209 | |
あ | sasamijp | 2014-03-25 10:40:12 +0900 | 448273101990555649 | |
アナル | sasamijp | 2014-03-25 16:28:21 +0900 | 448360718526447616 | |
ちんちん | sasamijp | 2014-03-25 17:07:55 +0900 | 448370672822013952 |
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
https://twitter.com/uzuky/status/366390655087423488 | |
https://twitter.com/uzuky/status/404207144376864769 | |
https://twitter.com/uzuky/status/407725753699037184 | |
https://twitter.com/uzuky/status/410126529642135552 | |
https://twitter.com/uzuky/status/410372354410168320 | |
https://twitter.com/uzuky/status/410375109929496577 | |
https://twitter.com/uzuky/status/411112293296902144 | |
https://twitter.com/uzuky/status/411372452577431552 | |
https://twitter.com/uzuky/status/412194456939421696 | |
https://twitter.com/uzuky/status/412682194239234048 |
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
import numpy as np | |
import random | |
import math | |
import cv2 | |
from PIL import Image | |
import sys | |
def detect_markers(im): | |
markers = [] | |
# 輪郭線抽出のための二値化 |