Showing posts with label computer vision. Show all posts
Showing posts with label computer vision. Show all posts

Sunday, June 9, 2019

Point Cloud Library Install

I've been trying to get point clouds to work for days now. Manual installation is a pain in the ass due to the library's dozens of dependencies. The machine I'm compiling for is a windows 10 laptop. The solution to this was to use Microsoft's vcpkg, a package manager that I used in powershell.

.\vcpkg install pcl:x64-windows-static

Building all the dependencies and the PCL itself took 7.448 hours on my laptop. This was the result:

The package pcl:x64-windows-static provides CMake targets:

    find_package(PCL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE ${pcl_component})

.\vcpkg integrate install

Outputs:
Applied user-wide integration for this vcpkg root.

All MSBuild C++ projects can now #include any installed libraries.
Linking will be handled automatically.
Installing new libraries will make them instantly available.

CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake"

Thank you Stack Overflow!

Sunday, February 24, 2019

OLD: Rail Light

An interactive blackjack table:

Built with OPENCV and TouchDesigner.

Genesis:

Calibrate a table with opencv homography matrices:

Once table calibration is complete, you can manipulate digital animations based upon tangible objects. ;)

Real world chips, one stationary light source. Artificial light source emulation:

Bust Ahoy:

 Projections only where cards are dealt: