Skip to content

Instantly share code, notes, and snippets.

View UnaNancyOwen's full-sized avatar

Tsukasa Sugiura UnaNancyOwen

View GitHub Profile
@UnaNancyOwen
UnaNancyOwen / README.md
Last active January 19, 2024 07:00
OpenCV ObjDetect Module Face Recognition (SFace) Sample

OpenCV ObjDetect Module Face Recognition (SFace) Sample

    1. Generate Aligned Faces
    python generate_aligned_faces.py image.jpg
    
    • Input
      input
@UnaNancyOwen
UnaNancyOwen / README.md
Last active September 4, 2023 11:07
OpenCV ObjDetect Module Face Detection (YuNet/libfacedetection) Sample

OpenCV ObjDetect Module Face Detection (YuNet/libfacedetection) Sample

  • Input
    input

  • Output
    output

Download

@UnaNancyOwen
UnaNancyOwen / README.md
Last active October 5, 2021 23:43
OpenCV DNN Module Edge Detection (HED) Sample

Edge Detection (Holistically-Nested Edge Detection)

  • Input
    input

  • Output
    edge_with_customlayer

Download

@UnaNancyOwen
UnaNancyOwen / goturn.py
Last active September 30, 2021 01:55
OpenCV Video Module GOTURN Tracker Sample
import os
import sys
import cv2 as cv
import numpy as np
def main():
# キャプチャを開く
directory = os.path.dirname(__file__)
#capture = cv.VideoCapture(os.path.join(directory, "test.mp4")) # 画像ファイル
capture = cv.VideoCapture(0) # カメラ
@UnaNancyOwen
UnaNancyOwen / k4a.bat
Last active July 31, 2021 01:55
Install Script for Azure Kinect Sensor SDK
ver
cmake --version
git --version
cd C:\
git clone https://github.com/microsoft/Azure-Kinect-Sensor-SDK.git --recursive
cd Azure-Kinect-Sensor-SDK
git checkout -b v1.4.1 refs/tags/v1.4.1
curl -O https://patch-diff.githubusercontent.com/raw/microsoft/Azure-Kinect-Sensor-SDK/pull/1560.patch
git apply 1560.patch
mkdir build && cd build
@UnaNancyOwen
UnaNancyOwen / README.md
Last active July 17, 2021 00:10
utility functions for query serial number and open device by specify serial number

Query Serial-Number from All Connected Devices and Open Device by specify Serial-Number

About

This is utility functions for query serial number and open device by specify serial number.
You can open device by specify serial number in Azure Kinect SDK similar to RealSense SDK.
I think these functions will be useful for all Azure Kinect developers.

@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active February 3, 2023 09:00
utility functions for point cloud type interconversion between PCL and Open3D
cmake_minimum_required( VERSION 3.6 )
# Language
enable_language( CXX )
# Compiler Settings
set( CMAKE_CXX_STANDARD 17 )
set( CMAKE_CXX_STANDARD_REQUIRED ON )
set( CMAKE_CXX_EXTENSIONS OFF )
@UnaNancyOwen
UnaNancyOwen / installer.md
Last active June 25, 2020 23:31
How to generate PCL All-in-one Installer

How to generate PCL All-in-one Installer

このドキュメントではPCL All-in-one Installerを生成する手順を解説します。
この手順には手作業が多く含まれており、ユーザーが正しく再現できるかどうかわかりません。
そのため、個別のサポートやご質問にはお応え致しかねますでご了承下さい。

Development Environment

Require

cmake_minimum_required( VERSION 3.6 )
# Require C++17 (or later)
set( CMAKE_CXX_STANDARD 17 )
set( CMAKE_CXX_STANDARD_REQUIRED ON )
set( CMAKE_CXX_EXTENSIONS OFF )
# Create Project
project( Sample )
add_executable( Project main.cpp )

タスクスケジューラーの設定

概要

Windowsのタスクスケジューラーでプログラムを定期的に実行するノウハウを共有する。

想定ケース

プログラム(program.exe)を毎日特定の時間に起動する。