Skip to content

Instantly share code, notes, and snippets.

View UnaNancyOwen's full-sized avatar

Tsukasa Sugiura UnaNancyOwen

View GitHub Profile
@UnaNancyOwen
UnaNancyOwen / CloudViewer.cpp
Last active November 17, 2020 22:16
Drawing the Point Cloud retrieved from Kinect v2 using Point Cloud Library without Grabber
#include "stdafx.h"
#define NOMINMAX
#include <Windows.h>
#include <Kinect.h>
#include <pcl/visualization/cloud_viewer.h>
template<class Interface>
inline void SafeRelease( Interface *& pInterfaceToRelease )
{
@UnaNancyOwen
UnaNancyOwen / KinectSDK2.props
Created October 31, 2014 17:06
Property Sheet for Kinect for Windows SDK v2
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets"/>
<!-- Debug|Win32 -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@UnaNancyOwen
UnaNancyOwen / CloudViewer.cpp
Created November 12, 2014 15:35
Drawing the Point Cloud retrieved from Kinect v1 using Point Cloud Library without Grabber
#include "stdafx.h"
#define NOMINMAX
#include <Windows.h>
#include <NuiApi.h>
#include <pcl/visualization/cloud_viewer.h>
int _tmain( int argc, _TCHAR* argv[] )
{
// Create Sensor Instance
@UnaNancyOwen
UnaNancyOwen / PCLVisualizer1.cpp
Last active November 7, 2017 07:44
Drawing the Point Cloud using PCLVisualizer with Kinect v2 Grabber
// Disable Error C4996 that occur when using Boost.Signals2.
#ifdef _DEBUG
#define _SCL_SECURE_NO_WARNINGS
#endif
#include "kinect2_grabber.h"
#include <pcl/visualization/pcl_visualizer.h>
template <typename PointType>
class Viewer
@UnaNancyOwen
UnaNancyOwen / CustomGrabber.cpp
Last active August 29, 2015 14:10
Retrieve Body(Joint) from Kinect v2 using the CustomGrabber that inherit Kinect2Grabber
namespace pcl{
class CustomGrabber : public pcl::Kinect2Grabber
{
public:
CustomGrabber()
: source( nullptr )
, reader( nullptr )
{
result = sensor->get_BodyFrameSource( &source );
if( FAILED( result ) ){
@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 / GLEW1.11.0.md
Last active April 19, 2021 04:51
Install GLEW for Windows
@UnaNancyOwen
UnaNancyOwen / OpenNI2.props
Created January 31, 2015 13:42
Property Sheet for OpenNI2
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets"/>
<!-- Debug|Win32 -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@UnaNancyOwen
UnaNancyOwen / PCLVisualizer1.cpp
Last active May 19, 2016 04:53
Drawing the Point Cloud using PCLVisualizer with Kinect v1 Grabber
#include "stdafx.h"
// Disable Error C4996 that occur when using Boost.Signals2.
#ifdef _DEBUG
#define _SCL_SECURE_NO_WARNINGS
#endif
#include "kinect_grabber.h"
#include <pcl/visualization/pcl_visualizer.h>
@UnaNancyOwen
UnaNancyOwen / OpenCV3.props
Last active December 23, 2017 09:57
Property Sheet for OpenCV 3.x
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets"/>
<!-- Debug|Win32 -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>