Skip to content
Faster R-CNN for ncnn framework
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Faster_rcnn.cbp
README.md
Traffic.jpg
ZF_faster_rcnn_final.proto
fasterrcnn.cpp

README.md

Faster_RCNN_ncnn for the ncnn framework

Papers
https://papers.nips.cc/paper/5638-faster-r-cnn-towards-real-time-object-detection-with-region-proposal-networks.pdf
Training set: VOC2007
Size: 600x600 (!)
Prediction time: 26042 mSec(!) (RPi 4)

Special made for a bare Raspberry Pi see: https://qengineering.eu/opencv-c-examples-on-raspberry-pi.html

To extract and run the network in Code::Blocks
$ mkdir MyDir
$ cd MyDir
$ wget https://github.com/Qengineering/Faster_RCNN_ncnn/archive/master.zip
$ unzip -j master.zip
Remove master.zip and README.md as they are no longer needed.
$ rm master.zip
$ rm README.md

Your MyDir folder must now look like this:
Traffic.jpg
ZF_faster_rcnn_final.bin (download this file from: https://drive.google.com/open?id=1w3F4PL03SVtvoS_ux_GfCkY0YLMGH-yA )
ZF_faster_rcnn_final.proto
Faster_rcnn.cpb
fasterrcnn.cpp

Run Faster_rcnn.cpb with Code::Blocks. Remember, you also need a working OpenCV 4 on your Raspberry.

output image

You can’t perform that action at this time.