Code Monkey home page Code Monkey logo

faster_rcnn_as_ros_server's Introduction

Faster_RCNN_as_ROS_Server

Faster_RCNN_as_ROS_Server

This is a ROS Server served as an Object Detection using Faster_RCNN Method. Given an image and then output bbox information.

This idea comes form FasterRCNN

This code is modified from py-faster-rcnn, but I modified it as a ROS server to do specific task for object Recognition in PROGRESSLAB

DEMO Instruction

To run this demo, you have to install caffe_model as mentioned in py-faster-rcnn in scripts folder and include a pretrained .caffemodel file. For model to download, please contact me [email protected]

Detail Usage

  1. Please recursive clone my repo, make sure you have included caffe-fast-rcnn folder in scripts folder
  2. In scripts/caffe-fast-rcnn folder, make sure you have changed the branch to faster-rcnn branch, not master branch
  3. In scripts/caffe-fast-rcnn folder, make a copy of Makefile.config.example as Make.config and uncomment the line: WITH_PYTHON_LAYER := 1
  4. In scripts/caffe-fast-rcnn folder, add opencv_imgcodecs in file Makefile. It is around the line 174 in LIBRARIES variable. Then run make and make python. And pip install scikit-image, easydict, protobuf, cython, apt-get install python-opencv
  5. In scripts/data/demo folder, include test images and make sure in client.py in scripts folder has specified the path of these test images.
  6. In scripts/data/faster_rcnn_models, include pretrained model and make sure in demo.py in scripts folder has specified the path of pretrained model.
  7. Run demo.py first, then run client.py

The demo video is shown on following youtube link demo

Use demo.py

Use --net NET_NAME to indicate which trained model to use, as being specified in

NETS = {key: (name of folder, model name, pre-trained or not, tuples of class)}

faster_rcnn_as_ros_server's People

Contributors

versechow avatar zengzhen avatar

Stargazers

Shiyang Lu avatar

Watchers

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