QuantiFly is a software package for automating egg counting in Drosophila genetics research. QuantiFly is optimised for counting eggs in media containing vials, captured using a digital USB camera. QuantiFly utilises an advanced computer vison and machine learning algorithm and improves upon the baseline approach . The technique uses a modified version of a density estimation approach which is a robust and accurate means of estimating numbers of objects in dense and complicated scenes.
QuantiFly is open source and the python code files are included above. QuantiFly has multiple python dependencies.
The software which is available through the following link allows immediate access to the QuantiFly technique:
A detailed manual for QuantiFly can be downloaded here:
QuantiFly has eight test datasets which can be downloaded from the following page:
Q: I have found a bug in the code how can I report it? A: Goto https://github.com/dwaithe/quantifly/issues. You can report issues or ask any questions here.
Q: I've double-clicked the software and it takes a while to load? A: The first time the software is run, it may take a little while to appear, the next time it will load almost instantly.
Q: What image types can I use with QuantiFly? A: QuantiFly is currently compatible with '.png' and '.tif' files. QuantiFly will also work '.tif' stacks but only if the colour space is RGB. If in doubt, download Fiji (fiji.sc/Downloads) and convert your image to RGB and File->SaveAs 'tif'.
Q: I notice the datasets contain image files of two types, what are the ones with dot in the name? A: These are the ground-truth images which have been produced by a human researcher to analyse the accuracy of the technique. Each image contains a variety of dots which are spatially located to represent the egg in the corresponding image. To find the overall count you just need to count the dots. This can be done using Fiji in three steps: Open the image. Click from the menu Process->Find Maxima. Check 'Preview point selection' to see the overall count.
Q: Can QuantiFly be used to count other things? A: Yes QuantiFly can be used to count just about anything of more-or-less constant size in 2D images.
Dominic Waithe 2015 (c)
 Waithe, Dominic, et al. "QuantiFly: Robust Trainable Software for Automated Drosophila Egg Counting." (2015): e0127659.
 Lempitsky, Victor, and Andrew Zisserman. "Learning to count objects in images." Advances in Neural Information Processing Systems. 2010.
 Fiaschi, Luca, et al. "Learning to count with regression forest and structured labels." Pattern Recognition (ICPR), 2012 21st International Conference on. IEEE, 2012.