Giter Site home page Giter Site logo

nigroup / ni_vision Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 136.01 MB

A computer vision system for rapid search inspired by surface-based attention mechanisms from human perception

License: BSD 2-Clause "Simplified" License

Shell 0.27% CMake 6.13% TeX 3.88% C++ 88.91% C 0.74% Python 0.07%

ni_vision's Introduction

The NI Vision Libraries and Packages

This project implemets the methods described in A computer vision system for rapid search inspired by surface-based attention mechanisms from human perception as ROS nodes in C++.

Original Contributors

Jong-han Park, Fritjof Wolf, Johannes Mohr

License and Citation

The code for this project is released under the BSD 2-Clause license.

Please cite the ni_vision project in your publications if it helps your research:

@article{Mohr2014,
  author = {Mohr, Johannes and Park, Jong-han and Obermayer, Klaus},
  doi = {10.1016/j.neunet.2014.08.010},
  issn = {0893-6080},
  journal = {Neural Networks},
  pages = {182--193},
  title = {{A computer vision system for rapid search inspired by surface-based attention mechanisms from human perception}},
  url = {http://dx.doi.org/10.1016/j.neunet.2014.08.010},
  volume = {60},
  year = {2014}
}

Getting your build up and running

Prepwork

Install ROS Hydro

Download and build GTest:

Indeed testing with GTest is enabled by catkin. However, since we also rely on OpenCV, OpenCV's GTest symbols conflict with those provided by catkin and executing the tests results in a malloc error.

Using gtest with cv_bridge fails Issue: cv_bridge exposes internal GTest symbols from OpenCV and/or links incorrectly

GTest source and build can go outside your catkin workspace.

  • mkdir ~/src
  • Download GTest
  • unzip to ~/src
  • cd ~/src/gtest-1.7.0
  • cmake . # perform an in-source build
  • make

Download and build the ELM libraries:

ELM source and build can go outside your catkin workspace.

  • mkdir ~/src # unless you've alreaded created it
  • cd ~/src
  • git clone [email protected]:kashefy/elm.git
  • mkdir -p ~/build/elm/ros_static
  • cd ~/build/elm/ros_static

For CMake >= 2.8.9:

  • cmake -DBUILD_SHARED_LIBS=OFF -DGTEST_ROOT=~/src/gtest-1.7.0 ~/src/elm

For earlier versions of CMake:

  • cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_FLAGS="-fPIC" -DGTEST_ROOT=~/src/gtest-1.7.0 -DOpenCV_DIR=/opt/ros/hydro/share/OpenCV/OpenCVConfig.cmake ~/src/elm

  • make -j2

Building the NI Vision Libraries and packages:

  • mkdir ~/catkin_ws # Create a catkin workspace
  • mkdir ~/catkin_ws/src # Create a src sub directory
  • clone this repository to ~/catkin_ws/src/. You'll end up with ~/catkin_ws/src/ni_vision
  • catkin_make --cmake-args -DGTEST_ROOT=/src/gtest-1.7.0 -DELM_DIR=/build/elm/ros_static

Running the unittests for target ni: ~/catkin_ws/devel/lib/ni/run_ni_unittests

ni_vision's People

Contributors

kashefy avatar fritjofwolf avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar Robert Meyer avatar  avatar

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.