Giter Site home page Giter Site logo

messixpro / bb8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haoruozhang/bb8

0.0 2.0 0.0 531 KB

A Scalable, Accurate, Robust to Partial Occlusion Method for Predicting the 3D Poses of Challenging Objects without Using Depth

Python 100.00%

bb8's Introduction

BB8 - A Scalable, Accurate, Robust to Partial Occlusion Method for Predicting the 3D Poses of Challenging Objects without Using Depth

Author: Mahdi Rad <[email protected], [email protected]>

Requirements:

  • OS
    • Ubuntu 14.04
    • CUDA 8
  • via Ubuntu package manager:
    • python2.7
    • python-numpy
    • python-pip
    • OpenCV
  • via pip install:
    • theano (0.9)
    • sharedmem

For a description of our method see:

M. Rad, and V. Lepetit. BB8: A Scalable, Accurate, Robust to Partial Occlusion Method for Predicting the 3D Poses of Challenging Objects without Using Depth. In Proc. IEEE Int'l Conf. on Computer Vision, 2017, or the project page.

Setup:

  • Put dataset files into ./data. We provide the Cat data which contains some images of the Cat of the LINEMOD dataset (Hinterstoisser et al.) in the format our code requires. Unzip the file and put it in: ./data/LINEMOD/objects/ or download the full dataset from here. For the original dataset visit http://campar.in.tum.de/Main/StefanHinterstoisser. For more info see dataset info.
  • Goto ./src and see the generate_data.py file parameters to generate data. Set the bg_path to directory of background images (ImageNet). Change load_objs_to_memory function, regarding the objects of the interest and the dataset, which you want to use.

Train BB8:

For training BB8, we use first 7 pre-trained VGG-16 convolutional weights. You can download the weights here, and put it in the weights directory (./weights). Train BB8 using following command:

python src/train.py --config src/bb8.yaml

Note that if there is only one object of interest, we can replace VGG-16 by a simpler architecture BB8-tiny, the computation time then become less, with similar accuracy.

Train BB8-tiny:

Train BB8-Tiny using following command:

python src/train.py --config src/bb8_tiny.yaml

Test BB8:

Test BB8 using following command:

python src/test.py

Datasets:

S. Hinterstoisser, V. Lepetit, S. Ilic, S. Holzer, G. Bradski, K. Konolige, and N. Navab. Model Based Training, De- tection and Pose Estimation of Texture-Less 3D Objects in Heavily Cluttered Scenes. In ACCV, 2012.

O. Russakovsky, J. Deng, H. Su, J. Krause, S.Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, A. Berg, and L. Fei-Fei. Imagenet Large Scale Visual Recog- nition Challenge. IJCV, 115(3):211โ€“252, 2015.

bb8's People

Contributors

radmahdi avatar

Watchers

James Cloos 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.