Skip to content

Instantly share code, notes, and snippets.

Tsukasa Sugiura UnaNancyOwen

View GitHub Profile
@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active May 28, 2020
Convert Utility for Point Cloud of Open3D and PCL
View CMakeLists.txt
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 Jun 25, 2020
How to generate PCL All-in-one Installer
View installer.md

How to generate PCL All-in-one Installer

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

Development Environment

Require

View CMakeLists.txt
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 )
View taskscheduler.md

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

概要

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

想定ケース

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

@UnaNancyOwen
UnaNancyOwen / build-opencv.sh
Last active Apr 3, 2020
Shell Script for SetUp OpenCV
View build-opencv.sh
#!/bin/sh
sudo apt update
## Install Dependencies (Build Tools)
sudo apt install -y build-essential
sudo apt install -y cmake
sudo apt install -y cmake-curses-gui
sudo apt install -y ninja-build
sudo apt install -y pkg-config
## Install Dependencies (GUI)
sudo apt install -y libgtk-3-dev
@UnaNancyOwen
UnaNancyOwen / install-realsense-sdk.sh
Last active Mar 25, 2020
Shell Script for SetUp RealSense SDK
View install-realsense-sdk.sh
#!/bin/sh
# Shell Scripts for Install RealSense SDK from Package
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
sudo apt install -y librealsense2-utils
sudo apt install -y librealsense2-dev
@UnaNancyOwen
UnaNancyOwen / README.md
Last active May 27, 2020
Shell Script for SetUp Azure Kinect SDK
View README.md

Shell Script for SetUp Azure Kinect SDK

This is shell script for setup Azure Kinect SDK (Azure Kinect Sensor SDK/Azure Kinect Body Tracking SDK).
You can easily setup Azure Kinect SDK on Ubuntu 18.04 LTS (ARM64, AMD64) using this script.
If you run script and it succeeds, Azure Kinect Viewer will launch.

How To Use

@UnaNancyOwen
UnaNancyOwen / fan.sh
Last active Apr 29, 2020
Utility Shell Script for Jetson
View fan.sh
# Start Fan [0-255]
echo 255 | sudo tee /sys/devices/pwm-fan/target_pwm
@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active Nov 6, 2019
PNG-like lossless image compression/decompression using Zpng
View CMakeLists.txt
cmake_minimum_required( VERSION 3.6 )
# Language
enable_language( CXX )
# Compiler Settings
set( CMAKE_CXX_STANDARD 11 )
set( CMAKE_CXX_STANDARD_REQUIRED ON )
set( CMAKE_CXX_EXTENSIONS OFF )
View record.hpp
/*
This is C++ wrapper for Record API of Azure Kinect Sensor SDK.
Copyright (c) 2019 Tsukasa Sugiura <t.sugiura0204@gmail.com>
Licensed under the MIT license.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
You can’t perform that action at this time.