Giter Site home page Giter Site logo

m516 / cv-sandbox Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 2.0 65.99 MB

Just a random assortment of computer vision projects.

Home Page: https://m516.github.io/CV-Sandbox/

License: MIT License

CMake 3.99% C++ 30.21% Batchfile 0.11% Shell 0.14% C 55.18% Cuda 9.64% Dockerfile 0.09% GLSL 0.63%
computer-vision cpp glew glfw opencv imgui imgui-glfw sandbox glad raytracing

cv-sandbox's Introduction

Build issues forks stars license

Computer Vision Sandbox

Project 06: Raytracing

All my personal, non-academic computer vision research lies here.

So far, all my projects are written in C++. This allows me to practice using standard, free tools to make fast, lightweight standalone applications that are relatively easy to integrate with hardware like GPUs and TPUs. Check out my setup at docs/setup.md

Libraries

Name Installation instructions License Github Repository
OpenCV official instructions as of 7/13/2020 (volatile) 3-clause BSD License yes
GLAD Included in project (Unofficial instructions) (path to KHR library modified) Varies Generator
GLFW Included in project (Official instructions) zlib license yes
ImGui Included in project (static library) MIT License yes

Note that, though my source code is released under the MIT license, cloning this repository may still bind you to the licenses of the libraries listed above.

Projects

Here are all my projects so far:

Name Description
Hello World A basic project that loads with OpenCV and displays it in a window
Hello GLFW A basic project that creates a window and an OpenGL context with GLFW and GLAD
Hello ImGui A basic project that uses the GLFW window created from project 02 to create a simple Gui with ImGui
GLFW and OpenCV A combination of Projects 01 and 02, loading an image with OpenCV and displaying the generated OpenCV Mat with GLFW
GLFW and OpenCV and ImGui A combination of Projects 03 and 04, loading an image with OpenCV and displaying the generated OpenCV Mat with GLFW on an ImGui window
Raytracing in One Weekend My GUI setup, applied with the book Ray Tracing in One Weekend, in attempt to interactively render 3D images via ray tracing
Hello CUDA A basic program written in CUDA C++
CUDA and OpenGL A basic program written in CUDA to modify an OpenGL texture using a per-pixel function
OpenCV Video Template A template program for video analysis with OpenCV
Convolution Benchmark A whole suite of eight janky matrix convolution implementations in C. Plus benchmark software to assess my incompetence!
GL Game Recreating a game to explore graphics programming with OpenGL

Make it Yours

This project can be a template for your projects too.

Each project is a folder under src/, which contains all source code for that project and a CMake script to build that code, as shown below and in the src folder:

src/
  01_Hello_World/   <----+
    CMakeLists.txt       |
    sources.cpp          |  The Hello World project
    headers.hpp          |__________________________
  02_Hello_GLFW/    --------------------------------
    CMakeLists.txt
    sources.cpp
    headers.hpp
  ...

The root-level build scripts search for subfolders of src with CMakeLists.txt and include them into the project, so no modifications to the other build scripts are necessary.

Notes:

  • A template CMake file is available.
  • I personally tend to copy one of the first few projects because they're already minimal, buildable, runnable projects.
  • Don't set EXECUTABLE_NAME to be the same name in two different projects. CMake does not allow creating two executables with the same name.
  • MEDIA_DIRECTORY can be used to get the full path of the asset folder in all files of all projects.
    • WARNING: this is a C macro and is only recalculated during builds

cv-sandbox's People

Contributors

m516 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cv-sandbox's Issues

windows building steps

Hi,

Thanks for your great work. Can you please update more detailed scripts for building projects on the Windows platform? thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.