Giter Club home page Giter Club logo

rscvdnn's Introduction

rscvdnn

A Visual C++ project to test run the OpenCV DNN object detection with RealSense camera. The GUI utilizes a modified version of gorgeous nanogui and use OpenGL shader to render video streams.

The Deep Neural Network part of codes are derived from MobileNet Single-Shot Detector example of OpenCV. The trained Caffe model (included in project resources) is loaded at the beginning and used to classify 20 object classes from RGB image. Note that only the center square ROI is the hot detecting spot, the unused side bands shall turn gray by design. For each detected object, the distance is estimated from its detected location within corresponding depth frame.

Screenshot

A test run video captured from screen is available on YouTube here.

screenshot_eng screenshot_zh_TW

Build Instruction

This VC++ project rely on the integration environment of vcpkg ports. Follow the instruction to install vcpkg and run .\vcpkg integrate install, then install following dependency ports with .\vcpkg install <port_name>:x64-windows:

  • opencv
  • realsense2
  • poco
  • eigen3
  • stb
  • glfw3

, where eigen3, glfw3, and stb ports need to setup additional static liked packages for nanogui to build. Please create a file "x64-windows-static-md.cmake" in vcpkg/triplets folder with the following contents,

set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)

, then install these three ports with .\vcpkg install <port_name>:x64-windows-static-md.

rscvdnn's People

Contributors

twmr7 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  avatar  avatar  avatar  avatar  avatar  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

rscvdnn's Issues

Link back

Hello @twMr7 and the team,
Awesome demo. We would love to link-back to your work from our GitHub, would that be Ok?

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.