Git Product home page Git Product logo

bing's Introduction

BING

BING: Binarized Normed Gradients for Objectness Estimation at 300fps

This repository provides C++ code and matlab wrappers for both windows and linux.

Citations

If you are using the code provided here in a publication, please consider citing our paper:

@article{cheng2019bing,
  title={BING: Binarized normed gradients for objectness estimation at 300fps},
  author={Cheng, Ming-Ming and Liu, Yun and Lin, Wen-Yan and Zhang, Ziming and Rosin, Paul L and Torr, Philip HS},
  journal={Computational Visual Media},
  volume={5},
  number={1},
  pages={3--20},
  year={2019},
  month={Mar},
  publisher={Springer},
  doi={10.1007/s41095-018-0120-1},
  url={https://doi.org/10.1007/s41095-018-0120-1}
 }

Installation for the datasets

This package provides datasets for VOC2007 and COCO.

1. Installation for VOC2007

  • For VOC2007, extract datasets/VOC2007/Annotations.tar.gz and datasets/VOC2007/ImageSets.tar.gz into VOC2007 folder.
  • If you don't want to train the model of BING by yourself, datasets/VOC2007/Results.tar.gz should be extracted into VOC2007 folder, too.
  • JPEGImages folder from VOC2007 dataset is not included due to its size.

So, the VOC2007 folder should have this basic structure:

$VOC2007/
$VOC2007/Annotations/
$VOC2007/ImageSets/
$VOC2007/JPEGImages/
$VOC2007/Results/

2. Installation for COCO

The installation for COCO is similar to VOC2007.

  • Since COCO only has train set and val set, we regard val set as test set here.
  • The names of images in COCO are like COCO_val2014_000000000042.jpg. However, we only use the last six number of their names for convenience, like 000042.jpg. And you should put images of train set and val set into JPEGImages folder together.

Make the COCO folder like:

$COCO/
$COCO/Annotations/
$COCO/ImageSets/
$COCO/JPEGImages/
$COCO/Results/

Installation for the software

This package provides code for Linux and Windows.

1. Installation on Linux

Tested on Ubuntu 15.04 with OpenCV 3.0.

To build:

mkdir build
cd build
cmake ..
make

To run:

./BING/BING /path/to/data/ (e.g. /datasets/VOC2007/)

2. Installation on Windows

Tested on Windows 10 with Visual Studio 2013, Opencv 3.0.

Notes:

  • You can change the path of dataset in line 24, Main.cpp.
  • Please run the code under Release, x64 mode.

3. Installation for matlab wrappers

First, check the environments as described above. Then, build.m contains some commands to build the mex function; mexBING is the wrapper of BING algorithm; and runDataset.m use mexBING to run the dataset.

bing's People

Contributors

yun-liu 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.