Skip to content

Instantly share code, notes, and snippets.

View UnaNancyOwen's full-sized avatar

Tsukasa Sugiura UnaNancyOwen

View GitHub Profile
@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active August 10, 2022 02:17
Start Project for Point Cloud Library
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 )
tench
goldfish
great white shark
tiger shark
hammerhead
electric ray
stingray
cock
hen
ostrich
@UnaNancyOwen
UnaNancyOwen / Body.cpp
Last active March 15, 2022 05:53
How to use Joint Smoothing
// Body.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
// This source code is licensed under the MIT license. Please see the License in License.txt.
// "This is preliminary software and/or hardware and APIs are preliminary and subject to change."
//
#include "stdafx.h"
#include <Windows.h>
#include <Kinect.h>
#include "KinectJointFilter.h"
#include <opencv2/opencv.hpp>
@UnaNancyOwen
UnaNancyOwen / README.md
Created October 13, 2021 09:43
OpenCV DNN Object Detection Model (Scaled YOLOv4) Sample

OpenCV DNN Object Detection Model (Scaled YOLOv4) Sample

  • Input
    input

  • Output
    output

Download

@UnaNancyOwen
UnaNancyOwen / vcpkg_qtcreator.md
Last active December 21, 2021 18:05
How to use Qt that installed by Vcpkg with Qt Creator

How to use Qt that installed by Vcpkg with Qt Creator

(0) Install Qt using Vcpkg

Vcpkgを使用してQtをインストールする。(e.g. C:\vcpkg)

cd C:\vcpkg
.\vcpkg install qt5:x64-windows
@UnaNancyOwen
UnaNancyOwen / libpng1.6.29.md
Last active December 5, 2021 08:47
Building libpng with Visual Studio

Building libpng 1.6.29 with Visual Studio

Download

  1. zlib 1.2.11(zlib1211.zip)をダウンロードしてファイを解凍する。(C:\zlib-1.2.11)
    https://zlib.net/

  2. libpng 1.6.29(libpng1629.zip)をダウンロードしてファイルを解凍する。(C:\lpng1629)

@UnaNancyOwen
UnaNancyOwen / matrix.py
Last active October 15, 2021 07:44
convert to matrix color
import os
import numpy as np
import cv2 as cv
def main():
# 画像を読み込む
directory = os.path.dirname(__file__)
image = cv.imread(os.path.join(directory, "image.jpg"))
if image is None:
exit()
@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) # カメラ