Skip to content

Instantly share code, notes, and snippets.

futurestandard

View GitHub Profile
@futurestandard
futurestandard / code.gs
Last active Jun 16, 2018
openpose data conversion function
View code.gs
function openpose2csv(sheetname,flg){
//sheetname = openpose data sheet, flg = "body" or "face"
var ss = SpreadsheetApp.getActiveSpreadsheet();
sheet=ss.getSheetByName(sheetname);
var endrow=sheet.getLastRow();
logarray=sheet.getRange(1,1,endrow,2).getValues();
var jsonData;
var resultarray = [];
var fieldarray = [];
View gist:f6fa02c3e90e72a32af4cd6d000d6556
import scorer
import cv2
import pycurl #Line Notifyへの通知に必要 $pip3 install --user pycurlで導入
from time import sleep
from datetime import datetime, timedelta
#HAAR分類器の顔検出用関連設定
cascade_path = "haarcascade_frontalface_alt.xml"
color = (255, 255, 255) #白
You can’t perform that action at this time.