Skip to content

Instantly share code, notes, and snippets.

View UnaNancyOwen's full-sized avatar

Tsukasa Sugiura UnaNancyOwen

View GitHub Profile
@UnaNancyOwen
UnaNancyOwen / Eigen.md
Last active August 22, 2024 10:44
Building Eigen with Visual Studio
@UnaNancyOwen
UnaNancyOwen / QVTK6.md
Last active August 2, 2024 05:42
Building QVTK with Visual Studio
@UnaNancyOwen
UnaNancyOwen / PCL1.10.0.md
Last active August 1, 2024 06:56
Building PCL with Visual Studio
@UnaNancyOwen
UnaNancyOwen / find_avx.cmake
Last active July 22, 2024 17:58
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 / CMakeLists.txt
Last active June 12, 2024 00:21
CMakeLists for OpenCV that installed using Vcpkg
cmake_minimum_required( VERSION 3.0 )
set( CMAKE_TOOLCHAIN_FILE "C:/vcpkg/scripts/buildsystems/vcpkg.cmake" )
# Create Project
project( solution )
add_executable( project main.cpp )
# Set OpenCVConfig.cmake Search Directory
set( OpenCV_DIR )
if( NOT CMAKE_CL_64 )
@UnaNancyOwen
UnaNancyOwen / Boost1.55.0.md
Last active June 8, 2024 09:12
Building Boost with Visual Studio
@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active June 2, 2024 12:00
CMakeLists for OpenCV
cmake_minimum_required( VERSION 3.6 )
# Create Project
project( solution )
add_executable( project main.cpp )
# Set StartUp Project
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "project" )
# Find Package
@UnaNancyOwen
UnaNancyOwen / CMakeLists.txt
Last active May 13, 2024 10:36
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 / GLEW1.11.0.md
Last active May 7, 2024 08:34
Install GLEW for Windows
@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