object-detection-algorithm / selectivesearch

目标检测 - SelectiveSearch算法实现

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

selectivesearch

Documentation Status standard-readme compliant Conventional Commits Commitizen friendly

selectivesearch算法实现

OpenCV实现了论文Selective Search for Object Recognition提供的选择性搜索算法。当前仓库将整个工程进行重构,以便进一步的学习和使用

当前在Ubuntu 18.04下使用OpenCV 4.2.0

内容列表

背景

选择性搜索算法是R-CNN算法的一部分。仓库 AlpacaDB /selectivesearch实现了python版本;同时OpenCV也提供了选择性搜索算法的C++源码,不过里面封装的比较好,其源文件中包含了多个类定义和函数实现。为了更方便的学习选择性搜索算法,我将其实现进行了重构

安装

本地编译文档

$ pip install -r requirements.txt

本地编译程序

需要预先安装以下工具:

# Ubuntu 18.04
$ sudo apt install gcc g++ make cmake 

用法

文档浏览

有两种使用方式

  1. 在线浏览文档:selectivesearch

  2. 本地浏览文档,实现如下:

    $ git clone https://github.com/zjZSTU/selectivesearch.git
    $ cd selectivesearch
    $ mkdocs serve
    

    启动本地服务器后即可登录浏览器localhost:8000

编译程序

编译如下:

$ cd cplusplus
$ cmake -S . -B cmake-build
$ cd cmake-build/
$ make

测试如下:

$ ./selectivesearch ../../imgs/000262.jpg q

主要维护人员

  • zhujian - Initial work - zjZSTU

致谢

引用

@article{UijlingsSelective,
  title={Selective Search for Object Recognition},
  author={Uijlings, J. R. R. and K. E. A. van de Sande…},
  journal={International Journal of Computer Vision},
  volume={104},
  number={2},
  pages={154-171},
}

参与贡献方式

欢迎任何人的参与!打开issue或提交合并请求。

注意:

许可证

Apache License 2.0 © 2020 zjZSTU

About

目标检测 - SelectiveSearch算法实现

License:Apache License 2.0


Languages

Language:C++ 94.6%Language:CMake 3.3%Language:Python 1.9%Language:C 0.2%