Giter Site home page Giter Site logo

hans-ob1 / neural_cam_dnn Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 129.74 MB

neural_cam module turn your usb camera into a smart camera that can detect objects it trained on. At the core is the state of the art deep learning (CNN) based on Darknet framework developed by Joseph Redmon.

CMake 6.96% Python 7.14% C++ 85.90%
cmake c cpp deep-learning yolo2

neural_cam_dnn's Introduction

Travis Codecov

neural_cam_dnn

neural_cam_dnn turns your USB camera into object detector that detect or classify objects it seen before. The backend framework used is darknet developed by Joseph Redmon. This version is a fork, modified to streamline training process and compiled with cmake. Feel free to modify to your own use with no warranty.

Current Feature:
  • training/evaluate yolo detector
Usage Details:
  • the compiled program would parse the content of setup.cfg file. Be sure to modify/fill up the content based on the model format given. Typically, if you want to train your own model, you need to include your own architecture, location of the training data, evaluation data if you have any.
Usage Steps:
  • (from the directory you installed)
  • mkdir build
  • cd build and cmake ..
  • make
  • ./main train (for training the detector, use darknet19_448.conv.23 in onroad_cfg/full_model_3class folder)
  • ./main eval (for evalution of the detector, e.g: "./main eval 0" means accessing "/dev/video0")
Changes: (from v1.7 onwards)
  • There are some issues with 16.04 with ROS installed concurrently. The problem exists float point exception
  • Opencv component is installed into image.c file, provide a more convenient way for loading images
  • Since Opencv function is used in the core libraries, Opencv 3.1 is required for cmake
  • Mat is fused with image struct instead of Ipllimage
  • setup.cfg is used for loading of configuration, just have to modify this file base on where you place your files
Requirements:
  • cmake 2.8 above
  • runs on opencv 3.1
  • ubuntu 14.04 above
  • cuda 7.5 above (modify the CMakeList.txt if you dont have a GPU!)
  • nvidia graphic driver 367.48

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.