Skip to content

Instantly share code, notes, and snippets.

View koyamalmsteen's full-sized avatar

YUKINOBU KOYAMA koyamalmsteen

View GitHub Profile
#include <AbsMouse.h>
#define DEBUG
#define WAIT 100
#define FHD // 1920x1080
//#define WXGA_PLUS // 1440x900
//#define FWXGA // 1366x768
//#define SXGA // 1280x1024
//#define WXGA // 1280x800
#include "Keyboard.h"
#define stopDagik 3
#define startDagik 4
#define stopCCV 5
#define startCCV 6
#define subtractBG 7
#define stopDTC 8
#define startDTC 9
Start-Process -FilePath $HOME\DTC\bin\DTCV4.jar
Get-WmiObject Win32_Process | where {$_.NAME -eq 'javaw.exe'} | where {$_.CommandLine -like '*DTCV4.jar*'} | foreach {$_.Terminate()|Out-Null}
Stop-Process -Name CCV
# cd "C:\Program Files (x86)\NUI Group\Community Core Vision"
start-Process -FilePath "C:\Program Files (x86)\NUI Group\Community Core Vision\CCV.exe" -WorkingDirectory "C:\Program Files (x86)\NUI Group\Community Core Vision"
# cd $HOME\DTC\bin
#include <Keyboard.h>
//
// This program is for Google Chrome with DagikEarth
// https://gist.github.com/koyamalmsteen/4e5b845e796d522b5a101d8c9f4f5304
//
#define ButtonForward 8
#define ButtonBack 9
#
# subtractBG.ps1 for PowerShell 5.1.
#
# Yukinobu KOYAMA
#
add-type -AssemblyName microsoft.VisualBasic
add-type -AssemblyName System.Windows.Forms
$ps = Get-Process | Where-Object {$_.Name -eq "CCV"}
# I referred https://qiita.com/yuishihara/items/3f0adf0877cd8fe1c394 and modif\
ied
import scipy
import numpy as np
import lmdb
import sys
from caffe.io import caffe_pb2
def main():
argv = sys.argv
//---------------------------------------------------------------//
//
// Real-time Clock retrieving tools.
//
// by Yukinobu KOYAMA(https://orcid.org/0000-0001-5363-3870)
//
//--------------------------------------------------------------//
//
// for RTC ZS-042 Setting
// I used the v1.1 library by http://rinkydinkelectronics.com/library.php?id=73.