Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitmul/chainer-fast-rcnn
Chainer folk of Fast R-CNN (Object Detection Method)
https://github.com/mitmul/chainer-fast-rcnn
Last synced: 6 days ago
JSON representation
Chainer folk of Fast R-CNN (Object Detection Method)
- Host: GitHub
- URL: https://github.com/mitmul/chainer-fast-rcnn
- Owner: mitmul
- Created: 2015-10-30T12:15:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-29T05:28:46.000Z (almost 9 years ago)
- Last Synced: 2024-10-14T12:37:01.871Z (20 days ago)
- Language: Python
- Homepage: https://github.com/rbgirshick/fast-rcnn
- Size: 137 KB
- Stars: 52
- Watchers: 4
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chainer-fast-rcnn
It aims at reproducing results of [fast-rcnn](https://github.com/rbgirshick/fast-rcnn) using [Chainer](https://github.com/pfn/chainer). It can be run only with GPU because roi_pooling_2d layer has only GPU implementation.
## Requirements
- [OpenCV 3.0 with python bindings](http://opencv.org)
- [Chainer 1.4](https://github.com/pfn/chainer)
- [fast-rcnn](https://github.com/rbgirshick/fast-rcnn)
- [dlib v18.18](https://github.com/davisking/dlib)## Create symlink
Create a symlink from the location of original [fast-rcnn](https://github.com/rbgirshick/fast-rcnn) dir to this project's root dir. (The below line assumes a environment variable `$FRCN_ROOT` has a path to the `fast-rcnn` source dir.)
```
$ ln -s $FRCN_ROOT ./
```Make sure that all steps written in the `Installation (sufficient for the demo)` section of `README.md` in [fast-rcnn](https://github.com/rbgirshick/fast-rcnn) have been performed.
## Convert model
Convert caffemodel to chainermodel.
```
$ python scripts/load_net.py
```## Test
First you should prepare a sample image, and then
```
$ python scripts/forward.py --img_fn sample.jpg --out_fn result.jpg
```### Result
![](https://raw.githubusercontent.com/wiki/mitmul/chainer-fast-rcnn/images/result.jpg)
'Overstekend wild' St. Janskerkhof Den Bosch © FaceMePLS (https://www.flickr.com/photos/faceme/5891724192)