Practical overview
When it fits
Use it when a Python project needs a region-based neural-network workflow and the documented Keras and TensorFlow dependency versions fit the intended environment.
Who it is for
- Developers building Keras-based computer-vision workflows.
- Researchers or learners exploring region-based object detection with labeled image data.
Documented uses
- Prepare training and validation data with object categories and bounding-box annotations.
- Construct, compile and train an RCNN using the documented Keras workflow.
- Inspect generated example bounding boxes and categories.
Requirements & limits
- The README specifies Python 3 and pinned versions of Keras, TensorFlow and supporting packages.
- The example trains on a shape dataset with 224 × 224 image targets and three categories.
- Repository topics mention Theano and CNTK, but the documented requirements name TensorFlow.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Train an RCNN with the example shape dataset
Prepare the documented sample data and train an object-detection RCNN.
Before you start
- Python 3
- keras-resnet 0.2.0
- NumPy 1.16.2
- TensorFlow 1.13.1
- Keras 2.2.4
Steps
Load the training and test dictionaries with keras_rcnn.datasets.shape.load_data().
Assign category IDs and prepare training and validation data using ObjectDetectionGenerator and flow_from_dictionary, with a target size of 224 × 224.
Create an RCNN for 224 × 224 × 3 inputs and the circle, rectangle and triangle categories, then compile it with an optimizer such as the documented Adam example.
Train with fit_generator, supplying the training generator, validation data and an epoch count.
Expected outcome
A trained RCNN model using the example shape dataset and validation generator.
Guide limitations
- The documented example uses the listed dependency versions; compatibility with other versions is not specified.
- The README demonstrates sample-data training and does not describe model deployment.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 11 November 2026
- Original website title
- broadinstitute/keras-rcnn · Official homepage title · retained in its source language

