Skip to content

GiuliaP/himrep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hierarchical IMage REPresentation

ZenHub

Table of Contents

Repository Structure

This repository contains a collection of modules to extract features from images or to perform classification tasks on feature vectors. These modules are meant to be used by other demos to build object recognition pipelines.

At present, the following modules for feature extraction are available:

  • caffeCoder
  • GIECoder
  • sparseCoder

Each of them takes as input an image and outputs its vector representation.

The linearClassifierModule instead implements a linear classifier which can be trained and tested on feature vectors. It is included in this repository because its main usage so far has been on top of a feature extraction module in order to perform image classification, but it can be used on any kind of vectors. While the module is currently in use on our platforms providing good performance, we are working to upgrade it in order to make it faster and more accurate.

Installation

Dependencies

While

are needed by all modules, the following dependencies are required only if you plan to build the corresponding module:

  • LIBLINEAR: needed by linearClassifierModule
  • SiftGPU: needed by sparseCoder
  • Caffe: needed by caffeCoder
  • TensorRT: needed by GIECoder
  • CUDA and cuDNN: optional for caffeCoder but mandatory for GIECoder

Instructions on how to setup the dependencies for each module can be found in specific README files:

  • caffeCoder: link to README
  • GIECoder: link to README
  • sparseCoder: link to README
  • linearClassifierModule: link to README

Compilation

Get the code:

$ git clone https://github.com/robotology/himrep.git

And then do, as usual:

$ cd himrep
$ mkdir build && cd build
$ ccmake ../

Where you will configure the project by setting to ON the modules you want to compile and to OFF the ones you want to skip.

IMPORTANT When you run the ccmake command, ensure that:

  • the CMAKE_INSTALL_PREFIX points to the icub-contrib-common installation directory
  • the YARP_DIR, ICUB_DIR, OpenCV_DIR are correctly pointing to valid installation paths

After that, you can compile and install as usual:

$ make
$ make install

Documentation

Online autogenerated documentation is available here: http://robotology.github.com/himrep.

License

Material included here is Copyright of iCub Facility - Istituto Italiano di Tecnologia and is released under the terms of the GPL v2.0 or later. See the file LICENSE for details.

About

Hierarchical Image Representation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 68.2%
  • C 22.5%
  • CMake 4.8%
  • Python 3.8%
  • Other 0.7%