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 May 19, 2023 14:01
Drawing Point Cloud retrieve from Velodyne VLP-16
cmake_minimum_required( VERSION 2.8 )
# Create Project
project( solution )
add_executable( project main.cpp )
# Set StartUp Project (Option)
# (This setting is able to enable by using CMake 3.6.0 RC1 or later.)
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "project" )
@UnaNancyOwen
UnaNancyOwen / interactive-select-rect-in-image-using-tensorflow-colab-utils-on-google-colab.ipynb
Created May 1, 2023 09:15
Interactive Select Rect in Image using TensorFlow Colab Utils on Google Colab.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@UnaNancyOwen
UnaNancyOwen / Docs.md
Last active April 27, 2023 05:37
How to Generate PCL Documents and Tutorials
@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active April 26, 2023 09:27
Basic CMakeLists for PCL
cmake_minimum_required( VERSION 2.8 )
# Create Project
project( solution )
add_executable( project main.cpp )
# Set StartUp Project (Option)
# (This setting is able to enable by using CMake 3.6.0 RC1 or later.)
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "project" )
@UnaNancyOwen
UnaNancyOwen / FindOrbbecSDK.cmake
Created April 9, 2023 07:29
CMake Find Package Module for Orbbec SDK 1.x
#.rst:
# FindOrbbecSDK
# ---------
#
# Find Orbbec SDK include dirs, and libraries.
#
# IMPORTED Targets
# ^^^^^^^^^^^^^^^^
#
# This module defines the :prop_tgt:`IMPORTED` targets:
@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 / main.cpp
Last active December 27, 2022 14:31
Convert to cv::Mat from pcl::PointCloud<pcl::PointXYZRGBA> that retrieved from Kinect v1/v2 sensor using KinectGrabber/Kinect2Grabber
if( !cloud->empty() ){
// Create cv::Mat
image = cv::Mat( cloud->height, cloud->width, CV_8UC4 );
// pcl::PointCloud to cv::Mat
#pragma omp parallel for
for( int y = 0; y < image.rows; y++ ) {
for( int x = 0; x < image.cols; x++ ) {
pcl::PointXYZRGBA point = cloud->at( x, y );
image.at<cv::Vec4b>( y, x )[0] = point.b;
@UnaNancyOwen
UnaNancyOwen / Eigen.md
Last active November 22, 2022 05:57
Building Eigen with Visual Studio
@UnaNancyOwen
UnaNancyOwen / librealsense2.10.1.md
Last active October 17, 2022 04:38
Building RealSense SDK 2 (librealsense2) with Visual Studio
@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 )