Skip to content

Instantly share code, notes, and snippets.

View UnaNancyOwen's full-sized avatar

Tsukasa Sugiura UnaNancyOwen

View GitHub Profile
@UnaNancyOwen
UnaNancyOwen / GLEW1.11.0.md
Last active May 7, 2024 08:34
Install GLEW for Windows
@UnaNancyOwen
UnaNancyOwen / PCL1.10.0.md
Last active May 7, 2024 04:29
Building PCL with Visual Studio
@UnaNancyOwen
UnaNancyOwen / find_avx.cmake
Last active February 22, 2024 04:01
Check for the presence of AVX and figure out the flags to use for it.
# Check for the presence of AVX and figure out the flags to use for it.
macro(CHECK_FOR_AVX)
set(AVX_FLAGS)
include(CheckCXXSourceRuns)
set(CMAKE_REQUIRED_FLAGS)
# Check AVX
if(MSVC AND NOT MSVC_VERSION LESS 1600)
set(CMAKE_REQUIRED_FLAGS "/arch:AVX")
@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 / VTK5.md
Last active January 9, 2024 09:32
Building VTK with Visual Studio
@UnaNancyOwen
UnaNancyOwen / FLANN1.8.4.md
Last active January 9, 2024 08:22
Building FLANN with Visual Studio
@UnaNancyOwen
UnaNancyOwen / LZ4_v1.9.4.md
Created January 9, 2024 08:15
Building lz4 with Visual Studio

Building LZ4 v1.9.4 with Visual Studio

Download

  1. LZ4 v1.9.4(lz4-1.9.4.zip)をダウンロードしてファイルを解凍する。(C:\lz4-1.9.4)
    https://github.com/lz4/lz4/releases/tag/v1.9.4

  2. CMakeLists.txtをvcpkgからダウンロードする。(C:\lz4-1.9.4\CMakeLists.txt)

@UnaNancyOwen
UnaNancyOwen / Boost1.55.0.md
Last active January 9, 2024 06:45
Building Boost with Visual Studio
@UnaNancyOwen
UnaNancyOwen / README.md
Last active December 17, 2023 04:01
Object Detection using YOLOX inferred by OpenCV DNN module

Object Detection using YOLOX inferred by OpenCV DNN module

  • Input
    dog

  • Output
    yolox_s

Download

@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active December 2, 2023 07:24
Convert Image in Each-Formats of Azure Kinect using OpenCV
cmake_minimum_required( VERSION 3.6 )
project( AzureKinect )
add_executable( AzureKinect util.h main.cpp )
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "AzureKinect" )
set( k4a_DIR "C:/Program Files/K4A/lib/cmake/k4a" CACHE PATH "Path to Azure Kinect SDK (K4A) config directory." )
find_package( k4a REQUIRED )