Skip to content
A very minimal integration of the OpenCFU project with Cinder to automate counting bacterial colonies.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Cinder-OpenCFU is a very minimal integration of the OpenCFU project with Cinder. OpenCFU uses image-processing techniques to automate counting bacterial colonies grown in petri dishes.

Getting Started

Note that this block includes the OpenCFU project as a git submodule. Clone the block repo recursively:

git clone --recursive 

From there, take a look at the OpenCFUBasic example or create a new project through Tinderbox.


OpenCFU was created by Quentin Geissmann, with improvements by Nathananael Lampe and Mac Cowell.


Tested against the Cinder master branch (~v9.1).

Tinderbox-generated project files are known to work on:

  • Mac OS X 10.11 x64 with Xcode 7.2
  • Windows 10 x86 and x64 with VisualStudio 2015 Community Edition

Known Issues

Anything in OpenCFU that loads images with OpenCV's imagecodecs won't work, since Cinder's OpenCV library does not include this dependency. You can get around this pretty easily by using Cinder's image loading and handling functions instead. (See the basic example.)


This block depends on Cinder's OpenCV3 block, and trades OpenCV's depdendency-heavy imagecodecs implementations for Cinder's built-in image loading functionality. Beyond that, all dependencies are included in the block.

Note that this block simply builds the wrapped library from source, it does not include any pre-compiled libraries.


  • Nicer, more Cinder-esque API.
  • Asynchronous image processing.
  • Hook into Cinder's logging API.
  • Better encapsulation of OpenCFU library.
You can’t perform that action at this time.